Thread: help on error message

help on error message

From
Jiaqing Wang
Date:
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


Re: help on error message

From
Keary Suska
Date:
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"