phpcompta-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-support] Installation version 3.0rc2 : Warning: pg_query() [f


From: Alain Vaugham
Subject: [Phpcompta-support] Installation version 3.0rc2 : Warning: pg_query() [function.pg-query]
Date: Mon, 29 Oct 2007 19:10:11 +0100
User-agent: KMail/1.7.2

Bonjour la liste, rebonjour Dany;-)

Ce que j'ai fait :
- supprimé toutes les db préfixées test30_
- modifié setenv.sh :
"export DOMAIN=test30rc2_"
- modifié include/constant.php :
define ("domaine","test30rc2_");
- redémarré postgresql8.1
- redémarré apache2
- éclaté la version 3.0rc2 dans /var/www/phpcompta
- remis les droits www-data sur /var/www/
- relancé le setup 
- reçu les messages d'erreur ci-dessous.

Voici l'état actuel des db :
------------------------------+--------------+----------
 account_repository           | phpcompta    | LATIN1
 dossier17                    | phpcompta    | LATIN1
 mod1                         | phpcompta    | LATIN1
 mod2                         | phpcompta    | LATIN1
 phpcompta                    | phpcompta    | LATIN9
 postgres                     | postgres     | LATIN9
 template0                    | postgres     | LATIN9
 template1                    | postgres     | LATIN9
 test30rc2_account_repository | phpcompta    | LATIN1
 test30rc2_mod1               | phpcompta    | LATIN1
(10 lignes)

Voici les messages d'erreur :
Info
Vous utilisez le domaine test30rc2_
Php setting
magic_quotes_gpc: Ok
magic_quotes_runtime: Ok
include_path : ok (.:../include:addon)

php.ini est bien configuré
Database version
string(5) "8.1.9"
Database Setting

La base de données est bien configurée
Creation of test30rc2_account_repositoryCreation of Modele1
SET client_encoding = 'LATIN1';
SET standard_conforming_strings = off;

Warning: pg_query() [function.pg-query]: Query failed: ERREUR: Le paramètre 
«standard_conforming_strings» ne peut pas être changé 
in /var/www/phpcompta/include/postgres.php on line 136

Fatal error: Uncaught exception 'Exception' with message 'SQL ERROR ::: SET 
standard_conforming_strings = off ' 
in /var/www/phpcompta/include/postgres.php:138 Stack trace: 
#0 /var/www/phpcompta/html/admin/setup.php(147): ExecSql(Resource id #99, 
'SET standard_co...', false) #1 /var/www/phpcompta/html/admin/setup.php(414): 
ExecuteScript(Resource id #99, 'sql/mod1/schema...') #2 {main} thrown 
in /var/www/phpcompta/include/postgres.php on line 138


Plutôt que de chercher à réparer, ce ne serait pas plus rapide de réinstaller 
le serveur LAPP sur ma machine de test?

-- 
Cordialement

Alain Vaugham
----------------------------------------------------------------
[PUB] Signature numérique GPG de ce courrier: 0xD26D18BC

Attachment: pgpEHkmUTY4yO.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]