RE: [PHP] weird php error
| From: | Matt Giddings | Date: | Sat, 02 Aug 2003 03:25:22 +0000 |
| Subject: | RE: [PHP] weird php error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158035@lists.php.net to get a copy of this message | ||
Haven't found anything yet. The login.php file is the one I'm trying to
view when I get that error. I have a second file "info.php" that works
fine, but all it contains is "<?php phpinfo(); ?>". So I know
apache/php is working, I just don't know why it isn't working with my
login script.
Matt
> -----Original Message-----
> From: Jim Lucas [mailto:phplist@zonedzero.net]
> Sent: Friday, August 01, 2003 8:02 PM
> To: Matt Giddings; 'David Nicholson'
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] weird php error
>
> yes it could be in the httpd.conf file.
>
> look in your VirtualHost block and see if something there refers to a
file
> called loging.php
>
> Jim Lucas
> ----- Original Message -----
> From: "Matt Giddings" <cen10761@centurytel.net>
> To: "'David Nicholson'" <me@djnicholson.com>
> Cc: <php-general@lists.php.net>
> Sent: Friday, August 01, 2003 4:33 PM
> Subject: RE: [PHP] weird php error
>
>
> David,
>
> This is what my php.ini file looks like and I don't seem to have any
> .htaccess files. Could it be something in the httpd.conf file that’s
> pointing to an invalid file/directory?
>
> ; Automatically add files before or after any PHP document.
> auto_prepend_file =
> auto_append_file =
>
> Matt
>
>
> > -----Original Message-----
> > From: David Nicholson [mailto:me@djnicholson.com]
> > Sent: Friday, August 01, 2003 7:13 PM
> > To: Matt Giddings
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] weird php error
> >
> > 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)
> >
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
> >
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003