Professional Web Applications Themes

[PHP] weird php error - PHP Development

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 ...

  1. #1

    Default 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 :: [url]http://www.phpmachine.com/[/url]

    Professional Web Development by David Nicholson
    [url]http://www.djnicholson.com/[/url]

    QuizSender.com - How well do your friends actually know you?
    [url]http://www.quizsender.com/[/url]
    (developed entirely in PHP)
    David Nicholson Guest

  2. #2

    Default 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 doent.
    auto_prepend_file =
    auto_append_file =

    Matt

    > -----Original Message-----
    > From: David Nicholson [mailto:medjnicholson.com]
    > Sent: Friday, August 01, 2003 7:13 PM
    > To: Matt Giddings
    > Cc: [email]php-generallists.php.net[/email]
    > 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


    Matt Giddings Guest

  3. #3

    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:phplistzonedzero.net]
    > Sent: Friday, August 01, 2003 8:02 PM
    > To: Matt Giddings; 'David Nicholson'
    > Cc: [email]php-generallists.php.net[/email]
    > 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" <cen10761centurytel.net>
    > To: "'David Nicholson'" <medjnicholson.com>
    > Cc: <php-generallists.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 doent.
    > auto_prepend_file =
    > auto_append_file =
    >
    > Matt
    >
    >
    > > -----Original Message-----
    > > From: David Nicholson [mailto:medjnicholson.com]
    > > Sent: Friday, August 01, 2003 7:13 PM
    > > To: Matt Giddings
    > > Cc: php-generallists.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


    Matt Giddings Guest

  4. #4

    Default RE: [PHP] weird php error

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

    Matt
    > -----Original Message-----
    > From: Matt Giddings [mailto:cen10761centurytel.net]
    > Sent: Friday, August 01, 2003 11:25 PM
    > To: 'Jim Lucas'; 'David Nicholson'
    > Cc: [email]php-generallists.php.net[/email]
    > 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:phplistzonedzero.net]
    > > Sent: Friday, August 01, 2003 8:02 PM
    > > To: Matt Giddings; 'David Nicholson'
    > > Cc: php-generallists.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" <cen10761centurytel.net>
    > > To: "'David Nicholson'" <medjnicholson.com>
    > > Cc: <php-generallists.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 doent.
    > > auto_prepend_file =
    > > auto_append_file =
    > >
    > > Matt
    > >
    > >
    > > > -----Original Message-----
    > > > From: David Nicholson [mailto:medjnicholson.com]
    > > > Sent: Friday, August 01, 2003 7:13 PM
    > > > To: Matt Giddings
    > > > Cc: php-generallists.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


    Matt Giddings Guest

Similar Threads

  1. Weird error--Date
    By emmim44 in forum Coldfusion Server Administration
    Replies: 1
    Last Post: September 30th, 07:34 PM
  2. Weird Error with Structures!
    By Stressed_Simon in forum Macromedia ColdFusion
    Replies: 0
    Last Post: March 28th, 05:33 PM
  3. SQL Insert - Weird Error
    By Matthew Paterson in forum PHP Development
    Replies: 4
    Last Post: November 26th, 04:39 PM
  4. Weird error
    By Shawn in forum ASP Database
    Replies: 1
    Last Post: September 23rd, 06:55 PM
  5. Weird error when starting PS
    By Chris Gunton in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 8
    Last Post: August 12th, 08:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139