Regards.

This is the problem.

Login and activate Theme developer (order is irrelevant)

Logout.

You got a white screen of death. Disable theme developer, repeat process, everything works fine.

This is the error message generated by this blank scren, as shown by the Registry:

Cannot modify header information - headers already sent by (output started at /home/pensami/public_html/sepex2010/sites/default/modules/devel/devel_themer.module:490) in /home/pensami/public_html/sepex2010/includes/common.inc on line 319.

CommentFileSizeAuthor
#2 devel_themer.module.patch978 bytesmatt v.

Comments

torgospizza’s picture

For me the fix was really simple. In devel_themer.module, go to line 490. Change this:

if (!empty($GLOBALS['devel_theme_calls']) && $_SERVER['REQUEST_METHOD'] != 'POST') {

to this:

global $user;
if (!empty($GLOBALS['devel_theme_calls']) && $_SERVER['REQUEST_METHOD'] != 'POST' && $user->uid) {

Now it's checking to make sure we're a logged-in user. If the user is anonymous (i.e., they just logged out) then it doesn't try to output the JS.

matt v.’s picture

Version: 6.x-1.16 » 6.x-1.17
Status: Active » Needs review
StatusFileSize
new978 bytes

TorgosPizza, I applied your fix in version 6.x-1.17, which did fix the issue for me. In case it might help get it applied to the module, I generated a patch file, which I'm attaching.

torgospizza’s picture

Cool, thanks for the update. Glad I could help :)

henry97’s picture

I had the same problem with UID1 (the only one using devel, 6.16). That fix worked for me too.
Thanks torgosPizza!

sethhavens’s picture

no idea how you found that but, just to confirm.... YAY! works for me to, cheers torgosPizza

moshe weitzman’s picture

Project: Devel » Theme developer
Version: 6.x-1.17 » 6.x-1.x-dev
Component: devel_themer » Code
effulgentsia’s picture

Status: Needs review » Closed (duplicate)

This is a special case of a more general bug (#493098: theme developer causes WSOD on drupal_goto) that has been fixed.

effulgentsia’s picture

Status: Closed (duplicate) » Fixed

A shame that the issue queue only allows a single status. I guess 'fixed' makes more sense than 'duplicate' if I have to choose one.

Status: Fixed » Closed (fixed)

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