kine Posted October 9, 2014 Share Posted October 9, 2014 (edited) Hi, It happens oddly in prestashop 1.6.0.9 and I have no idea how to fix it: - When I generate a discount coupon from the BO, if I am logged in as a customer, don´t let me add the product to the basket, it gets caught thinking, and if I click on any page, the FO goes blank. This problem is solved if I delete the coupon discount from the BO, the store is working again normally. But if I generate coupon discount but I'm not logged in as a customer, the store works fine .... What might cause this incompatibility between the discount coupons and being logged in as a customer? Where may be the fault? Thank you very much in advance. Edited October 12, 2014 by kine (see edit history) Link to comment Share on other sites More sharing options...
kine Posted October 12, 2014 Author Share Posted October 12, 2014 Any help? I have no idea about what is the problem... Link to comment Share on other sites More sharing options...
El Patron Posted October 12, 2014 Share Posted October 12, 2014 'whenever' your get blank page or 500 error, you need to get real error which is hidden naturally by php/hosting config. use this to run on errors, reproduce issue and search for solution http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
kine Posted October 12, 2014 Author Share Posted October 12, 2014 (edited) 'whenever' your get blank page or 500 error, you need to get real error which is hidden naturally by php/hosting config. use this to run on errors, reproduce issue and search for solution http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Dear El Patron, Thank you for your answer. This is the error: Warning: trim() expects parameter 1 to be string, array given in /var/www/vhosts/website.com/httpdocs/classes/Tools.php on line 1141 Any help? Thank you very much! Edited October 12, 2014 by kine (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 12, 2014 Share Posted October 12, 2014 I don't think that is an issue. did you recreate this with errors enabled?: " When I generate a discount coupon from the BO, if I am logged in as a customer, don´t let me add the product to the basket, it gets caught thinking, and if I click on any page, the FO goes blank. " Link to comment Share on other sites More sharing options...
kine Posted October 12, 2014 Author Share Posted October 12, 2014 I don't think that is an issue. did you recreate this with errors enabled?: " When I generate a discount coupon from the BO, if I am logged in as a customer, don´t let me add the product to the basket, it gets caught thinking, and if I click on any page, the FO goes blank. " Mmmmm I think I did it well now. This is the problem: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /var/www/vhosts/website.com/httpdocs/modules/avalaratax/backward_compatibility/backward.php on line 33 Any help? Thank you! Link to comment Share on other sites More sharing options...
kine Posted October 12, 2014 Author Share Posted October 12, 2014 Mmmmm I think I did it well now. This is the problem: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /var/www/vhosts/website.com/httpdocs/modules/avalaratax/backward_compatibility/backward.php on line 33 Any help? Thank you! Thank you! I desactivated the module Avalara - AvaTax v3.5.2 - by PrestaShop. And now the shop works well. 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 13, 2014 Share Posted October 13, 2014 Thank you! I desactivated the module Avalara - AvaTax v3.5.2 - by PrestaShop. And now the shop works well. that's great news!....thanks for letting us know...please visit and help others with your experiences. 1 Link to comment Share on other sites More sharing options...
Recommended Posts