Code: Select all
PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'/usr/local/share/cacti/lib/adodb/adodb-lib.inc.php' LINE NO:'537'
soloslinger
Moderators: Developers, Moderators
Code: Select all
PROGERR: ERRNO:'2048' TYPE:'' MESSAGE:'Assigning the return value of new by reference is deprecated' IN FILE:'/usr/local/share/cacti/lib/adodb/adodb-lib.inc.php' LINE NO:'537'
; - allow_call_time_pass_reference = OffCode: Select all
; It's not possible to decide to force a variable to be passed by reference ; when calling a function. The PHP 4 style to do this is by making the ; function require the relevant argument by reference. [/quote] and which version of php used? Reinhard
Code: Select all
; Whether to enable the ability to force arguments to be passed by reference
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged method of
; specifying which arguments should be passed by reference is in the function
; declaration. You're encouraged to try and turn this option Off and make
; sure your scripts work properly with it in order to ensure they will work
; with future versions of the language (you will receive a warning each time
; you use this feature, and the argument will be passed by value instead of by
; reference).
allow_call_time_pass_reference = On
Users browsing this forum: No registered users and 4 guests