0

I moved a magento(1.5.1) site to a new server.
In local.xml I replaced
<session_save><![CDATA[memcache]]></session_save> with
<session_save><![CDATA[files]]></session_save>
the login (front and admin admin throws this message "Invalid Form Key. Please refresh the page."
Also when I add a product to the cart it does not get added is there something else I need to do?

2 Answers 2

3

Ok i got the answer i needed to update web/cookie/cookie_domain value to my new URL in the core_config_data table

2

Sounds like permissions issue and your server cannot write the session files. Can you double check permissions for Var Magento docs suggest it should be 700

8
  • i checked it has permission 777 Commented Jan 28, 2016 at 21:09
  • any other suggestions? Commented Jan 28, 2016 at 21:15
  • Inside var do you have a session folder?
    – Bobadevv
    Commented Jan 28, 2016 at 21:16
  • yes also has 777 Commented Jan 28, 2016 at 21:17
  • Mm strange is there a reason you have changed to files from memcache
    – Bobadevv
    Commented Jan 28, 2016 at 21:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.