Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
It's happening to me too over 3 sites. Stylesheet is somewhat corrupted when an anonymous user tries to access denied pages.
This is an example (I've hacked the module to return 404 instead of 403): http://toxic.cubicarea.it/node --> Corrupted Stylesheet http://toxic.cubicarea.it --> Normal Stylesheet
I can confirm this happening on a site using skinr and a Fusion-based subtheme. Aside from blocks styling, my views-slideshow content also get corrupted (all items displayed at once) which breaks the site layout.
I had the same issue, without skinr/fusion, but with views_slideshow:
I am not sure that the -patch- works. I am new to using diff to make patches, usually I just read patches and write them in by hand. However, I am pretty sure that using return; rather than exit; to get out of path_access_init has resolved my issues.
Ugg, scratch that. Post-patch its printing the page twice.
What I have decided to do is use drupal_goto to redirect rather than calling drupal_access_denied.
If I decide I care Ill tell it to log the event as well. Sorry my resolution isn't of perfect assistance to the rest of you.
The double page effect happens else where in Drupal for a few major revisions of Core now. I just can't remember the place i've seen it within Drupal now! :-(
I suspect this is because this module is is calling exit(); in hook_init, mening that other modules will not get a chance to finish their initialization.
Comments
Comment #1
buddaNot familiar with skinr. Is this a pathaccess problem or a theme / template problem for skinr?
Comment #2
jmcerda commentedI mean, it only happened as soon as I added path access info for the anonymous user role, that would lead me to believe so.
Comment #3
revol commentedIt's happening to me too over 3 sites. Stylesheet is somewhat corrupted when an anonymous user tries to access denied pages.
This is an example (I've hacked the module to return 404 instead of 403):
http://toxic.cubicarea.it/node --> Corrupted Stylesheet
http://toxic.cubicarea.it --> Normal Stylesheet
Another example: (look to the red block on the right side)
http://www.flordetangoargentino.net/node --> Corrupted Stylesheet
http://www.flordetangoargentino.net/ --> Normal Stylesheet
What's the problem?
Comment #4
pixelsweatshop commentedgetting the same issue. it doesn't render the admin menu properly, as well.
Comment #5
pixelsweatshop commentedComment #6
vladanr commentedI can confirm this happening on a site using skinr and a Fusion-based subtheme. Aside from blocks styling, my views-slideshow content also get corrupted (all items displayed at once) which breaks the site layout.
Comment #7
pixelsweatshop commentedI am also using skinr/fusion.
Comment #8
rhoyerboat commentedI had the same issue, without skinr/fusion, but with views_slideshow:
I am not sure that the -patch- works. I am new to using diff to make patches, usually I just read patches and write them in by hand. However, I am pretty sure that using return; rather than exit; to get out of path_access_init has resolved my issues.
Comment #9
rhoyerboat commentedUgg, scratch that. Post-patch its printing the page twice.
What I have decided to do is use drupal_goto to redirect rather than calling drupal_access_denied.
If I decide I care Ill tell it to log the event as well. Sorry my resolution isn't of perfect assistance to the rest of you.
Comment #10
buddaThe double page effect happens else where in Drupal for a few major revisions of Core now. I just can't remember the place i've seen it within Drupal now! :-(
Comment #11
mrfelton commentedI suspect this is because this module is is calling exit(); in hook_init, mening that other modules will not get a chance to finish their initialization.
Comment #12
jmcerda commented