Hello,
I followed the instructions for setting up advanced css/js aggregation as presented in the "ReadMe" file for the module. In addition to those settings, I selected 'move google analytics analytics.js code from inline to be a file issue'. I did this, in part, due to a PageSpeed Insight suggesting 'Leverage browser caching for the following cacheable resources: http://www.google-analytics.com/analytics.js (2 hours)' as a way to increase my page load speed. This change led to my site crashing with a 500 error. I am not sure if this is a bug or what but I am hoping someone can offer insights on how I can go about unchecking this selection from the back end or other ideas for restoring my website.
Thank you kindly in anticipation of your assistance.
Martin
Comment | File | Size | Author |
---|---|---|---|
#5 | advagg-2891973-5-check-function-names.patch | 1.36 KB | mikeytown2 |
|
Comments
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedAny additional info on what the 500 error says?
Add this to your settings.php file to undo that setting
Comment #3
martinpsz CreditAttribution: martinpsz commentedThank you Mikey...your advice helped solve the problem. It turns out that I did not have the Google Analytics module installed on this particular site. This, I theorize, might have caused Drupal to go haywire when it went looking for inline GA. I ended up turning off the Advanced Agg module after I brought my site back. Things are back to normal.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedWhat version of the googleanalytics module are you using?
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedComment #6
martinpsz CreditAttribution: martinpsz commentedI did not have the Google Analytics model installed and enabled when I encountered this issue.
Comment #8
mikeytown2 CreditAttribution: mikeytown2 commentedThat's supper weird as module_exists should catch that. The committed patch will also use is_callable to make sure the 2 functions advagg wants to access inside of googleanalytics exist.