Download & Extend

Cannot logon through "User login" block in admin section

Project:CustomError
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

Status:fixed» closed (fixed)

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