[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpcompta-support] Pb install phpcompta
From: |
tp |
Subject: |
Re: [Phpcompta-support] Pb install phpcompta |
Date: |
Wed, 12 Dec 2007 18:16:41 +0100 |
User-agent: |
RoundCube Webmail/0.1b |
Bonsoir,
J'ai reinstalle depuis le debut pour avoir une installation parfaite avec documentation.
Je vous confirme qu'avec la version Postgresql-8.2, j'ai réussi l'installation; installation non aboutie avec Postgresql-8.1
Synthèse :
ubuntu 6.06
phpcompta-3.0.1.tgz
patch-3.0.4.zip
Postgresql-8.1
php5, etc.
=> Je n'arrive pas a installer malgre plusieurs essais :-(
ubuntu 7.04
phpcompta-3.0.1.tgz
patch-3.0.4.zip
Postgresql-8.2
php5, etc.
=> Installation reussie ;-)
Avec mes remerciements pour votre response rapide et efficace.
Je vais enfin pouvoir rentrer dedans ;-)
Si je peux me permettre, il me semblerait assez, voire tres utile de mettre un avertissement sur le site concernant la necessite de travailler avec postgresql-8.2 . Nulle part, je n'ai eu cette reference; a un seul endroit ou c'est "conseille". Comme la doc est en postgresql-8.1, on insiste, on reinstalle, on recommence et puis on recommence encore pour etre sur .... Ca m'a pris une eternite ... C'est dommage si ca arrive a d'autre alors que votre solution semble particulierement interessante.
Amicalement
Jack
Bonjour,
Vous utilisez une version 8.1 de postgresql il vous faut l'upgrader à 8.2,
les packages existent pour ubuntu 7.04. Hm... Je vais quand même corriger ce
maudits script.
Voila, tu installes ce fichier phpcompta/html/admin/sql/mod1
@+,
..D..
am writes:
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