Bluehost.com Web Hosting $6.95

RE: [PHP] weird php error

This is a discussion on RE: [PHP] weird php error within the PHP General forums, part of the PHP Programming Forums category; Haven't found anything yet. The login.php file is the one I'm trying to view when I get ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-02-2003
Matt Giddings
 
Posts: n/a
Default RE: [PHP] weird php error

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


Reply With Quote
  #2 (permalink)  
Old 08-02-2003
Matt Giddings
 
Posts: n/a
Default RE: [PHP] weird php error

Duh, I figured it out. I had the permissions screwed up on the file.
Thanks for your help and sorry for bothering everybody else with my
ignorance.

Matt

> -----Original Message-----
> From: Matt Giddings [mailto:cen10761@centurytel.net]
> Sent: Friday, August 01, 2003 11:25 PM
> To: 'Jim Lucas'; 'David Nicholson'
> Cc: php-general@lists.php.net
> Subject: RE: [php] weird php error
>
> 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
>
>
>
> --
> 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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0