Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th November 2009, 08:42
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 141
Thanks: 2
Thanked 0 Times in 0 Posts
Default PHP Warning & PHP Notice: Undefined variable

Hello and good evening. I am seeing this error in my apache2 log files:

[Thu Nov 19 23:23:33 2009] [error] [client XXX.XXX.X.XX] PHP Warning: Call-time pass-by-reference has been deprecated in /usr/local/ispconf
ig/interface/web/monitor/show_sys_state.php on line 140, referer: http://XXX.XXX.X.XX:8080/

[Thu Nov 19 23:23:33 2009] [error] [client XXX.XXX.X.XX] PHP Notice: Undefined variable: description in /usr/local/ispconfig/interface/web/
monitor/show_sys_state.php on line 73, referer: http://XXX.XXX.X.XX:8080/

The XXX.XXX.X.XX is my local IP address on my LAN.

I have no idea why this is coming up. Can someone give me some clues as far as how to correct the error? I am not experiencing any noticeable problems with the system other than I am trying to get Boonex's Orca mod to work and it is giving me some problems with redirects when posting to a group. I dont know if this is related to the problem or not.

Thanks.
__________________
Running:

ISPConfig 3
openSUSE Linux 11.3
Reply With Quote
Sponsored Links
  #2  
Old 20th November 2009, 09:54
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

The php error reporting settings in your php.ini are set too high. Please change them to:

error_reporting = E_ALL & ~E_NOTICE
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th November 2009, 10:04
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 141
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
The php error reporting settings in your php.ini are set too high. Please change them to:

error_reporting = E_ALL & ~E_NOTICE
Got it. The default was: error_reporting = E_ALL

Thanks!
__________________
Running:

ISPConfig 3
openSUSE Linux 11.3
Reply With Quote
  #4  
Old 20th November 2009, 12:01
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 141
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
The php error reporting settings in your php.ini are set too high. Please change them to:

error_reporting = E_ALL & ~E_NOTICE
I am still receiving the error in /var/log/apache2/error_log:

[Fri Nov 20 02:58:49 2009] [error] [client XXX.XXX.X.XX] PHP Warning: Call-time pass-by-reference has been deprecated in /usr/local/ispconf
ig/interface/web/monitor/show_sys_state.php on line 140, referer: http://XXX.XXX.X.XX:8080/

I did make the change in php.ini

Thanks!
__________________
Running:

ISPConfig 3
openSUSE Linux 11.3
Reply With Quote
  #5  
Old 20th November 2009, 12:18
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Make sure that you changed all php.ini files. Most distributions have different php.ini's for mod_php, cli php and cgi php.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 20th November 2009, 12:26
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 141
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Make sure that you changed all php.ini files. Most distributions have different php.ini's for mod_php, cli php and cgi php.
Got it. That seems to have surpressed the errors after restarting apache.

Quick question: Does this actually fix the problem or simply surpress the error in php and apache error logs?
__________________
Running:

ISPConfig 3
openSUSE Linux 11.3
Reply With Quote
  #7  
Old 20th November 2009, 12:29
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
 
Default

Quote:
Quick question: Does this actually fix the problem or simply surpress the error in php and apache error logs?
There is no problem that need to be fixed. What you see there are extended script infos for php developers and not errors. The makers o the php programming language are changing the subset of functions all the time and the infos you see are for developers only to notify them that a given function might be removed in a few years in new php versions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot add Mailboxes after PHP-Update hfr Installation/Configuration 5 7th November 2009 20:09
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
[Postfix] Quota doesn't work krzysiek HOWTO-Related Questions 8 2nd March 2009 15:57
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 18:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.