Hi -
I have been developing a D7 site locally and have just deployed to a remote test server. The site works perfectly but I can't login to the admin area.
Going to http://www.mydomain.com/user brings up the login screen but upon entering details and submitting the form it just cycles back to the same page without any error message (or in Firebug). Deliberately submitting incorrect details doesn't even being up the red-box warning. I have tried deploying without and with clean URLs enabled but no difference.
My hunch is that the server is not finding the form action script, maybe because of a base url problem, but I have added the $baseurl to settings.php
Any help greatly appreciated,
Thanks
Comments
verify that $cookie_domain is
verify that $cookie_domain is set properly in settings.php
$cookie_domain
What exactly would 'set properly' be?
That line is commented out in my settings.php file.
That's fine then. * Truncate
That's fine then.
* Truncate all of your cache tables.
* Check your htaccess for RewriteBase rule.
Thanks
This is just what I needed. It maybe a 7 year old answer, but it is still the right one.
another hint
Check that rewrite_module is enabled in Apache
rewrite_module
Had the same problem, this was the solution. Thanks!
Thanks
Thanks
This was it for me too.
This was it for me too. Thanks.
Thanks
Thanks
THANKS!
THANKS!
I second checking mod_rewrite
I had the same problem after migrating. I was hitting my /user page trying to login but couldn't. I figured if I was served /user instead of getting a 404 then mod_rewrite was on and running but it wasn't. Enabling it fixed the problem.
same problem
fixed!
a2enmod rewrite
Restart apache2 after
service apache2 restart
Thanks
Thanks