Download & Extend

Users cannot access "My Account" page

Project:Drupal core
Version:6.15
Component:user system
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When any user (including the super user & users with full permissions) tries to access the "My Account" link (user/[uid]), they are automatically redirected to the homepage.

I have trapped the HTTP headers:

GET /user/34 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; MS-RTC LM 8)
Host: www.mysite.com
Connection:
Keep-Alive
[cookies removed]

HTTP/1.1 302 Moved Temporarily
Date: Wed, 11 Nov 2009 06:05:57 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.2.6
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
Last-Modified: Wed, 11 Nov 2009 06:05:57 GMT
Location: http://www.mysite.com/
Content-Length:
0
Connection: close
Content-Type: text/html; charset=utf-8

I have disabled the SecurePages module, so HTTPS redirection is not done. I have configured Apache mod_rewrite logging and there is nothing unusual being logged. I had the devel module configured to trap Redirects and it did not show anything.

I have no idea why the user/ path is being redirected. Does anyone have any ideas what else I can do to investigate and figure this out?

Thanks in advance,
Jason

Comments

#1

I haven't received a response from anyone in the last week since I posted this...

Does anyone have any ideas?

Your help is greatly appreciated.

#2

Still having an issue with this - Is anyone else experiencing the same issue? I can't seem to figure it out.

It looks like Issue #596992: Redirect loop when accessing user account is similar, but I don't have the Advanced profile module installed.

This is holding up one of my sites from moving from Beta to Production, so any help anyone can offer would be greatly appreciated.

#3

Start disabling modules until the problem goes away?

#4

Version:6.14» 6.15

I ran into the exact same issue with exact same redirect issue. I was reluctant to follow lyricnz's advice, but ultimately went through dozens of modules until I discovered that my CiviCRM module was the culprit. Please confirm whether you are running CiviCRM and if so, confirm if disabling it fixes the problem. Good luck.

#5

See the following forum post:

http://forum.civicrm.org/index.php/topic,12045.0.html

My suspicion is that this may be related to the Civi upgrade process and/or bad data in 3.1 beta releases. Any insight much appreciated to avoid re-entry of about 30,000 contact records!

#6

Start by adding some debugging to the function in drupal that does redirects, and get it to print a backtrace to your server log, so you can tell which bit of code is sending you to the new address.

http://api.drupal.org/api/function/drupal_goto/6

Work backwards from there.

#7

Thanks for the suggestion, lyricnz! I think I found it, though - if CiviCRM and Profiles are involved, see Civi forum post here:

http://forum.civicrm.org/index.php/topic,12045.0.html

#8

Status:active» fixed

Nothing since 2/9. Marking fixed.

#9

If the problem is related to CiviCRM, I can verify that it's a known issue that has now been fixed in 3.1.3.

#10

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here