Blank page appears when I am connected as admin.
Admin theme is set to Garland.

Examining source code show that in this blank page there are no doctype neither html or body tags. The only code, huge one, is contained on a div element with id="drupalforfirebug_general" for CSS attribute.

Drupal Tweaks module has loggued the message above :

Cannot modify header information - headers already sent by (output started at SITE_PATH/sites/all/modules/drupalforfirebug/drupalforfirebug.module:256) in SITE_URL/html/includes/common.inc atline 345.

Refresh page on browser leads to the correct display.

I am running Drupal 6.16.

Comments

zandit’s picture

+1
Having the same issue on a similar setup. Particularly problematic when submitting forms. Additionally, ajax-autocomplete form fields are returning lengthy error messages via JS alert().

Installed stable (6.x-1.3) release... this issue went away.

comat0se’s picture

I'm getting this problem too, went back to stable and it's fine.

populist’s picture

The difference here is between using hook_footer() and hook_exit() to spit out the final output. Not entirely sure on best practices. hook_exit() is used in -dev and gets more status information but hook_footer() is more compatibile.

Melissamcewen’s picture

Having same problem as well, I went back to stable and hoping it's fixed.

Leddo’s picture

Same here. On Admin pages only. Stable Release OK.

jibize’s picture

Hi there,

Same problem here on anything that is submited, and Ajax-autocomplete form fields return the following error:

An error occurred. 
http://www.site.com/location/autocomplete/Array
[  ]<div style="display: none" id="drupalforfirebug_general"><fieldset><legend>Drupal for Firebug General Messages</legend>There were no messages sent to the general log. Please use "firep($item, $optional_title)" to output messages to this console.</div><div style="display: none" id="drupalforfirebug_sql"><fieldset><legend>Devel Module is Not Installed</legend>Please install and enable the Devel Module to display the SQL queries.</div><div style="display: none" id="drupalforfirebug_hook_form_alter">There was no form altering.</div><div style="display: none" id="drupalforfirebug_hook_user">There was no user processing.</div><div style="display: none" id="drupalforfirebug_hook_nodeapi">There was no node processing.</div><div style="display: none" id="drupalforfirebug_hook_views">There was no views processing.</div><div style="display: none" id="drupalforfirebug_php"><iframe width=100% frameborder=0 height=100% style="margin-bottom:-3px;" src="http://www.site.com/admin/firebug/exec"></iframe></div>
murias’s picture

Seems as this problem still persists.

xamox’s picture

+1 for me as well in both the stable and dev version

Firefox: 3.6.12
Chromium: 6.0.472
Ubuntu 10.10
Apache: 2.2.16
PHP: 5.3.x

populist’s picture

I went ahead and added logic to prevent this from happening in cases of auto complete forms, when on the command line, or when the page header isn't formal HTML. Most of the code came from devel.module which is great, but there may be additional cases. Let me know about those and they can be rolled in.

populist’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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