[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpcompta-support] Error at 1st login
From: |
Dany De Bontridder |
Subject: |
Re: [Phpcompta-support] Error at 1st login |
Date: |
Wed, 29 Dec 2004 10:12:56 +0100 |
On Wed, 29 Dec 2004 03:10:48 +0100
labon wrote:
> Hy
>
> I just installed postgresql server and phpcompta. Apache 2 and PHP 4
> were already on the computer.
>
> When I load the test.php page, everything goes well.
Bon honnêtement, le test.php teste le minimum.
>
> When I try to login in the php-compta system, all the users and
> password I try does'nt work.
>
9/10 c'est le register_global qui n'est pas correct (voir
http://alchimerys.be/FR/phpcompta/doc/INSTALL-fr-3.html#ss3.2) bref à
vérifier
> Also, I do not realy know what path I have to write in the file
> setenv.sh
> Here is my config
> The apache web folder is in /web/html/
> The phpcompta folder is in /web/html/compta/phpcompta/html/ (for
> exemple test.php is there)
> The postgresql server folder is in /usr/local/pgsql/
> Postgresql executables are in /usr/local/bin/
> postgresql database folder is in /usr/local/pgsql/data/pgsql
>
Voilà comme ça...
export COMPTA_HOME=/web/html/compta/phpcompta/html
export PGDATA=/usr/local/pgsql/data/pgsql
export PATH=/usr/local/bin/:$PATH
export MANPATH=/opt/psql732/man
#
# Owner of the database
#
export OWNER=phpcompta
> Last thing. I've installed phpPgAdmin in order to have a WYSIWYS view
> of postgresql.
> Same, I can not login to view the postgresql server administration. It
> tels me that my users and login are not the good one.
> But, under the shell command line, I can login as postgres user (su -
> postgres) and manipulate the server
>
> What's wrong ??????????????
La réponse est probablement dans le pg_hba.conf : tu es en trust pour le
local et en md5 quand tu passes par un service web
>
> Thanks all for your reply and excuse my poor english. I'm french.
No problem, j'espère avoir pu t'aider :-)
@+,
D.