Hi,

Have 4.7.2 installed on my remote server, which is working fine. Using the backup and restore scripts available here:
http://drupal.org/node/59369
I set up the site on my local computer (Ubuntu 6.06/dapper) and it works fine, all content is there etc etc. The issue is that I cannot login.

When I try to login, it takes me to a blank page with the URL:
http://localhost/drupal/view/front?destination=

I have tried installing 4.7.3 and adding all the themes and modules that I am using, and copying the .htaccess over from the old install, and that works FINE.

Any suggestions would be VERY much appreciated.

Darren

Comments

JoshLangner’s picture

Did you empty the cookies on your internet browser? It may be that the one currently being used is from the old location. A lot of login problems stem from cookie-oriented issues.

dazmcg’s picture

Nope, as far as I can tell it's entirely cookie unrelated.

forgot to mention, it's running on Apache 2.0.55, PHP 5.1.2 and MYSQL 5.0.22.

Also have tried things like:
-disable cache in drupal
-raise memory limit
-swap to default theme before copying over
-disabling all modules

Thanks

Darren

dazmcg’s picture

No one else experienced an issue like this not related to the above things?

Cheers

JoshLangner’s picture

Do you have a default front page set up? (i.e. other than "node") Go to Admin > Settings > General Settings

dazmcg’s picture

Yes I do. But I have just tried changing it to the default 'node' and it still gives me the same issue, this time the page it forwards to after an attempted login (not logged in even after this) is:

http://localhost/drupal/?q=node&destination=

Cheers

whereisian’s picture

I disabled the devel module and it's resolved (for now).

bonobo’s picture

Is the base url in your settings.php set correctly?

Cheers,

Bill

-------
http://www.funnymonkey.com
Tools for Teachers

dazmcg’s picture

Yup it is, this is the url I get redirected to when I attempt a login.

http://localhost/drupal/?q=node&destination=

Grrrr very frustrating!

hf’s picture

Double post, sorry.

hf’s picture

I have the same problem.

My site has moved, and after the move on one of the machines my users cannot log on. No problem on other computers. (also nothing on mine).
Drupal 4.7.3
Deleting the cookies did not help.
settings.php is correct.
The problem is browser independent.

Yes, it is very frustrating!!!!

hf’s picture

Hi,

I have the solution that worked for me:
I had mysite.com as base_url in my settings.php while having some mod_rewrite settings in my .htaccess file which redirected to www.mysite.com
When I changed base_url to www.mysite.com, everything worked.

Good luck!
Check also this: http://drupal.org/node/6696

hf’s picture

I just noticed, this guy had the same solution: http://drupal.org/node/6696#comment-158543