Jump to content

Please Help! Impossible To Add The Product To The Cart.


Recommended Posts

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

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

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

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

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

×
×
  • Create New...