Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » HELP: set allow_call_time_pass_reference to true in your INI file

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

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

Page: 1
Go to End
Author Topic: 3883 Views
  • evsionlab.com
    Avatar
    5 Posts

    HELP: set allow_call_time_pass_reference to true in your INI file Link to this post

    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 />

  • evsionlab.com
    Avatar
    5 Posts

    Re: HELP: set allow_call_time_pass_reference to true in your INI file Link to this post

    nobody knows? =( time for wordpress.

  • fogster
    Avatar
    Community Member
    4 Posts

    Re: HELP: set allow_call_time_pass_reference to true in your INI file Link to this post

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

    3883 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.