Enabling Drupal for Firebug modules results in blank screen

cdragin - February 2, 2009 - 23:04

I have installed the drupal for firebug module (drupalforfirebug-6.x-1.1) and also installed the corresponding firefox add-on, restarted firefox and run update.php. Once I do the latter and return from the "successful update" page to any other page (including main, admin and the error log) the screen is entirely blank. I've seen some references to making sure my theme uses $closure, but I don't know what that means or where/how to fix it. I also don't understand the reference in the module description "drag the downloaded .XPI to Firefox to install" as I don't know what/where the .XPI file is.

Anyone able to deconstruct these for a newbie?

You don't have to drag

sotoik - May 13, 2009 - 19:07

You don't have to drag anything to firefox you have already installed the firefox plugin. As for the $closure variable you have to look in your theme folder ( /drupal_folder/sites/site_name/themes/ ) for a file named page.tpl.php and search if a variable named $closure is there, if it is not there add

<?php
print $closure;
?>
before the </body> tag.

.50 Action Express

Does appear to be theme-related

cdragin - May 14, 2009 - 14:10

Curious. The problem does appear to be related to the theme. I'm using newsflash from rooplethemes; if I switch to the bluemarine theme, I can at least see the page. I checked and newsflash does include the $closure variable. But, it's still not working. I enabled the module, ran update.php, configured the permissions, downloaded and enabled firebug in firefox.

If I'm running newsflash and go into firebug, I get this message:
No Drupal for Firebug data was found. Either this site is not running Drupal or the Drupal for Firebug module has not been installed/enabled.

If I'm running bluemarine I get this message:
There were no messages sent to the general log. Please use "firep($item, $optional_title)" to output messages to this console.

 
 

Drupal is a registered trademark of Dries Buytaert.