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.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Call-time pass-by-reference has been deprecated


Reply


2 Posts   1448 Views

Avatar
Bambii7

Community Member, 254 Posts

11 July 2010 at 10:48pm

Hey all sorry to bother.
Getting a strange error I haven't encountered before on ss, just testing out the latest combo of ecommerce and paypal, when going to place the order with paypal I get

XML Parsing Error: junk after document element
Location: http://127.0.0.1/ss/testpaypal/checkout/OrderForm
Line Number 2, Column 1:

<b>Warning</b>: Call-time pass-by-reference has been deprecated in <b>C:\wamp\www\ss\testpaypal\ecommerce\code\forms\OrderForm.php</b>

any ideas?

Avatar
Bambii7

Community Member, 254 Posts

11 July 2010 at 11:00pm

OK disabling javascript while going through the checkout process revealed it was on line 101 of orderform.php

$this->extend('updateFields',&$fields);

Removing the & symbol removes the xml parse error, which is strange because it doesnt really seem like a xml error.