Cannot logon through "User login" block in admin section

alanBrookland - March 3, 2009 - 17:57
Project:CustomError
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I've setup 403 and 404 custom error pages based on the instructions at http://www.kinetasystems.com/blog/creating-custom-error-pages-in-drupal and they work great.

The problem is that if I go to www.mysite.com/admin and logon using the "User login" block on the left hand side (using Garland admin theme) I get taken to the 403 custom error page even with the correct username/password.

If I go to www.mysite.com/user/login I can login fine (thankfully).

I'm using Drupal V6.6 btw

#1

alanBrookland - March 13, 2009 - 13:40
Status:active» fixed

Just come back to troubleshoot this issue today and I fixed it by adding the line:

menu_set_active_item($_REQUEST['destination']);

to the 403 snippet from the instructions I mentioned in the description. (The code addition was suggested in a comment to the article)

#2

System Message - March 27, 2009 - 13:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.