From: | Adrian Maier <adrian(dot)maier(at)gmail(dot)com> |
---|---|
To: | pgsql-www(at)postgresql(dot)org |
Subject: | Re: Path-ralated problem while setting up a local postgresql website |
Date: | 2006-01-14 18:32:25 |
Message-ID: | cd30ef8c0601141032h16a24e66t2e2679ed6552367@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On 1/11/06, Adrian Maier <adrian(dot)maier(at)gmail(dot)com> wrote:
>
> Anyway, I have read the user comments for php's include
> and found a solution:
> The problem is solved by adding at the beginning of handler.php :
> chdir(realpath(dirname(__FILE__)));
Hello again guys,
After finding the solution described above, i stumbled across another problem:
Apparently randomly some pages of the website fail to load, generating the
following errors:
[Sat Jan 14 23:40:09 2006] [error] [client 82.76.xxx.xx] PHP Notice:
Constant MAX_OPTIONS already defined in
/home/am/pgweb/portal/system/global/settings.php on line 21, referer:
http://pgsql.newsoftcontrol.ro:8888/
[Sat Jan 14 23:40:09 2006] [error] [client 82.76.xxx.xx1] PHP Notice:
Constant MIRROR_CELLS already defined in
/home/am/pgweb/portal/system/global/settings.php on line 24, referer:
http://pgsql.newsoftcontrol.ro:8888/
[Sat Jan 14 23:40:09 2006] [error] [client 82.76.xxx.xx] PHP Notice:
Constant DEBUG already defined in
/home/am/pgweb/portal/system/global/settings.php on line 27, referer:
http://pgsql.newsoftcontrol.ro:8888/
[Sat Jan 14 23:40:09 2006] [error] [client 82.76.xxx.xx] PHP Fatal
error: Cannot redeclare database_connect() (previously declared in
/home/am/pgweb/portal/system/global/functions.database.php:13) in
/home/am/pgweb/portal/system/global/functions.database.php on line 13,
referer: http://pgsql.newsoftcontrol.ro:8888/
Sometimes, if i click "refresh" several times the page finally gets loaded.
What could be done to avoid this problem ?
Best wishes,
Adrian Maier
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-01-14 19:25:02 | Re: Infrastructure monitoring |
Previous Message | John Hansen | 2006-01-14 11:36:52 | Re: Infrastructure monitoring |