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) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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 thats 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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 7:13 PM To: Matt Giddings Cc: [EMAIL PROTECTED] 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
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 [EMAIL PROTECTED] To: 'David Nicholson' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] 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 thats 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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 7:13 PM To: Matt Giddings Cc: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 8:02 PM To: Matt Giddings; 'David Nicholson' Cc: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] To: 'David Nicholson' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] 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 thats 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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 7:13 PM To: Matt Giddings Cc: [EMAIL PROTECTED] 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
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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 11:25 PM To: 'Jim Lucas'; 'David Nicholson' Cc: [EMAIL PROTECTED] 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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 8:02 PM To: Matt Giddings; 'David Nicholson' Cc: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] To: 'David Nicholson' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] 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 thats 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:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 7:13 PM To: Matt Giddings Cc: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php