Empty Page after entering coupon

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Empty Page after entering coupon

Postby simon.bittner@.....de » Mon Jul 16, 2012 12:20 am

Hey folks,

I get a blank side, when entering any coupon-code at the checkout Page. Using IceTheme and AwoCoupon.

http://store.matthewgraye.com

using all latest versions:
Joomla 2.5.6
Virtuemart 2.0.8c
OPC: 2.0.71
AwoCoupon: 2.0.9

Havn't found similar problems/solutions at the board/google. Thanks for your help!!
Simon
simon.bittner@.....de
 
Posts: 10
Joined: Wed Apr 11, 2012 4:43 pm

Re: Empty Page after entering coupon

Postby admin » Mon Jul 16, 2012 11:18 am

Hello Simon, please update the Awo coupon. The reason for this error is:

Parse error: syntax error, unexpected ':' in
/administrator/components/com_awocoupon/helpers/estore/virtuemart/couponhandler.php
on line 1500

the syntax seems incorrect:
original:
Code: Select all
  'coupon_id'=>count($usedcoupons)==1 ?  : '--multiple--',

we changed it to:
Code: Select all
'coupon_id'=>count($usedcoupons)==1 ? $coupon_id : '--multiple--',


Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Empty Page after entering coupon

Postby simon.bittner@.....de » Mon Jul 23, 2012 2:05 am

Hey Stan,

thanks for your support and please excuse my late answer. I didn't mention your Reply.
I changed the couponhandler.php like you said above. Sadly it isn't working. Blank Page ist gone, but now I'm forwarded to my Frontpage. When I go back to the shop, the Coupon is not added to the Cart... You can try it by youself at the Link in my first post...
simon.bittner@.....de
 
Posts: 10
Joined: Wed Apr 11, 2012 4:43 pm

Re: Empty Page after entering coupon

Postby admin » Mon Jul 23, 2012 1:54 pm

Hello Simon, your site seems to have more problems - i got 404 when i clicked the bottom cart - please check the SEF url of what params it uses. I suppose your issues are caused by SEF misconfiguration which filters the POST parameters. Please disable sef or get a better SEF router.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2