#1  
Old 12th March 2010, 20:10
korbynn korbynn is offline
Member
 
Join Date: May 2009
Posts: 48
Thanks: 1
Thanked 2 Times in 2 Posts
Default Coding error

Is this a coding error?

[Thu Mar 11 22:09:11 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Thu Mar 11 22:12:57 2010] [error] [client 154.5.203.43] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable c
all-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not suppor
t this any longer. in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 140, referer: http://korbynn.net:8080/
[Thu Mar 11 22:12:57 2010] [error] [client 154.5.203.43] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable c
t this any longer. in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 140, referer: http://korbynn.net:8080/
t this any longer. in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 140, referer: http://korbynn.net:8080/
[Thu Mar 11 22:14:31 2010] [notice] caught SIGTERM, shutting down

I have upgraded to ISPConfig 3.2
Reply With Quote
  #2  
Old 12th March 2010, 20:32
korbynn korbynn is offline
Member
 
Join Date: May 2009
Posts: 48
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Removed the &'s on the variables _processDb

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

to

Line 140: _processDbState($record['type'], $serverId, $serverState, $messages);

because the function is defined as:

function _processDbState($type, $serverId, &$serverState, &$messages)

Error messages are no longer in the error_log.
Reply With Quote
The Following User Says Thank You to korbynn For This Useful Post:
till (12th March 2010)
  #3  
Old 12th March 2010, 20:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 22,731
Thanks: 385
Thanked 2,292 Times in 1,713 Posts
Default

Quote:
Is this a coding error?
No, this are no error messages. The language definition of the PHP programming language is changing from version to version. What you got are no errors, it were warnings to inform developers that specific features will get removed in future PHP versions. To avoid these messages, please set the error level in the php.ini to show only errors and not warnings.

We might modify the code so that these warnings do not appear in a future version of ispconfig, but this needs testing on many older PHP releases to ensure that it does not break any code.
__________________
Till Brehm
--
http://www.projektfarm.com/en/
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
CP210x USB to UART Bridge Linux VCP Drivers(SILICON Labs) perfectpol7 Kernel Questions 12 12th April 2010 19:46
Postfix + DKIM - Error in log donb01 Server Operation 2 24th July 2008 17:59
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
64-bit Debian 3.1 Install Issue naruto Installation/Configuration 14 5th September 2006 04:12
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 16:14


All times are GMT +2. The time now is 05:17.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Sponsored Links: Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com

One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com

One number. one voicemail. Seize the lead with Sprint. Learn more

AT&T Synaptic Compute as a Service. Boost your power on demand.

Trial: IBM Cognos Express Reporting, Analysis & Planning

Learn benefits of Simpana software.
View the Gartner Video

Sprint 4G - The Ultimate Mobile Broadband
Click here

SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial