Page 1 of 1

PHP Warning in error log

Posted: Thu Jul 10, 2008 7:12 pm
by calvin13
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!

Posted: Tue Aug 26, 2008 7:37 pm
by tmcguire
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.

Re: PHP Warning in error log

Posted: Thu Sep 20, 2012 12:07 pm
by edwardmaya
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