cancel
Showing results for 
Search instead for 
Did you mean: 

'Invalid Form Key. ' when trying to save editing product from admin

Re: 'Invalid Form Key. ' when trying to save editing product from admin

no, open your product editing page, check source view, search for form_key, see if its in the <form> container, and see if there is only one form_key

Re: 'Invalid Form Key. ' when trying to save editing product from admin

Yes, there is only one: 

<input name="form_key" type="hidden" value="........." />

there are other three places in JS mentioned form_key but they four are all in the same value. 

Re: 'Invalid Form Key. ' when trying to save editing product from admin

so did you check if the form_key is within the edit form? you can also use a http debugger(like fiddler or developer tool) to see if the from key is actually submitted in the request.

Re: 'Invalid Form Key. ' when trying to save editing product from admin

Yes, I have used the fiddler to see that it is indeed submitted via the form.  

Re: 'Invalid Form Key. ' when trying to save editing product from admin

thats wierd, is there an url redirect between submit and save so the form key lost?

if you can PM your server credentials, I'd like to look into it for you.

Re: 'Invalid Form Key. ' when trying to save editing product from admin

No, I don't think it has redirect... instead it uses ajax to update the record and pops up 'Invalid Form Key. Please refresh the page.' message at the top of the page. 

Sorry, I can't send the server credentials to you Smiley Sad

Do you have any other suggestion? 

Re: 'Invalid Form Key. ' when trying to save editing product from admin

Hi

Im having the same problem when i save new produtes or try and edit "Invalid Form Key. Please refresh the page." But in adition in configeration it also dose not save anything, and magento connect dose not save download or update...

 

i have 1.7.0.2 runing on CentOS 6.6.

 

Did this get resoved? If so how? Can you please help.....

 

Franco

 

Re: 'Invalid Form Key. ' when trying to save editing product from admin

You managed to solve?

I have the same problem. 

This is driving me crazy. 

Please Help me if you solved.

Re: 'Invalid Form Key. ' when trying to save editing product from admin

Same problem here http://shop-dps.svilupponux.moreinteractive.eu/index.php/admin/index/forgotpassword/ (any other form as well).

I can't belive that increasing max_input_vars is the solution for this specific form http://www.webcroppers.com/magento-invalid-form-key-please-refresh-the-page/

Re: 'Invalid Form Key. ' when trying to save editing product from admin

Resolved with:

php shell/flushcache.php

then I discovered that the disk was full Smiley Sad