PHP Warning in error log

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
calvin13
Posts: 10
Joined: Sun May 27, 2007 6:38 pm
Contact:

PHP Warning in error log

Post by calvin13 » Thu Jul 10, 2008 7:12 pm

I have the following error log:

[Thu Jul 10 10:42:07 2008] [error] [client XXXXXXXX] FastCGI: server "/home/content/html-x-httpd-php" stderr: PHP Notice: Undefined variable: title in /home/content/html/faq/index.php on line 341
[Thu Jul 10 10:42:57 2008] [error] [client XXXXXXXXX] FastCGI: server "/home/content/html-x-httpd-php" stderr: PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/content/html/faq/inc/PMF_DB/Mysql.php on line 119
[Thu Jul 10 10:44:58 2008] [error] [client XXXXXXXXX] FastCGI: server "/home/content/html-x-httpd-php" stderr: PHP Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/content/html/faq/inc/PMF_DB/Mysql.php on line 119

Version:

phpMyFAQ Version
phpMyFAQ 2.0.7
Server Software
Apache
PHP Version
PHP 4.3.11
Database Server
Mysql
Database Client Version
5.0.18
Database Server Version
5.0.45-log
Webserver Interface
CGI-FCGI

Any idea?

thanks!

tmcguire
Posts: 14
Joined: Thu Aug 21, 2008 1:42 pm
Location: Near the kitchen.

Post by tmcguire » Tue Aug 26, 2008 7:37 pm

I have several errors that also show up in the httpd-error.log here are some of them that show up when accessing a record.

Code: Select all

Tue Aug 26 13:32:11 2008] [error] PHP Notice:  Undefined index:  toptenList in /data1/faq.com/www/inc/Template.php on line 195
[Tue Aug 26 13:32:11 2008] [error] PHP Notice:  Undefined index:  toptenList in /data1/faq.com/www/inc/Template.php on line 202
[Tue Aug 26 13:32:11 2008] [error] PHP Notice:  Undefined index:  latestEntriesList in /data1/faq.com/www/inc/Template.php on line 195
[Tue Aug 26 13:32:11 2008] [error] PHP Notice:  Undefined index:  latestEntriesList in /data1/faq.com/www/inc/Template.php on line 202
[Tue Aug 26 13:32:19 2008] [error] PHP Notice:  Undefined offset:  21 in /data1/faq.com/www/inc/Captcha.php on line 444
[Tue Aug 26 13:32:19 2008] [error] PHP Notice:  Undefined offset:  27 in /data1/faq.com/www/inc/Captcha.php on line 444
[Tue Aug 26 13:32:19 2008] [error] PHP Notice:  Undefined offset:  31 in /data1/faq.com/www/inc/Captcha.php on line 444
I don't think these are urgent but over time they do bloat my error log somewhat.

edwardmaya
Posts: 1
Joined: Thu Sep 20, 2012 12:04 pm

Re: PHP Warning in error log

Post by edwardmaya » Thu Sep 20, 2012 12:07 pm

I am handling my website on a assigned administrator.
In my situation the /etc/php.ini is not available, but they allow me to use regional php.ini in each record.

MagnetKeyword Review
edwardmaya

Post Reply