Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
after updating I get a Javascript error and some js based modules like (.e.g. WYSWIG) are not working any more:
[Error] TypeError: 'undefined' is not a constructor (evaluating 'new Drupal.ajax(base, this, element_settings)')
(anonymous function) (js_1AfAGw777YpTUSN67B66GHBD5L4wBD_fK15h-NwxFLY.js, line 751)
each (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
each (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
once (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 57)
attach (js_1AfAGw777YpTUSN67B66GHBD5L4wBD_fK15h-NwxFLY.js, line 740)
(anonymous function) (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 158)
each (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
attachBehaviors (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 156)
(anonymous function) (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 494)
k (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
fireWith (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
ready (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
D (js_-z-2lAhufzBeVjYseT6cTzSICUy9vnoLBpu1sF_zZrs.js, line 2)
When I call the same site with the '.dev.' part in the url, I don't get this error.
Did something change regarding the JS aggregation?
How can I turn of the JS aggregation for sites without a '.dev.' in the url.
Any help is highly appreciated.
Best,
Stéphane
Comment | File | Size | Author |
---|---|---|---|
octopus_log.txt | 767 bytes | Chipie | |
o1.octopus.cnf_.txt | 938 bytes | Chipie | |
barracuda_log.txt | 1.43 KB | Chipie |
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedWhat is the Drupal core version used by the affected site and which PHP-FPM version it is running on?
Comment #2
omega8cc CreditAttribution: omega8cc commentedAlso, no, there were no changes affecting aggregation in any way.
Comment #3
Chipie CreditAttribution: Chipie commentedThe site is running on Drupal 7.21 an PHP-FPM 5.3.
Comment #4
omega8cc CreditAttribution: omega8cc commentedI don't see any reason for this and I can't reproduce this. Have you AdvAgg module enabled, by any chance? Have you tried to clear all caches *and* manually delete all aggregates from the files directory?
Comment #5
Chipie CreditAttribution: Chipie commentedThanks for the prompt reply. I don't have the AdvAgg module enabled. I have cleared all caches and deleted all aggregates from the files directory.
Is there a way to disable js aggregation without using a dev part in the domain?
Comment #6
Chipie CreditAttribution: Chipie commentedAfter disabling the jQuery Update module, the error disappears. So it's probably an JQuery Update issue?
Comment #7
omega8cc CreditAttribution: omega8cc commentedYes, it is explained in the docs: https://omega8.cc/how-to-disable-all-caching-and-aggregation-115
Comment #8
omega8cc CreditAttribution: omega8cc commentedAh, that sounds like it could be it.
Comment #9
omega8cc CreditAttribution: omega8cc commentedClosing since it is not related to anything in BOA.
Comment #10
Chipie CreditAttribution: Chipie commentedThank you for your help. octopus is awesome.