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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Ecommerce Error


Go to End


2 Posts   2205 Views

Avatar
Radweb

18 Posts

19 December 2007 at 8:26am

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

Avatar
trevor

53 Posts

22 December 2007 at 8:57am

Hi,

try adding

php_flag allow_call_time_pass_reference 1

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

HTH

Trevor