Closed (fixed)
Project:
Advanced CSS/JS Aggregation
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 May 2011 at 21:54 UTC
Updated:
2 Jun 2011 at 02:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
philbar commentedComment #2
mikeytown2 commentedLooks like Javascript Aggregator doesn't play nicely with the closure hack: phptemplate_closure(). I check to make sure the function doesn't exist before trying to define it & I do it in hook_init so it shouldn't run till after the Javascript Aggregator has already been loaded: advagg_init(). If your having issues with getting Drupal to boot up, in your settings.php file add this in at the bottom
Then uninstall the Javascript Aggregator and remove the line you just added to your settings.php file.
Comment #3
mikeytown2 commentedThinking about this situation I can handle it programmatically. When advagg is enabled, if Javascript Aggregator is already enabled I will then varaible_set('advagg_closure', FALSE); That should prevent any WSOD from happening, & i'll throw a warning via drupal_set_message to let the admin know that closure handling had been disabled because Javascript Aggregator is enabled & recommend they uninstall it before enabling advagg closure handling.
Comment #4
mikeytown2 commentedthis patch has been committed. Will fix future installs; but won't help with yours; you need to do the settings.php trick.