On 1/11/06, Adrian Maier <adrian.maier@gmail.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