I can't log in to the administrator, the page just reloads
A cookie or session problem. Clear your browser cookies, empty the session table, and check Cookie Domain in configuration.php is blank.
Why it happens
You type the right password, the page reloads, and you are still on the login form: Joomla didn't get to keep your session. The login cookie was rejected, or the session couldn't be stored.
Fix it, step by step
- Clear the site's cookies in your browser, or try a private window.
- In
configuration.php, setcookie_domainandcookie_pathto empty, andlive_siteto empty. - Check
force_ssl: if it forces HTTPS but your site has no working certificate (or the reverse), logins fail. - In phpMyAdmin, empty the
#__sessiontable. - Check
tmp_pathpoints to an existing, writable folder, and the disk isn't full. - If it started after installing a plugin (especially an authentication or security plugin), disable it in the
#__extensionstable.
Good to know
- A wrong password shows a message ("Username and password do not match"). A silent reload is almost always cookies or sessions.
Sources
- Global Configuration – Joomla User Guide
- FatalError – Joomla User Guide