Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5F10C475153 for ; Sun, 18 Aug 2002 13:19:16 -0400 (EDT) Received: from krusty.pcisys.net (krusty.pcisys.net [216.229.32.178]) by postgresql.org (Postfix) with ESMTP id BB74E474E71 for ; Sun, 18 Aug 2002 13:19:15 -0400 (EDT) Received: from [208.202.106.236] (moe1.meg106-236.cos.pcisys.net [208.202.106.236]) by krusty.pcisys.net (8.12.5/8.12.5) with ESMTP id g7IHJFW7000411 for ; Sun, 18 Aug 2002 11:19:15 -0600 (MDT) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4 Date: Sun, 18 Aug 2002 11:19:14 -0600 Subject: Re: help on error message From: Keary Suska To: Postgres-PHP Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/58 X-Sequence-Number: 1403 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"