Re: weird require() problem

From: Date: Fri, 07 Jul 2000 20:37:52 +0000
Subject: Re: weird require() problem
Groups: php.general 
Request: Send a blank email to php-general+get-5448@lists.php.net to get a copy of this message
Kevin, I have had this problem under php4. It is always because I left out a { or a } or a " or something similar in the required file. There may be a way to set the php error reporting level to get more of an error message, but I haven't tried yet. Regards, Carroll Barrett -----Original Message----- From: kev <kevin.porter@fast.no> To: php-general@lists.php.net <php-general@lists.php.net> Date: Friday, July 07, 2000 12:26 PM Subject: [PHP] weird require() problem >Hi, > >My script will not require a certain file. It has the same permissions >as every other file in the same directory, and they are all require()ed >fine. Here's the directory listing: > >-rw-r--r-- 1 nobody nobody 8937 Jul 7 12:57 gazz_signup.html > >-rw-r--r-- 1 nobody nobody 6716 Jun 3 10:10 help.html >-rw-r--r-- 1 nobody nobody 507 Jun 3 10:10 moore.html > > >The file I want to require is gazz_signup.html, but I get this error in >the source and the page stops loading: > >Failed opening required >'/usr/local/apache/htdocs/megsoc2/gen/gazz_signup.html' >(include_path='/apache/inc') in.... > >help.html gets require()ed fine, even if I change it's name to >gazz_signup.html. If I change gazz_signup's name to help.html, it fails >with the above error. > >I am completely flummoxed by this, this is bizarre. Any ideas? > >- Kev > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#5448) next »