cutecat Posted September 2, 2013 Share Posted September 2, 2013 anyone got this issue after you have upgraded to 1.5.5? I had tried to checkout using bankwire (I changed it to internet banking) and I am brought to a blank page!!! anyone can help? my site is this Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2013 Share Posted September 2, 2013 typically if you receive a blank page there is an underlying error that is not shown try this guide to get the error, search for the error for fix (use your fav search engine) http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-500-error-or-blank-page/ Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 (edited) when click on save and stay for product Fatal error: Using $this when not in object context in /home/mysite/public_html/tools/swift/Swift/Message/Headers.php on line 426 Edited September 2, 2013 by cutecat (see edit history) Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 when i add cart this is the error Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: JSON.parse: bad control character in string literal' responseText: { "products": [ { "id": 867, "id_image": "<br/> <b>Notice</b>: Undefined index: img_name in <b>/home/mysite/public_html/cache/smarty/compile/c9/1e/e1/c91ee143be34acd39876dab1dcfa9b57288fc4ce.file.blockcart-json.tpl.php</b> on line <b>71</b><br/> <br/> <b>Notice</b>: Trying to get property of non-object in <b>/home/mysite/public_html/cache/smarty/compile/c9/1e/e1/c91ee143be34acd39876dab1dcfa9b57288fc4ce.file.blockcart-json.tpl.php</b> on line <b>71</b><br/> http://mysite.com/9695/japanese-fluorescent-green-bikini.jpg", "link": "http://mysite.com/bikinis/867-japanese-fluorescent-green-bikini.html", "quantity": 1, "priceByLine": "SGD$34.00", "name": "Japanese Flu...", "price": "SGD$34.00", "price_float": "34", "idCombination": 0, "idAddressDelivery": 17, "hasAttributes": false, "hasCustomizedDatas": false, "customizedDatas":[ ] }], "discounts": [ ], "shippingCost": "SGD$0.00", "shippingCostFloat": "0", "wrappingCost": "SGD$0.00", "nbTotalProducts": "1", "total": "SGD$34.00", "productTotal": "SGD$34.00", "hasError" : false } Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 when i check out i also get this error Fatal error: Using $this when not in object context in /home/mysite/public_html/tools/swift/Swift/Message/Headers.php on line 426 Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2013 Share Posted September 2, 2013 ok, lets see if this thread resolves you problem http://www.prestashop.com/forums/topic/271160-solved-bug-1550-toolsswiftswiftmessageheadersphp/ Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 got that error resolved. now i still have add to cart error and also when i go into the product i get this error Warning: Function getMetaTags() is deprecated in /home/mysite/public_html/modules/pinterest/pinterest.php on line 184 in /home/mysite/public_html/classes/Tools.php on line 1953 Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2013 Share Posted September 2, 2013 turn off errors, it's just a warning and should not affect your shop Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 when i received an order. I change the status of the order. I also get this error.. sigh... Warning: include(/home/mysite/public_html/translations/en/pdf.php) [function.include]: failed to open stream: No such file or directory in /home/mysite/public_html/classes/Translate.php on line 214 Warning: include() [function.include]: Failed opening '/home/mysite/public_html/translations/en/pdf.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/classes/Translate.php on line 214 Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/classes/Translate.php:214) in /home/mysite/public_html/classes/Tools.php on line 141 Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2013 Share Posted September 2, 2013 turn off errors for now and let's see how things are Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 yeah. now everything is ok. But when i have turned on the error, and I add to cart, I do get this error. Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: JSON.parse: bad control character in string literal' responseText: { "products": [ { "id": 867, "id_image": "<br/> <b>Notice</b>: Undefined index: img_name in <b>/home/mysite/public_html/cache/smarty/compile/c9/1e/e1/c91ee143be34acd39876dab1dcfa9b57288fc4ce.file.blockcart-json.tpl.php</b> on line <b>71</b><br/> <br/> <b>Notice</b>: Trying to get property of non-object in <b>/home/mysite/public_html/cache/smarty/compile/c9/1e/e1/c91ee143be34acd39876dab1dcfa9b57288fc4ce.file.blockcart-json.tpl.php</b> on line <b>71</b><br/> http://mysite.com/9695/japanese-fluorescent-green-bikini.jpg", "link": "http://mysite.com/bikinis/867-japanese-fluorescent-green-bikini.html", "quantity": 1, "priceByLine": "SGD$34.00", "name": "Japanese Flu...", "price": "SGD$34.00", "price_float": "34", "idCombination": 0, "idAddressDelivery": 17, "hasAttributes": false, "hasCustomizedDatas": false, "customizedDatas":[ ] }], "discounts": [ ], "shippingCost": "SGD$0.00", "shippingCostFloat": "0", "wrappingCost": "SGD$0.00", "nbTotalProducts": "1", "total": "SGD$34.00", "productTotal": "SGD$34.00", "hasError" : false } Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2013 Share Posted September 2, 2013 I was able to check out all the way through to paypal without issue. Link to comment Share on other sites More sharing options...
cutecat Posted September 2, 2013 Author Share Posted September 2, 2013 ok great. but did you find the speed slow? Link to comment Share on other sites More sharing options...
El Patron Posted September 2, 2013 Share Posted September 2, 2013 seemed fine to me Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 11, 2013 Share Posted September 11, 2013 Hello, was the fix this Github patch here? https://github.com/PrestaShop/PrestaShop/commit/ffdc7b51b7f07a1919cbaaafba5a5602671fb3a8 Link to comment Share on other sites More sharing options...
El Patron Posted September 11, 2013 Share Posted September 11, 2013 Hello, was the fix this Github patch here? https://github.com/PrestaShop/PrestaShop/commit/ffdc7b51b7f07a1919cbaaafba5a5602671fb3a8 Hi Benjamin, yes, that is my understanding....it was this update that resolved the problem. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 11, 2013 Share Posted September 11, 2013 This Github fix seems to solve a lot of issues. Is this code fix related to all payment modules? Link to comment Share on other sites More sharing options...
ebonit Posted September 18, 2013 Share Posted September 18, 2013 the latest version of swift is compatible with PHP5.3 > in swift anonymous function is used in Header.php and thus Prestashop is only compatible with PHP5.3 or higher from PS1.5.5.0 I bet you still use PHP5.2 or lower Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 18, 2013 Share Posted September 18, 2013 the latest version of swift is compatible with PHP5.3 > in swift anonymous function is used in Header.php and thus Prestashop is only compatible with PHP5.3 or higher from PS1.5.5.0 I bet you still use PHP5.2 or lower Hi, according to swift, it is compatible with PHP 5.2 as well, http://swiftmailer.org/docs/overview.html Link to comment Share on other sites More sharing options...
Recommended Posts