- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Keep Calm and Clear Cache!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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