cancel
Showing results for 
Search instead for 
Did you mean: 

Changed admin frontName now error "Invalid Form Key. Please refresh the page"

Changed admin frontName now error "Invalid Form Key. Please refresh the page"

Hi Everyone!

 

I just changed the frontName field in the local.xml file to change the URL of the admin backend.

 

I cleared the cache and refreshed it as well.


Everything seemed fine and I can login and navigate.


But when I try to go to next page of the orders page, magento gives me the error:

 

"Invalid Form Key. Please refresh the page"

 

I have reverted back to the standard 'admin' in the frontName and it has gone back to normal now.


But does anyone know why I'm getting this error and how to fix it?

 

Thanks!

4 REPLIES 4

Re: Changed admin frontName now error "Invalid Form Key. Please refresh the page"

Make sure you have cleared all your cache including clearing the var/cache folder. If you are using REDIS or Memcache make sure you start that

Magento Moderator since 2009
Keep Calm and Clear Cache!

Re: Changed admin frontName now error "Invalid Form Key. Please refresh the page"

Hi Brent - thanks for getting back to me!

 

I definitely cleared the REDIS cache with FLUSHALL

I don't think I use memcache.

But I do use OpCache.

So I'll try clearing that as well and see how I go.

 

 

Re: Changed admin frontName now error "Invalid Form Key. Please refresh the page"

Hi Brent,

 

Well .. I tried again.

This time flushed all caches including redis & opcache.

Unfortunately this is still happening Smiley Sad

 

Any ideas?

Re: Changed admin frontName now error "Invalid Form Key. Please refresh the page"

I made a detail blog for this, please check

 

Fixing invalid form key problem when accessing magento admin