Jump to content

[SOLVED] Cart cache/cookie | Cannot delete items in cart


Recommended Posts

Solution: My webhost provider turned off cache on my domain. Solved the problem straight away.

 

Hello to all

 

I've been searching and troubleshooting for almost 2 months now, but failed to find similar problems or how to solve!

 

When I add items to cart, go to checkout, and delete the items, they're still there when I refresh the page. They only delete completely if I force-refresh the page (ctrl+F5 or Shift+refresh).

 

When I visit other Prestashops, the problem is not there. So it is not a browser problem. It is a problem within my shop.

 

Short version:

First I was using v.1.4.4.1 (This is where the problem started)

Then I upgraded to 1.4.9 and the problem was still there.

Then I upgraded to 1.5.4 and the problem was still there.

Then I deleted all my files via FTP and cleared the database (Yes, I made backups).

Then I did a clean install of 1.4.9 and the problem was still there!

Then I deleted everything again and did a clean install of 1.5.4 and the problem persists!

 

I don't understand why, and how the error is still there even when doing a clean install of both shop and database... Please, can someone help?

 

Thank you for taking the time to read!

http://youtu.be/Gb1G4UVnkQc

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

Did you try going to: Tools -> SEO & URL's, then leave blank the field: Shop domain name for SSL

 

Tried.. No difference :(

 

If that works or not, I think the problem is with your theme or some module.... to verify this, test with the default Prestashop Theme and see if the problem still persists

 

It is a clean install of 1.5.4. No modules have been added and it is already using the default theme.

Link to comment
Share on other sites

I tested it on my development tools of IE. You see, your 'Add to Cart' won't work on Internet Explorer. It says Syntax Error. If you think the problem is not caused by Modules nor by the Theme, what have you tried differently than that? have you added any piece of code? edited anything?

 

Now server questions:

 

are your folders and sub-folders under the 755 permission?

 

Have you tried using your website on your local Machine? XAMPP?

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

I tested it on my development tools of IE. You see, your 'Add to Cart' won't work on Internet Explorer. It says Syntax Error. If you think the problem is not caused by Modules nor by the Theme, what have you tried differently than that? have you added any piece of code? edited anything?

 

No, I just installed Prestashop and the cart didn't work right off the bat. No changes has been made since installing.

 

are your folders and sub-folders under the 755 permission?

 

Yes.

 

Have you tried using your website on your local Machine? XAMPP?

 

I don't know what that is or how that works..

Link to comment
Share on other sites

One thing to check in your .htaccess file make sure you do not have a line for expires like this in red as part of your directives:

 

<IfModule mod_expires.c>

# Enable expirations

ExpiresActive On

# Default directive

ExpiresDefault "access plus 1 month"

 

Having a default directive will also cause this. Might not be the problem but worth a look

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

Have you tried using another Server? perhaps it's an issue with your server. That's why I asked you if you tested it on your local machine. Try using another server.

I'm not sure what you mean. I use a host server, and don't know how to use a different server. Forgive me, if I completely misunderstand.

 

 

One thing to check in your .htaccess file make sure you do not have a line for expires like this in red as part of your directives:

 

<IfModule mod_expires.c>

# Enable expirations

ExpiresActive On

# Default directive

ExpiresDefault "access plus 1 month"

 

Having a default directive will also cause this. Might not be the problem but worth a look

I found no such line in my access file. Thanks though!

Link to comment
Share on other sites

×
×
  • Create New...