Re: weird php error
| From: | David Nicholson | Date: | Fri, 01 Aug 2003 23:12:59 +0000 |
| Subject: | Re: weird php error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158017@lists.php.net to get a copy of this message | ||
Hello,
This is a reply to an e-mail that you wrote on Sat, 2 Aug 2003 at
00:10, lines prefixed by '>' were originally written by you.
> Hello,
> I'm getting a weird warning message from a php script that I'm
> working
> on. Right now the script does not contain any include or require
> statements and is basically a very simple straight forward script.
> But
> when I try to execute via the browser I get the following error:
> Warning: Failed opening '/var/www/main/htdocs/login.php' for
inclusion
> (include_path='.:/usr/share/pear') in Unknown on line 0
> Any clues? I can send a copy of the script if anybody would
like.
You have your auto_prepend_file value set to a file that does not
exist in your php.ini file or a .htaccess file. I just tested it and
it gives this exact error.
HTH
David.
--
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: http://www.phpmachine.com/
Professional Web Development by David Nicholson
http://www.djnicholson.com/
QuizSender.com - How well do your friends actually know you?
http://www.quizsender.com/
(developed entirely in PHP)