Jump to content

Impossible to add the product to the cart textSatut :'parsererror'


Recommended Posts

Hello everyone,

 

since yesterday, I've got a message error everytime I try to add product to the cart.

The same message either with safari (safari stop working then) or explorer (explorer working but no way to procceed).

I tried to undo the few changes made during the day, but I can't fix the problem.

Does anyone got an idea, I'm working with prestashop 1.5.3 .

Thank you

 

Here is the message I have:

 

 

 

Impossible to add the product to the cart.

 

textStatus: 'parsererror'

errorThrown: 'SyntaxError: Unable to parse JSON string'

responseText:

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 lt-ie6 " lang="en"> <![endif]-->

<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]-->

<!--[if IE 8]> <html class="no-js lt-ie9 ie8" lang="en"> <![endif]-->

<!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]-->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">

<head>

<title>ikhamu</title>

<meta name="description" content="Boutique propulsée par PrestaShop" />

<meta name="keywords" content="boutique, prestashop" />

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

<meta http-equiv="content-language" content="fr" />

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="index,follow" />

<link rel="icon" type="image/vnd.microsoft.icon" href="/img/favicon.ico?1363778094" />

<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico?1363778094" />

<script type="text/javascript">

var baseDir = 'http://www.ikhamu.com/';

var baseUri = '/';

var static_token = '48424bd3b6f9e5b4835a99cb4aeb51a0';

var token = 'beff8bbc31029da354f9d8fd623a00ee';

var priceDisplayPrecision = 2;

var priceDisplayMethod = 0;

var roundMode = 2;

</script>

Edited by karibou (see edit history)
Link to comment
Share on other sites

Hello,

 

After a night looking for the solution, I decided to delete everything and start my site from the beginning.

I changed to many things during the day, not sure what i did.

Thank you for your message.

Regards.

Link to comment
Share on other sites

  • 2 weeks later...

I started getting the same error below when trying to add a product to the shopping cart after upgrading from version 1.5.3.1 to 1.5.4.0 (automated upgrade, on a default theme)

 

Impossible to add the product to the cart.

 

textStatus: 'error'

errorThrown: ''

responseText:

 

Thanks in advance for any help.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...