Magento: Enable Cookies Problem
Problem:
When I try to add products to shopping cart, I get redirected to enable-cookies CMS page. Similarly, when I try to login as customer from customer account login, I get redirected to the same (enable-cookies) page.
The enable-cookies page asks me to enable cookies in my browser. The message says “Please enable cookies in your web browser to continue“. The page describes about Cookies and shows step-by-step instruction to enable cookies in browsers like Internet Explorer, Mozilla Firefox, and Opera. :)
When I check my browser options, I see that Cookies are enabled in my browser.
Solution:
I googled the web and found two solutions. Here are they:-
1) Increase Cookie Lifetime
– Go to System –> Configuration –> General –> Web –> Session Cookie Management –> Cookie Lifetime = 5400
– By default, Cookie Lifetime = 3600. You can make it more than 5400 and try if it works.
2) Disable redirect to enable-cookies CMS page
– Go to System –> Configuration –> General –> Web –> Browser Capabilities Detection –> Redirect to CMS-page if cookies are disabled = No
The second one has helped me. After implementing the second solution, I was able to add products to shopping cart page and was also able to login as customer.
Hope this helps and thanks for reading.
Related posts:
- Magento: Create, read, delete cookie
- Magento: How to enable backorders?
- Enable Search Engine Friendly (SEF) URLs in Joomla!
- Magento: How to enable maintenance mode?
- jQuery: Grey out background and preview image as popup
- Google Analytics: New & Returning Visits, Visitors, Unique & Absolutely Unique Visitors, Pageviews & Unique Pageviews (Q & A)
- Magento: Show/Hide Demo Store Notice
- Magento: Writing Custom Log Message
- Website statistic (User Information) in Javascript
- Magento Admin login problem
