Skip to content

Throwing Error (Invalid Form Key. Please refresh the page.) on Form Submit in Chrome #25427

@TheRealHunzik

Description

@TheRealHunzik

Throwing Error On Form Submit in Google Chrome, i have Tried this with Different Magento Version and Couple of New Installation I tried in Mozilla Firefox its working Fine There

Preconditions (*)

  1. Installed Magento 2.x (Any Version)
  2. Browser (Google Chrome Version 75.0.3770.142 (Official Build) (64-bit))
  3. Server Locahost
  4. OS (Ubuntu 16.04)

Steps to reproduce (*)

  1. Install Magneto on Localhost
  2. Open Browser Chrome
  3. Click Sign In Or Create Account
  4. Fill Required Info
  5. Submit Form

Expected result (*)

  1. New User Will Register Or Login User to his Account

Actual result (*)

  1. Giving warning (Invalid Form Key. Please refresh the page.)
  2. Redirecting to same page

Suggested Solution:
Hello People!
Well after a long time I found the solution on Magento Stackexchange it was actually an issue with base URL
My Previous URL Was http://locahost/magento233
My New URL is http://127.0.0.1/magento233

Now it is working fine

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions