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

CommentFileSizeAuthor
octopus_log.txt767 bytesChipie
o1.octopus.cnf_.txt938 bytesChipie
barracuda_log.txt1.43 KBChipie
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

omega8cc’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

What is the Drupal core version used by the affected site and which PHP-FPM version it is running on?

omega8cc’s picture

Also, no, there were no changes affecting aggregation in any way.

Chipie’s picture

The site is running on Drupal 7.21 an PHP-FPM 5.3.

omega8cc’s picture

I 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?

Chipie’s picture

Thanks 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?

Chipie’s picture

After disabling the jQuery Update module, the error disappears. So it's probably an JQuery Update issue?

omega8cc’s picture

omega8cc’s picture

Ah, that sounds like it could be it.

omega8cc’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closing since it is not related to anything in BOA.

Chipie’s picture

Thank you for your help. octopus is awesome.