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 2nd December 2010, 17:21
Sanjay06 Sanjay06 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error on IspConfig 3.0.3 and Php 5.3.3

Hi all,

Ispconfig is working very well with PHP 5.2.x

But I have updated PHP, to PHP 5.3.3 and now, i have a lot of PHP Notices popping on Ispconfig.
BUT, the functions of the panel are working fine.

I have changed, in the PHP.INI =>

error_reporting = E_ALL & ~E_DEPRECATED
TO
error_reporting = E_ALL & ~E_NOTICE

And now ... i have no errors, BUT, the Monitor Tab is no longer working.

in my php log, i have :

[02-Dec-2010 16:34:22] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:34:22] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:34:27] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:34:27] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:51:31] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:51:31] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:51:34] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:51:34] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:54:27] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:54:30] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199
[02-Dec-2010 16:54:34] PHP Deprecated: Call-time pass-by-reference has been deprecated in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 199


line 199 : _processDbState($record['type'], $serverId, &$serverState, &$messages);

I will try to put :
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE

To correct the problem, but i don't think that is a smart solution.

Regards
Sanjay
Reply With Quote
Sponsored Links
  #2  
Old 2nd December 2010, 20:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

ISPConfig requires the following error reporting setting:

error_reporting = E_ALL & ~E_NOTICE

It works with that setting for all php 5.x releases.

If you have problems with the monitor, then you have most likely not all required php modules installed. Please ensure that you installed all php modules as described in the perfect setup guide.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd December 2010, 10:19
Sanjay06 Sanjay06 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I have all required php modules.

Difference between php 5.2 / 5.3, there is a lot of change.

If a function is "deprecated", it's not a required module.

&$serverState => must be $serverState in PHP 5.3, pass by reference is no longer working in PHP 5.3
Reply With Quote
  #4  
Old 3rd December 2010, 10:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
 
Default

Quote:
Difference between php 5.2 / 5.3, there is a lot of change.
I know and ispconfig is developed under php 5.3 for some time now and working fine.

Quote:
If a function is "deprecated", it's not a required module.
I know that You get this notice because you had set the wrong error level.

Deprecated means that you should not use a function anymore as it will be removed in future versions, it does not mean that a function is not working anymore...

Quote:
&$serverState => must be $serverState in PHP 5.3, pass by reference is no longer working in PHP 5.3
Thats wrong. It still works in php 5.3 but will be removed in a future version and for that reason php 5.3 will throw a deprecated warning. See php manual.
__________________
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
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 13:22
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
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 06:59.


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