1

I set up a development environment for a magento instance. I cloned it to my local server, changed the URLs in Database, cleared cache and deleted old sessions.

If I want to login or reset my password, I always get this message:

 "Ungültiger Form Key. Bitte aktualisieren Sie die Seite."
 "Invalid Form Key. Please refresh the current Page."

I already checked other answers. I tried to set cookie_domain and cookie_path to empty value & also disabled the use_form_key with setting it to 0. Cleared cache, checked permissions etc.

Every time I get this error.

Any ideas what I could do more?

  • have you refreshed your page? – chirag Nov 14 '16 at 12:35
  • yes, of course i refreshed the page. – develth Nov 14 '16 at 12:37
  • have you removed browser cache? – chirag Nov 14 '16 at 12:41
  • Yes, cleared Browser cache, removed all Cookies, tried different Browsers – develth Nov 14 '16 at 12:47
  • 1
    Possible duplicate of Error - Invalid Form Key – Teja Bhagavan Kollepara Nov 14 '16 at 14:24
1

I had the same problem. Opened a new Chrome Browser on Anonymous, and voi la, it worked.

0

I was just running into this issue. After searching around a while I just had a look to var/log/system.log. In my case I got:

Warning: session_start(): open(path/var/session/sess_8ba6b13f0d6426e823c9a85e27a619de, O_RDWR) failed: Disk quota exceeded (122) in /path/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 133

So the webspcae was just not enough to store another session file. I deleted some backup files from webspace, did a reload of the login-page and everthing was ok again. Maybe this helps someone..

  • Disk quota exceeded (122) can also mean that the number of files is too much. In my case I was deleted nearly all big files on the server and finally found out that just the number of files was exceeded. – sagacity Nov 27 '17 at 20:19
0

Have you checked by enabling logs from System -> Configuration -> Advanced (Developer) -> Log Settings?

One more thing you could do is to add error reporting in index.php file in Magento root. If this is PHP error, you will be able to get some clue from that.

Please let me know if you find above solution working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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