Bonjour,
apres avoir essayer d'installe plusieurs fois phpcompta, j'ai
toujours le meme message d'erreur, juste apres avoir clique sur "Pret
a commencer la mise à jour ou l'installation ?
Config ubuntu 6.06
phpcompta-3.0.1.tgz
patch-3.0.4.zip
Globalement, ca renvoie a un warning puis a un Fatal error :
Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax
error at or near "OWNED" at character 44 in
/var/www/phpcompta/include/postgres.php on line 136
puis
Fatal error: Uncaught exception 'Exception' with message 'SQL ERROR
::: ALTER SEQUENCE action_gestion_ag_id_seq OWNED BY
action_gestion.ag_id ' in /var/www/phpcompta/include/postgres.php:138
Stack trace: #0 /var/www/phpcompta/html/admin/setup.php(148):
ExecSql(Resource id #99, '???ALTER SEQUEN...', false) #1
/var/www/phpcompta/html/admin/setup.php(415): ExecuteScript(Resource
id #99, 'sql/mod1/schema...') #2 {main} thrown in
/var/www/phpcompta/include/postgres.php on line 138
Ci-dessous le debut du
message (ou tout est ok) puis la fin :
#####debut du message :
Info
Vous utilisez le domaine
Php setting
magic_quotes_gpc: Ok
magic_quotes_runtime: Ok
include_path : ok (.:../include:addon)
php.ini est bien configuré
Database version
string(6) "8.1.10"
Database Setting
La base de données est bien configurée
Creation of account_repositoryCreation of Modele1
SET client_encoding = 'LATIN1';
SET check_function_bodies = false;
SET client_min_messages = warning;
SET search_path = public, pg_catalog;
CREATE DOMAIN poste_comptable AS numeric(25,0);
CREATE FUNCTION account_add(p_id poste_comptable, p_name character
varying) RETURNS void
#####fin du message (je passe le milieu)
COMMENT ON TABLE action_gestion IS 'Action for Managing';
CREATE SEQUENCE action_gestion_ag_id_seq
START WITH 1
INCREMENT BY 1
NO MAXVALUE
NO MINVALUE
CACHE 1;
ALTER SEQUENCE action_gestion_ag_id_seq OWNED BY
action_gestion.ag_id;
Warning: pg_query() [function.pg-query]:
Query failed: ERROR: syntax
error at or near "OWNED" at character 44 in
/var/www/phpcompta/include/postgres.php on line 136
Fatal error: Uncaught exception 'Exception' with message 'SQL ERROR
::: ALTER SEQUENCE action_gestion_ag_id_seq OWNED BY
action_gestion.ag_id ' in /var/www/phpcompta/include/postgres.php:138
Stack trace: #0 /var/www/phpcompta/html/admin/setup.php(148):
ExecSql(Resource id #99, '???ALTER SEQUEN...', false) #1
/var/www/phpcompta/html/admin/setup.php(415): ExecuteScript(Resource
id #99, 'sql/mod1/schema...') #2 {main} thrown in
/var/www/phpcompta/include/postgres.php on line 138
############
La seule modif par rapport a la doc est dans la partie 5.2 et 5.3
(teléchargement) ou j'ai fait (car je suis en ligne de
commande uniquement) :
>> cd /home/alpha
>> mkdir Desktop
>> cd Desktop
>> wget http://www.phpcompta.org/download/phpcompta-3.0.1.tgz
>> tar -xvzf phpcompta-3.0.1.tgz
>> rm phpcompta-3.0.1.tgz
>> cp -Rf /home/alpha/Desktop/phpcompta
/var/www/
>> wget http://www.phpcompta.org/download/patch-3.0.4.zip
>> apt-get install unzip
>> unzip patch-3.0.4.zip
>> cp -Rf /home/alpha/Desktop/html /var/www/phpcompta/
>> cp -Rf /home/alpha/Desktop/include /var/www/phpcompta/
>> rm -rf *
Je suis un peu perdu et j'ai deja fait plusieurs install...
Quelqu'un aurait une idee ??
Jack