RE: [PHP] I am totally nuts/banana. Please somebody help me with an include problem.

From: Date: Mon, 12 Jan 2004 13:01:04 +0000
Subject: RE: [PHP] I am totally nuts/banana. Please somebody help me with an include problem.
Groups: php.general 
Request: Send a blank email to php-general+get-174315@lists.php.net to get a copy of this message
[snip] please can somebody help me. I am going nuts. Really I am close to totally freaking out. [/snip] Sorry to hear that [snip] In the file page_dentona.class.php the first line says the following: require_once('../design/page.class.php'); The following error message comes up: Warning: main(../design/page.class.php): failed to open stream: No such file or directory in D:\dentona_new\classes\_dentonaproject\page_dentona.class.php on line 2 Fatal error: main(): Failed opening required '../design/page.class.php' (include_path='.;c:\php4\pear') in D:\dentona_new\classes\_dentonaproject\page_dentona.class.php on line 2 What could be the problem. Really I am getting grey hair. Is there ANYTHING in the php.ini file httpd.conf that could cause this? [/snip] Have you tried putting the full path in the include or require statement? Did you use Apache 2 (not a good idea yet)?

« previous php.general (#174315) next »