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 |
Jump to:
Description
As described here:
http://drupal.org/node/374645#comment-1306636
I was seeing this problem and disabling Popups API fixed it.

#1
Please try the latest alpha. popups_init() hasn't called theme() for a couple of weeks now.
#2
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
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
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
submitted to GA also: http://drupal.org/node/414812
#6
Could be a duplicate of #324332: Page breaks if theme developer wraps body.
#7
Since 6.x-2.x branch is fixed, I've the same problem with 6.x-1.3.
Any fix?