When I have both Google Analytics and Theme Developer 6.x-1.12 enabled, (using Drupal 6.6) and I enable "Theme developer" from the "Theme Info" tab the currently viewed page stops loading, seemingly while trying to load google analytics. Disabling one or the other returns the page.

Comments

aleksey.tk’s picture

Subscribing. Have the same issue with latest Drupal 6.8, Devel 1.12 and Google Analytics 2.0.

hass’s picture

Could you guys be so kind to give me more details, please? I tried to understand the first, but cannot really follow. Please describe step by step how to reproduce and what is the unexpected behaviour (bug) in all details and what you expect.

hass’s picture

Status: Active » Postponed (maintainer needs more info)
Screenack’s picture

You bet:

Make sure you have the Devel's "Development" block enabled and you know where it displays.

1) Enable both modules
2) Go to any node's page
3) Click on "Enable Theme developer" in the development block / menu
4) Viola! Stuck on Google analytics retrieval
5) To turn off the fun, switch to admin/modules and disable either module; I disable Devel by default now.

hass’s picture

I will try this later, but I wonder much how an click event bound to all links of a page should cause such issues... Must be jQuery or Devel...

hass’s picture

Project: Google Analytics » Devel
Version: 6.x-2.0 » 6.x-1.12
Component: Code » devel_themer
Status: Postponed (maintainer needs more info) » Active

I'd like to move this to the devel maintainer eyes.

I'm also able to repro this, but it's not limited to the link "Enable/Disable Theme developer" in the block as you said. I have had the same when I enabled the modules on modules page. After Devel themer is active the page is "loading..." with a WSOD page and nothing happens. I also don't see any errors in the PHP error logs. I have really no idea and can only guess that this may be related to hook_footer or hook_init. I have tested with the Garland and YAML themes.

Hopefully a devel maintainer have an idea.

hass’s picture

hass’s picture

EDIT: Removed. I should make sure GA is added on admin pages :-)

hass’s picture

If I comment out the line drupal_add_js($script, 'inline', $scope); that adds the ga.js script to page I get the white page and FF shows "loading page..." in the tab. No idea why devel themer have issues with ga.js.

I also have seen a few other JS issues on the page "admin/settings/googleanalytics". For e.g. the fieldset does not expand or better to say it expand, but the content of "Page specific tracking settings" is not shown. I guess this are bugs of devel's JS, but someone needs to investigate further. EDIT: found this bug at #343230: Devel themer breaks collapsible fieldsets.

hass’s picture

hass’s picture

Status: Active » Closed (duplicate)
Screenack’s picture

Status: Closed (duplicate) » Closed (fixed)

I'm changing to closed -- this is a theme developer module issue. On another site I have the .ga code without using this module and I see the same behavior.

hass’s picture

Status: Closed (fixed) » Closed (duplicate)