Après avoir changé mon serveur, j\'ai réinstallé phpcompta. Restaurer les bdd éxistantes se prouve difficile.
J\'ai utilisé pg_dump dans un cron pour faire les sauve-gardes.
n° 1 : Administration -> Restaure
Restauration réussie, mais :
Code : Tout sélectionner
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
\"version\" does not exist in /var/www/phpcompta/include/postgres.php on line 139
select val from version
Warning: pg_fetch_array() expects parameter 1 to be resource, boolean given in /var/www
/phpcompta/include/postgres.php on line 458
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation \"version\" does
not exist in /var/www/phpcompta/include/postgres.php on line 139
select val from version
Warning: pg_fetch_array() expects parameter 1 to be resource, boolean given in /var/www
/phpcompta/include/postgres.php on line 458
# Patching dossier14 from the version to 5
ERROR : comment on table action is \'The different privileges\'
Quelques Warnings et un Fatal Error.
Code : Tout sélectionner
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation
\"version\" does not exist in /var/www/phpcompta/include/postgres.php on line 139
select val from version
Warning: pg_numrows(): supplied argument is not a valid PostgreSQL result resource in
/var/www/phpcompta/include/postgres.php on line 427
Votre base de données n\'est pas à jour, cliquez ici pour appliquer le patch
Code : Tout sélectionner
Warning: pg_query_params() [function.pg-query-params]: Query failed: ERROR:
relation \"todo_list\" does not exist in /var/www/phpcompta/include/postgres.php on line 167
Fatal error: Uncaught exception \'Exception\' with message \' SQL ERROR select tl_id,
tl_title,tl_desc,to_char( tl_date,\'DD.MM.YYYY\') as tl_date from todo_list where
use_login=$1 order by tl_date descarray array ( 0 => \'phpcompta\', )\' in /var/www
/phpcompta/include/postgres.php:171 Stack trace: #0 /var/www/phpcompta/include
/class_todo_list.php(143): ExecSqlParam(Resource id #29, \'select tl_id, t...\', Array)
#1 /var/www/phpcompta/html/access.php(69): Todo_List->load_all() #2 {main} thrown in
/var/www/phpcompta/include/postgres.php on line 171
Code : Tout sélectionner
Patching 13 bb2009
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation \"version\"
does not exist in /var/www/phpcompta/include/postgres.php on line 139
select val from version
Warning: pg_fetch_array() expects parameter 1 to be resource, boolean given in
/var/www/phpcompta/include/postgres.php on line 458
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation \"version\"
does not exist in /var/www/phpcompta/include/postgres.php on line 139
select val from version
Warning: pg_fetch_array() expects parameter 1 to be resource, boolean given in
/var/www/phpcompta/include/postgres.php on line 458
* Patching 13 bb2009 from the version to 5
ERROR : comment on table action is \'The different privileges\'
Merci !
Skipper