views:

195

answers:

2

I've been having this problem on one of my Joomla sites for a while....when trying to login at the backend, the page just refreshes to the login form again. The same thing happens for the login at the frontend.

After some searching, I came across this link but I've tried all the suggestions there and none work for me. Plus my database tables are all OK. On my local setup, the site works just fine...I just imported the database to the hosting server. Then used SSH to restore the zip file from my computer.

Any ideas?

A: 

I had a problem very similar to this a while back. PHP wasn't able to write to it's session directory (or it didn't exist), so it just kept dropping sessions on login.

You can find this directory in the PHP.ini file. I think it's called session.save_path On Ubuntu it was in /var/lib/php5.

Garrett Bluma
A: 

Hope noone minds if I drop a breadcrumb here in case I run into the same problem again. In my case the problem was that Internet Explorer (worked fine in Firefox) refused to save Joomla's cookies.

Michael Kropat
All ideas are welcome Michael...though I'd already tried almost all browsers before realizing that the hosting company hadn't set the php.ini file for the account, hence the cookie problem. It's good to know what else could cause the problem anyways
Stephen