Hi,

I intalled drupal yesterday and did some admin stuff, created roles, permissions, installed modules*, etc. all through Firefox. Today when I tried to log in, the log in just did the refresh thing, and I got an access denied error when trying to view my profile. (I think I have the latter issue corrected.) BUT in Safari, Explorer, and Opera on both Mac and Windows, and Camino on Mac, I can log in just dandy. The Firefox issue is on Mac and Windows. Firefox version on Mac 1.5.0.2, Firefox version on Windows 1.5.0.1. And yes, I have cleared my cache many many times.

Any guesses, suggestions?

*forms, survey, tinymce

Drupal 4.6.6
php 4.4.1
MySQL 4.1.13a
Apache 1.3.33

Comments

skagirlie’s picture

If I try to log in through firefox and then restart the computer. I'm logged in when I revisit the page. This is a very frustrating and counter productive way to access and administer the site.

reggie75’s picture

i set cookie lifetime to 0 (in sites/default/settings.php) so no cookie gets created on disk.

///ini_set('session.cookie_lifetime', 2000000);
ini_set('session.cookie_lifetime', 0);

this seems to have solved it for me.

the only drawback is when the user closes his browser, starts it again and comes back to the site, he is not logged in. (can pass it off as a feature :))

PS: You need to DELETE the OLD COOKIES after you do this, else it never lets you log in.
(in IE: Tools > Internet Options > Delete Cookies)
(in FF: Tools > Privacy > Cookies > Clear Cookies)

worked like a charm after that.

PPS: I also added the following line in settings.php,
but i dont think it would make any difference
ini_set('session.cookie_domain', '.domain.com');

where "domain" is your domain name.

Thanks,
Rajesh

trailerparkopera’s picture

If Firefox is rejecting cookies, you may not get good results when you login.

skagirlie’s picture

It's set for cookies. I didn't have a problem until this most recent install.

grabur’s picture

Drupal 4.6.6, Firefox 1.5.0.2, Mac OSX 10.4.6

Sadly I lost count of the modules I installed, today I have been using the site fine, this evening I can't get past the login screen.

I can however access the site through another browser. This has happened before, and to a friend of mine working on a different site.

grabur’s picture

I use the keyboard alot, tabbing from field to field and hitting enter.

Just tried logging in and clicking on the login button with mouse, and I got back in?!

skagirlie’s picture

Clicking on Log in doesn't help either. If I restart my computer, sometimes that will log me in! And other times it will log me out.

I think we're running identical specs as well. Very interesting.

edrupalec’s picture

interesting. I haven't had any trouble with firefox on linux.
-----
Drupal ecommerce, at http://www.drupalecommerce.com is a new site written using language that Drupal beginners and intermediate users can understand. Quick links to "Modules" and "Module Groupings."

wickus’s picture

On my drupal, and only on Firefox, I have to login twice in a row to get logged in after the first time it looks like only the page is reloaded. I found out now why this happened.
Due to several domainnames using this drupal installation I saw that one, the de-Domain wasn't registered in the sites folder with its own settings.php file. After I set up an own folder for the de domain like the one I had for the eu domain, the login worked properly. I hope this maybe helps to solve you problem.

---
Join the virtual march to stop global warming.
http://www.stopglobalwarming.org/marchers/?142067

grabur’s picture

I think this happens when page caching is turned on. Well it does on a site I use. Does it do the same in other browsers?

Umapati Swami’s picture

I have the same problem. I cannot log in with Firefox. It simply refreshes the log in screen, but if I then go to IE and log in, I can see on the admin logs that the sessions were indeed started with Firefox.

The other administrator on the site has no problem logging in with Firefox.

Umapati Swami

Umapati Swami’s picture

I solved the Firefox login problem, at least for me, but maybe this will help others. I removed all existing cookies placed in my computer by my site, and now it works fine.

Umapati Swami

edrupalec’s picture

great! this solved the favicon problem also.
http://drupal.org/node/69047

wthomas’s picture

was having the same issue, cleared cookies & cache, no more log in problems. Simple fix, but frustrating issue.

geggs’s picture

you are the bestt

shvetc_is’s picture

yes.