Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Ecommerce Error

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: 1358 Views
  • Radweb
    Avatar
    18 Posts

    Ecommerce Error Link to this post

    Hi,

    I have installed silverstripe and all is good, working like a dream except i get this error when you first visit the site: www.solidreptiles.co.uk. if you hit refresh it dissappears.

    the error is as follows:

    "Warning: 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 /home/.skidder/solidtech/solidreptiles.co.uk/ecommerce/code/DPS.php on line 260".

    I understand what the error is asking me to do, but i dont know how to do it. is it asking me to edit my php.ini file, if so how? im using hosting from dreamhost.

    or if its asking me to edit that dps.php file (which i have opened), what do i need to do to it???

    Thanks in advance for all your help.
    James

  • trevor
    Avatar
    53 Posts

    Re: Ecommerce Error Link to this post

    Hi,

    try adding

    php_flag allow_call_time_pass_reference 1

    to your .htaccess file in the root directory of the site.

    HTH

    Trevor

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