hook_init breaks maintenance page

fred0 - March 20, 2009 - 07:37
Project:Popups API (Ajax Dialogs)
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

As described here:
http://drupal.org/node/374645#comment-1306636

I was seeing this problem and disabling Popups API fixed it.

#1

starbow - March 21, 2009 - 00:45

Please try the latest alpha. popups_init() hasn't called theme() for a couple of weeks now.

#2

fred0 - March 24, 2009 - 07:22

Well, in my sandbox environment, this did fix the problem. Now, my live site fails to WSOD when you click on a popup enabled link. Have to figure out what that is now.

#3

starbow - March 24, 2009 - 17:43

Wow, that is very surprising. The only way a WSOD would come up is if the popup failed to capture the click (which could happen if there was a javascript error), and the page that the link when to also failed.
Have you tried shutting down your browser. Sometimes when you move between versions some of the old js gets cached and you end up in a weird, in between state.

#4

fred0 - March 26, 2009 - 19:50

Nope. Turns out it was the Google Analytics module. Not sure what function exactly, but when loading the popup it tried to send/receive something from www.google-analytics.com that was failing. By exempting the page set to popup in the analytics module, I got it to work but, it would be nice to have those page views register in analytics.
(btw, this happens with both the google analytics 2.0 and 2.x-dev)

#5

fred0 - March 26, 2009 - 19:54

submitted to GA also: http://drupal.org/node/414812

#6

hass - March 27, 2009 - 08:28

#7

ckng - June 1, 2009 - 15:48
Version:6.x-2.x-dev» 6.x-1.3

Since 6.x-2.x branch is fixed, I've the same problem with 6.x-1.3.
Any fix?

 
 

Drupal is a registered trademark of Dries Buytaert.