I've installed this module, ... like the idea of redirecting users, but when loged in as administrator, i get redirected when trying to visit the user settings page.
I've installed this module, ... like the idea of redirecting users, but when loged in as administrator, i get redirected when trying to visit the user settings page.
Comments
Comment #1
matt v. commentedEla, what version of Drupal are you using? I think this may be specific to certain Drupal versions because I'm seeing something like what you described on one of my sites, running an older version of Drupal, but not on a newer site.
Comment #2
Ela commentedhi there,
I'm using 6.15 version
Comment #3
matt v. commentedEla,
Any chance you could post a list of the modules you have installed? Oddly, the module seems to work just fine on some sites. I'm still trying to narrow down what is causing the problem.
Comment #4
Ela commentedI THINK it might be related to boost module..
What I ended up doing is using the htaccess workaround found here: http://drupal.org/node/118498#comment-2133406 instead.
"If your using the Boost module it sets the DRUPAL_UID cookie if logged in. Add this code to redirect user/login and user/register to the homepage."
If you still want me to post my modules I can do that .. the list is not short though :D
Comment #5
matt v. commentedEla,
Thanks for the info. I'm still trying to track down the source of the problem. The site I'm seeing the issue on doesn't have the Boost module enabled.
By chance, is the site you're seeing the problem on a multi-lingual site? Using debug_backtrace, it looks like already_in_access is called by call_user_func_array which is called _menu_check_access which is called by _menu_link_translate.
Comment #6
Ela commentedhi there,
No, the site is not multi lingual....
Comment #7
Ela commentedActually, sorry, I just noticed when creating a new content type that I can "Enable multilingual support for this content type" so I guess the site is multi-lingual (?) although I don't use it for any other language .. yet. Must have been thinking ahead of time. Does this help?
Comment #8
owntheweb commentedHello,
I'm having similar issues where various pages are redirecting to my account page:
node/add/page
admin/build/menu-customize/menu-my-account-partner/add
others, but I can't remember off hand
not all pages though, e.g. I can add a new menu just fine.
Here are the modules I have installed:
Ela,
May I trouble you to list any of these you have installed as well? It might help narrow things down.
Administration menu
Content management filter
CCK
content profile
some optional core stuff (let me know if you need specifics)
date/time
imagecache
location
nodewords
Auto Assign Role
AutoMenu
Better Formats
LoginToboggan
Menu breadcrumb
Menu Trails
Nice Menus
Pathauto
Quick Tabs
Token actions
TokenSTARTER
Transliteration
Rules
Google Analytics
IMCE Wysiwyg API bridge
Wysiwyg
Views
Workflow
Thanks for your support. This isn't urgent for me, and I'm happy to give any other info needed.
Best regards,
Chris
Comment #9
Ela commentedI won't be able to test this module, because I'm using the workaround posted above... and I'm on a production site..
I'm not home right now, but out of the modules that you use, I'm using:
CCK
content profile
location
nodewords
Auto Assign Role ,,============ not any more.. but I was using it I THINK at that time..
Better Formats
LoginToboggan
Pathauto
Quick Tabs
Token
Transliteration
Rules
Workflow
Comment #10
Ela commentedOK .. I've prepared a list of modules that i'm working with :)
AddToAny
Advanced User Management
Buy me a beer
Content Access
External Links
Global Redirect
GMap
IMCE
Invite Statistic
jQuery Update
LoginToboggan
Mass Contact
Nodewords
Registration codes
Revision Moderation
Role Expire
Simplenews
Taxonomy breadcrumb
User titles
Userpoints
Webform
Advanced Forum
Automated Logout
Better Messages
Block Cache Alter
DHTML Menu
Email Confirm
FCKedito
Galleria
HTML Mail
Invite
Jammer
Location
'me' Aliases
Pathauto
Private messages
ProfilePlus
User Referral
Relevant Content
Role Change Notify
Search 404
Slider
Terms of Use
User ReadOnly
Username AJAX check
Comment #11
owntheweb commentedEla,
Thanks for sharing.
Matt V.,
As I'm still having this issue, I'll prepare a test site tomorrow and turn modules off or on one at a time until I see some changes, and will let you know what's up. :)
Thanks,
Chris
Comment #12
matt v. commentedWith some help from David Strauss, I think I've tracked down and fixed the issue. Please try the latest dev release (currently available only via CVS, though the tar file should be updated in the next 12 hours or less) and let me know whether the update does indeed fix the issue.
Comment #13
owntheweb commentedI won't have access to CVS until this evening, but will be happy to test it first thing tomorrow morning. Thanks mucho for the update. :)
Comment #14
owntheweb commentedNice! I think that did the trick. I'm not having any funky unintended redirect issues when administering stuff.
One smaller item now:
If I go to user/login when logged in, it redirects fine, but I'm seeing this error message now on my user page:
warning: Missing argument 1 for already_in_access() in /home/virtual/site3/fst/var/www/html/preview/certification/sites/all/modules/already_in/already_in.module on line 52.
Thanks for the assist, and great work.
Comment #15
matt v. commentedowntheweb,
I've just committed a fix to the "Missing argument 1 for already_in_access" issue. If you're using CVS, you can pull the update immediately, otherwise the tar file should be updated in the next 12 hours or less). Please let me know if that fixes all the issues you were seeing.
Comment #16
owntheweb commentedYep! That worked for me. No errors, and no odd redirects as far as I can tell.
Thank you very, very much for the support. It is greatly appreciated :D
Comment #17
Ela commentedGlad to see it working!! :)
As for now the htaccess workaround works for me, but glad to see that there is a module that will help in case that fails! :)