Page 1 of 1

CartMadeSimple : deprecated ?

Posted: Wed Nov 04, 2009 1:12 pm
by seensite
Hi,

I get the following warning on the frontend by clic on "Check out" :

Warning: Call-time pass-by-reference has been deprecated in /modules/CartMadeSimple/action.orderaddress.php on line 52
Warning: Call-time pass-by-reference has been deprecated in /modules/CartMadeSimple/action.orderaddress.php on line 52
Warning: Call-time pass-by-reference has been deprecated in /modules/CartMadeSimple/action.orderaddress.php on line 55


CMSMS-MLE 1.6.6
CartMadeSimple 0.2.5
PaymentMadeSimple 1.0.5
ShopMadeSimple 0.2.6

Any idea of what is deprecated in CartMS ?

Edit:

When installing CartMS via ModuleManager I get this :

Notice: Undefined variable: taboptarray in /modules/CartMadeSimple/library/orders.api.php on line 55

Notice: Undefined variable: taboptarray in /modules/CartMadeSimple/library/orders.api.php on line 86

Notice: Undefined variable: taboptarray in /modules/CartMadeSimple/library/orders.api.php on line 108

Notice: Undefined variable: taboptarray in /modules/CartMadeSimple/library/orders.api.php on line 126

Notice: Undefined variable: taboptarray in /modules/CartMadeSimple/library/orders.api.php on line 139


And there is the same message as above on the frontend when checking out.

Re: CartMadeSimple : deprecated ?

Posted: Wed Nov 04, 2009 2:29 pm
by alby
seensite wrote: I get the following warning on the frontend by clic on "Check out" :
And there is the same message as above on the frontend when checking out.
This is not MLE related but if you googling "Warning: Call-time pass-by-reference has been deprecated" you have the solution(s)

Alby

Re: CartMadeSimple : deprecated ?

Posted: Wed Nov 04, 2009 3:23 pm
by seensite
Thank you very much Alby,

I googled and the solutions I found were to erase "&" symbol in concerned lines mentioned in my first post. As I modified the CartMS and PaymentMS .php files, isnt'it a MLE/CMSMS related bug ? Do you mean it is a module related problem ?

Now warnings and notices don't show no more, but the checkout don't lead to Paypal as well...

Re: CartMadeSimple : deprecated ?

Posted: Wed Nov 04, 2009 3:30 pm
by alby
seensite wrote: Now warnings and notices don't show no more, but the checkout don't lead to Paypal as well...
Maybe & was necessary for variable return.
If you have access to php.ini set allow_call_time_pass_reference to true and insert a bug report in module forge

Alby

Re: CartMadeSimple : deprecated ?

Posted: Fri Nov 06, 2009 8:03 am
by seensite
Thank you Alby,

I don't have access to php.ini, so I switched for the other E-Commerce package.

Best regards

Re: CartMadeSimple : deprecated ?

Posted: Thu Nov 12, 2009 9:50 am
by map_1961
Hi there.

I have the same problems. Error messages in CartMadeSImpe when clicking on the cart like this:


Warning: Call-time pass-by-reference has been deprecated in /mnt/web1/51/18/5986918/htdocs/modules/CartMadeSimple/action.orderaddress.php on line 52

Warning: Call-time pass-by-reference has been deprecated in /mnt/web1/51/18/5986918/htdocs/modules/CartMadeSimple/action.orderaddress.php on line 52

Warning: Call-time pass-by-reference has been deprecated in /mnt/web1/51/18/5986918/htdocs/modules/CartMadeSimple/action.orderaddress.php on line 55

Php.ini is set on: allow_call_time_pass_reference = On.
The php.ini is present in the modules/CartMadeSimple folder.

PHP Version is 5.2.10 - CMSMS 1.6.6. CartMadeSimple is 0.2.5.

Thanks

map_1961