From: | Adrian Maier <adrian(dot)maier(at)gmail(dot)com> |
---|---|
To: | pgsql-www(at)postgresql(dot)org |
Subject: | Path-ralated problem while setting up a local postgresql website |
Date: | 2006-01-10 21:16:49 |
Message-ID: | cd30ef8c0601101316j1a7919e9gda74f0000c82a3da@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Hello,
I am unable to run a local copy of the PostgreSQL website. The errors I'm
getting are:
[Wed Jan 11 02:24:45 2006] [error] [client 192.168.0.2] PHP Warning:
main(./global/settings.php): failed to open stream: No such file or
directory in /home/am/pgweb/portal/system/handler.php on line 8
[Wed Jan 11 02:24:45 2006] [error] [client 192.168.0.2] PHP Fatal
error: main(): Failed opening required './global/settings.php'
(include_path='.:/usr/pkg/lib/php/') in
/home/am/pgweb/portal/system/handler.php on line 8
It seems to be unable to include the files based on a relative path:
I modified in handler.php the line :
require_once './global/settings.php';
to
require_once '/home/am/pgweb/portal/global/settings.php';
The error disappears, but it complains about the next require_once.
This is probably a configuration issue.
Any ideas about what can be done to fix the problem?
(it is very ugly to modify all the php files to use full paths ... )
Cheers,
Adrian Maier
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2006-01-10 21:57:14 | Re: Path-ralated problem while setting up a local postgresql website |
Previous Message | Dave Page | 2006-01-10 20:59:17 | Re: Sourceforge and torrenst updated |