help on error message
am 18.08.2002 02:51:05 von Jiaqing Wang
Hi,
Does anybody know why I got this error message in apache error log every
time I try to include DB.php in my script register.cgi(it's actually php).
my php's installation directory
is /opt/WWTSphp and file DB.php is under /opt/WWTSphp/lib/php is universal
readable. I'm running php 4.2.1 connecting to postgresql.
[Sat Aug 17 17:00:37 2002] [error] PHP Warning: Failed opening
'register.cgi' for inclusion (include_path='/opt/WWTSphp/lib/php') in
Unknown on line 0
do a "ls -l /opt/WWTSphp/lib/php/DB.php" got
-rw-r--r-- 1 root other 27819 May 1 00:24
/opt/WWTSphp/lib/php/DB.php
it doesn't appear to be a permission problem. any help is appreciated. BTW,
I'm runing everything on SUN ultrasparc 30 with Solaris 7.
jjw
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
Re: help on error message
am 18.08.2002 19:19:14 von Keary Suska
on 8/17/02 6:51 PM, jjw72@swbell.net purportedly said:
> Hi,
>
> Does anybody know why I got this error message in apache error log every
> time I try to include DB.php in my script register.cgi(it's actually php).
> my php's installation directory
> is /opt/WWTSphp and file DB.php is under /opt/WWTSphp/lib/php is universal
> readable. I'm running php 4.2.1 connecting to postgresql.
>
> [Sat Aug 17 17:00:37 2002] [error] PHP Warning: Failed opening
> 'register.cgi' for inclusion (include_path='/opt/WWTSphp/lib/php') in
> Unknown on line 0
>
> do a "ls -l /opt/WWTSphp/lib/php/DB.php" got
> -rw-r--r-- 1 root other 27819 May 1 00:24
> /opt/WWTSphp/lib/php/DB.php
>
> it doesn't appear to be a permission problem. any help is appreciated. BTW,
> I'm runing everything on SUN ultrasparc 30 with Solaris 7.
The error message is pretty clear. The problem is that there is an include()
call to 'register.cgi', which cannot be found. Sounds like you have a
circular include somewhere.
Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly