Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

HELP: set allow_call_time_pass_reference to true in your INI file


Reply

3 Posts   3899 Views

Avatar
evsionlab.com

29 March 2008 at 5:49am 5 Posts

I get the following intermittently when I access my blog/forum. Anyone know why? Thanks

<b>Warning</b>: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_parse_into_struct(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in <b>/home/community/ecommerce/code/DPS.php</b> on line <b>260</b><br />

Avatar
evsionlab.com

31 March 2008 at 11:07pm (Last edited: 31 March 2008 11:07pm), 5 Posts

nobody knows? =( time for wordpress.

Avatar
fogster

7 June 2008 at 8:51am Community Member, 4 Posts

My php.ini file includes the following comment:

; 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).

Seems to me that it's a feature that SilverStripe uses that shouldn't really be on... (Does it work if you turn it off? I just installed and it 'suggested' I enable it, so I did... Haven't tried without it.)