views:

39

answers:

4

After I enter my username and password and click "Login" it sends me back to the Login page with NO error messages. The URL changes to include a session key and that's it. Everytime I click Login again, the session key is regenerated and I still can't log into the admin interface.

A: 

I had some problems when on a local server. It was on http://server/username/ and so didn't have dots in it. If we changed the settings to be the IP address of the server then it was fine.

Paul
We aren't using a local server, we do have a sub-domain. We have two other servers with almost duplicate setups and they are not experiencing this problem.
omouse
A: 

Clear the contents of the directory var/cache and try again.

If that doesn't help check the table core_config_data in the database for records with a path value of "web/secure/base_url", "web/unsecure/base_url" and "admin/url/custom". These should match the page you are trying to log into (but without "index.php/admin/" at the end)

Finally check your browser's cookie settings and that the server's PHP is able to set cookies.

clockworkgeek
+1  A: 

I just encountered this problem on one of my servers (not a localhost installation). Turns out the system account was over quota, so I presume Magento was unable to create the necessary temporary files. (I noticed this when trying to create a directory on the server over ssh.)

So... maybe check to make sure the account under which Magento is running isn't over quota on your server? At the very least, it might not be a Magento problem directly.

balleyne
was this related to cronjobs to clear out tmp files, etc?
Jonathan Day
I think it's an issue at the Webmin/Virtualmin level, haven't totally figured out the cause yet (total disk usage says 1.69 GB, though files + databse is < 300 MB, trying to figure out where the other usage is coming from).
balleyne
A: 

I've experienced this issue using Opera, while in other browsers it worked fine.

Also, make sure to set correct cookie options in: System > Configuration > Web > Cookie Settings

Unirgy