I had trouble logging into my drupal 4.7.4 blog. I'd login on homepage, then as soon as I tried accessing an administrative page, it would dump me to a login page.
This post on the drupal.org forum site offered possible solutions. However, it does involve adjusting core files, which is ridiculous. Must be another way...
- Drupal Login: Persistent login prompt without an error message | iDonny Productions - Fairly complex approach.
- Login problems on PHP 5.2 | drupal.org - Distills the answer into simple step, includes link to patch. BEST ADVICE.
NOTE: A recent upgrade to 4.7.5 seems to have resolved the issue.
*New* Solve Drupal 5.X Login Problem
think my log-in problem is solved now... fingers crossed hobbsy - December 8, 2006 - 09:05
IE 6 on WinXP login problem + solution mgerra - December 5, 2006 - 00:06 Recently upgraded to 4.7.4. Found it impossible to login via IE on WinXP, but OK through Firefox on IE and Mac, and Safari. Driving me absolutely nuts. Here's solution that worked for me -- I'm in the process of backing each of these out to see if only subset is needed. Hope this helps someone. Commented out following in user.module: session_regenerate_id(); Added line below drupal_page_footer(); in index.php: $GLOBALS['tempUser'] = $user; Added this to my settings.php: ini_set('session.cookie_domain','www.mydomainhere.com'); ini_set('session.auto_start', 0); Set options in IE > Internet options > Privacy tab > Advanced: override automatic cookie handling accept first-party cookies always allow session cookies
This log-in/cookie/session problem has been driving me crazy for the past 4 hours, and has not left me with a happy first impression of Drupal! :(
Trying to install Drupal 4.7.4 on my home PC (localhost)
Set up WAMP 5.1.6.6 (which includes: - Apache 2.0.59 - PHP 5.2.0 - MySQL 5.0.27 - PHPmyadmin 2.9.0.3)
My browser of choice is Firefox 2.0
I finally seemed to have fixed things (after following many methods - none of which worked), by simply following the first two things on mgerra's post above:
Commented out following in user.module: session_regenerate_id(); Added line below drupal_page_footer(); in index.php: $GLOBALS['tempUser'] = $user;
I also had problems with setting up an initial user on my home WAMP server. There didn't seem to be a mail server installed so it couldn't send my initial set-up details for the Drupal admin user
I think I'm up and running now, but I wish this process could have been simpler... like I said I just wasted 4 hours reading through message board posts to fix a problem at the first hurdle
Having said that -- thanks for all the hard work you put into this free project (and to all the forum posters who give up their time to try and help out!)
![]() | Drupal: Creating Blogs, Forums, Portals, And Community Websites |
![]() | Pro Drupal Development |