I created a site locally on my machine everything is working fine, I uploaded it to my server a couple of weeks ago for testing/client review.
Everything looked good so the site was launch. The sites been up and running fine for about a month, today I tried to login to the backend but I have’nt been able to.
I’m able to access the login page fine. I insert my username and password and the page does nothing, just refreshes the page and clears the login form. I’ve tried resetting my admin password using the login form and it just keeps telling my to input a username or email.
I’ve downloaded the entire site and database installed it locally and it runs great no issues. I’ve up graded the local version to 3.1.3 it was still working fine so I replaced the live version with the new files, and still no luck.
Any suggestions?
I’m still not 100% sure what caused the problem, I’m guessing something in the core wordpress install was corrupted.
I ended up installing a fresh version of wordpress, exporting and then importing my database into a new database, and uploading the media, theme, and plugins separately which seemed to do the trick.
When you have a duplicate of a site on localhost or dev server and they have the same security keys it can cause a cookie collision.
Make a change to all of the security keys in the wp-config.php file and it will reset all sessions and cookies.
Same issue for me and i already mentioned here what worked for me.
WordPress 3.8 gives me “You must enable cookies to use WordPress.” at login