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
Comment #1
alanBrookland commentedJust 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)