Problème avec comptes, qualifications...
Envoyé par: foxecho ()
Date: jeudi 11 décembre 2008 13:40:08

Bonjour, lorsque je souhaite créer un compte club par exemple ou consulter mes
qualifications je tombe sur un message d'erreur de ce type, on me dit sur le BTS que c'est un pb de configuration, mais laquelle ? Merci.

XML_Query2XML_ConfigException Object ( [_configParents:protected] =>
[_details:protected] => [cause:protected] => [_trace:private] =>
[message:protected] => "idColumn" was not specified using a string, an
array or an instance of XML_Query2XML_Callback [string:private] =>
[code:protected] => 0 [file:protected] =>
/home4/k/kilosierra/www/of2/pear/XML/Query2XML.php [line:protected] =>
1418 [trace:private] => Array ( [0] => Array ( [file] =>
/home4/k/kilosierra/www/of2/pear/XML/Query2XML.php [line] => 726
[function] => _applyColumnStringToRecord [class] => XML_Query2XML [type]
=> -> [args] => Array ( [0] => [1] => Array ( [account_id] => 1
[payment_allowed] => 0 [order_num] => 0 [account_activated] => 1
[account_name] => COMPTE CLUB 1 [account_export_account] => ) [2] =>
idColumn ) ) [1] => Array ( [file] =>
/home4/k/kilosierra/www/of2/pear/XML/Query2XML.php [line] => 542
[function] => _getNestedXMLRecord [class] => XML_Query2XML [type] => ->
[args] => Array ( [0] => Array ( [account_id] => 1 [payment_allowed] => 0
[order_num] => 0 [account_activated] => 1 [account_name] => COMPTE CLUB 1
[account_export_account] => ) [1] => Array ( [rootTag] => account_clubs
[rowTag] => account_club [idColumn] => [elements] => Array ( [1] =>
payment_allowed [2] => order_num [account] => Array ( [rowTag] => account
[idColumn] => account_activated [elements] => Array ( [activated] =>
account_activated [name] => account_name [export_account] =>
account_export_account ) [attributes] => Array ( ) ) ) [attributes] =>
Array ( [0] => account_id ) [encoder] => [sql] => SELECT account_club.*,
account.activated AS account_activated, account.name AS account_name,
account.export_account AS account_export_account FROM account_club LEFT
JOIN account AS account ON (account.id=account_club.account_id) WHERE
activated=1 ORDER BY order_num [sql_options] => Array ( [uncached] => 1 )
) [2] => DOMDocument Object ( ) [3] => Array ( ) ) ) [2] => Array ( [file]
=> /home4/k/kilosierra/www/of2/classes/GenericDBAccess.php [line] => 1290
[function] => getXML [class] => XML_Query2XML [type] => -> [args] => Array
( [0] => SELECT account_club.*, account.activated AS account_activated,
account.name AS account_name, account.export_account AS
account_export_account FROM account_club LEFT JOIN account AS account ON
(account.id=account_club.account_id) WHERE activated=1 ORDER BY order_num
[1] => Array ( [rootTag] => account_clubs [rowTag] => account_club
[idColumn] => [elements] => Array ( [1] => payment_allowed [2] =>
order_num [account] => Array ( [rowTag] => account [idColumn] =>
account_activated [elements] => Array ( [activated] => account_activated
[name] => account_name [export_account] => account_export_account )
[attributes] => Array ( ) ) ) [attributes] => Array ( [0] => account_id )
[encoder] => ) ) ) [3] => Array ( [file] =>
/home4/k/kilosierra/www/of2/admin/accounts/manageAccountClub.php [line] =>
42 [function] => table2Dom [class] => GenericDBAccess [type] => -> [args]
=> Array ( [0] => WHERE activated=1 ) ) [4] => Array ( [file] =>
/home4/k/kilosierra/www/of2/admin/accounts/manageAccountAddModify.php
[line] => 100 [args] => Array ( [0] =>
/home4/k/kilosierra/www/of2/admin/accounts/manageAccountClub.php )
[function] => include ) [5] => Array ( [file] =>
/home4/k/kilosierra/www/of2/classes/Dispatcher.php [line] => 159 [args] =>
Array ( [0] =>
/home4/k/kilosierra/www/of2/admin/accounts/manageAccountAddModify.php )
[function] => require ) [6] => Array ( [file] =>
/home4/k/kilosierra/www/of2/index.php [line] => 60 [function] =>
displayPage [class] => Dispatcher [type] => -> [args] => Array ( ) ) ) )

Options: RépondreCiter
Re: Problème avec comptes, qualifications...
Envoyé par: foxecho ()
Date: jeudi 11 décembre 2008 14:14:47

Problème réglé --> problème de version fichiers pears

Options: RépondreCiter
Re: Problème avec comptes, qualifications...
Envoyé par: shrek ()
Date: dimanche 13 novembre 2011 23:01:52

Bonjour,

Je rencontre la même anomalie.
Pourriez-vous m'indiquer quel package PEAR était concerné et la version que vous utilisez ?
J'ai suivi les versions PEAR recommandées pour OF2.0.

Merci.

Options: RépondreCiter
Re: Problème avec comptes, qualifications...
Envoyé par: claratte ()
Date: mardi 15 novembre 2011 16:58:10

Bonjour,

Merci également de nous communiquer cette information pour que nous mettions à jour le wiki avec les bonnes versions PEAR.

Christophe LARATTE
OpenFlyers manager

Options: RépondreCiter
Re: Problème avec comptes, qualifications...
Envoyé par: shrek ()
Date: samedi 19 novembre 2011 23:32:20

Je n'ai pas trouvé la solution, mais l'erreur est générée par les deux lignes suivantes, dans GenericDBAccess.php :
//$primaryKeyValue = $db->lastInsertId( $this->tableName, $primaryKeyName );
//$this->row[$primaryKeyName] = $primaryKeyValue;

Options: RépondreCiter
Re: Problème avec comptes, qualifications...
Envoyé par: claratte ()
Date: mardi 22 novembre 2011 11:31:51

Bonjour,

Apparemment, le problème vient de la version des certains packages PEAR.

Il vous faut donc les essayer et lorsque vous aurez trouvé les bonnes versions nous les communiquer pour que nous mettions à jour la documentation.

Cordialement,

Christophe LARATTE
OpenFlyers manager

Options: RépondreCiter


Seuls les utilisateurs enregistrés peuvent poster des messages dans ce forum.
This forum powered by Phorum.