Jump to content

[solved] ! Issue with cart, critical error when clicking on "add to basket"


Recommended Posts

Hi,

 

I have a major issue within one of my sites with Prestashop, I am using PS 1.5.3.1.

 

The shop was working fine until recently, when suddenly no one can add items to the cart in the product listing. See attached image.

  • I use AJAX cart but enabling or disabling it makes no difference, you cannot add items into the cart.
  • I use SEO (friendly) urls.
  • Apache is configured properly, as far as I know, mod_rewrite is enabled.
  • No modules has been changed or updated, canonical url is enabled also.
  • Cleared all caches to verify. No changes.
  • Apache error_log shows nothing. Seems ok.
  • Firebug console display a 200 in red, with no response:
    controller=cart&add=1&ajax=true&qty=1&id_product=81480&token=9153e2c1507d67155bdb86415ed053a1

I do not use features or combinations.

 

The PHP version running in the server is: PHP 5.3.3 (cli)

Apache version is: Apache/2.2.15

 

Any ideas why can be this happening now ? as I said, it was working fine until now. May be a problem with the data in the products ?

 

Any advice will be appreciated. Comments are welcome, if you need more details I can put logs.

 

Thanks in advance.

 

Kind regards

post-389849-0-54450700-1366019709_thumb.jpeg

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

  • 3 weeks later...

hello

 

for the first you should open the console. in chrome f12 / fn+f12. Then try to add something to cart. All errors with ajax / js appears in the console log - so if you've got something there - please paste it here, it will helps us to understand the issue

Link to comment
Share on other sites

thanks for the information, so i can go ahead and mark this thread as solved

 

ps. you can also mark own threads as solved, just read instructions that i attached below (from forum rules)

 

Furthermore if you are the author of the topic for which a solution has been found, please edit your topic title to mark it as [sOLVED].

 

To mark a topic as [solved] :

- Edit the first post of your topic by clicking on the "Edit" button,

- Click on the "Use full editor" button,

- Add the "[solved]" string at the beginning of your topic title and click on the "Submit Modified Post" button.

 

we will be greatefull if you will follow these steps in the future

 

regards

 

 

---- EDIT ----

 

i've noticed that this isn't your topic, sorry! i marked as solved!

Link to comment
Share on other sites

×
×
  • Create New...