public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Maier <[email protected]>
To: [email protected]
Subject: Re: Path-ralated problem while setting up a local postgresql website
Date: Sat, 14 Jan 2006 20:32:25 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On 1/11/06, Adrian Maier <[email protected]> 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
view thread (4+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Path-ralated problem while setting up a local postgresql website
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox