cimmerin Posted February 19, 2013 Share Posted February 19, 2013 I need some help and it looks like there are a few more people that have this same issue but no one has helped. Impossible to add the product to the cart. textStatus: 'error' errorThrown: '' responseText: Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2013 Share Posted February 19, 2013 to get the 500 error figured out when you have ajax cart turned off.... try this: http://www.prestashop.com/forums/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/page__p__1104709#entry1104709 so as I understand it...you have a new 1.5.3.1 install... are you also using the default theme? Link to comment Share on other sites More sharing options...
cimmerin Posted February 19, 2013 Author Share Posted February 19, 2013 Yes, I have a fresh new install. I am using the free theme http://addons.prestashop.com/en/neutral/3337-prestashop-template-145.html because there was no theme included so I went and downloaded this theme from the PrestoShop add-on site. Link to comment Share on other sites More sharing options...
cimmerin Posted February 19, 2013 Author Share Posted February 19, 2013 Here is the debug error: Impossible to add product to the cart textStatus:'parserror' errorThrown:'SyntaxError: Unexpected token </ responseText: Parse error: syntax error, unexpected T_VARIBALBE, expecting T_FUNCTIION in /var/www/vhosts/theuncarvedblock.info/httpdocs/overide/classes/ Carrier.php on line 6 Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2013 Share Posted February 20, 2013 I don't understand, there was no theme included...if you downloaded from ps the 1.5.3.1 the default theme is there... a native prestashop does not have this problem unless there is a server configuration incompatibility...or one has a bad upgrade...or loaded a bad moudle/theme. my suggestion...delete whatever you have done...and put a fresh downloaded installtion on your server...with the included default theme... Link to comment Share on other sites More sharing options...
cimmerin Posted February 20, 2013 Author Share Posted February 20, 2013 Thanks for replying. The reason my download didn't have the theme included is because the only way it would download was to not include the "demo store". The download would get stuck at 75% and stop with an error EVERY time if I tried to include the demo store. I searched the forum and did not get an answer so I downloaded without the demo store. Now it seems I'm stuck. Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2013 Share Posted February 20, 2013 ave mara pues (omg in Medellin, Colombia) having the demo data should not affect having the default theme... and when you say download, you meant install... what happened to debug of the 500 error?...i.e. after you turned of ajax cart... and note, if I suggest scraping it and starting over...well I didn't have any other insight... Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2013 Share Posted February 20, 2013 if you try to re-install..and get stuck with the demo data... do it again, but switch from innodb to myiasm, see if that gets you past the place you got stuck.... Link to comment Share on other sites More sharing options...
cimmerin Posted February 20, 2013 Author Share Posted February 20, 2013 Thanks, I am using the default demo so it seems. I just check the backoffice under shipping/carriers and received the same error! Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /var/www/vhosts/theuncarvedblock.info/httpdocs/override/classes/Carrier.php on line 6. Link to comment Share on other sites More sharing options...
El Patron Posted February 20, 2013 Share Posted February 20, 2013 I would think that is just a warning...and not terribly important...remember you now have error reporting on...so you will see every error...warning to fatal Link to comment Share on other sites More sharing options...
Recommended Posts