Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Strange issue after enabling "Aggregate JavaScript files" in /admin/config/development/performance:
the standard theme menu does not appear with some browsers (Chrome 33, Firefox 25) but it does with others (Safari 6.1.1)
The calculated stylesheet shows "display: none" for "main-menu" class, from styles.css.
Moreover Chrome developer tool says:
"Uncaught SyntaxError: Unexpected token ILLEGAL js_xAPl0qIk9eowy_iS9tNkCWXLUVoat94SQT48UBCFkyQ.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL js_cpaW9bgKMBU2GfUe6_J2IpNopNA7truSqTbwidzMAZk.js:1
Uncaught SyntaxError: Unexpected token ILLEGAL js_BexH02tw5dEGJXjEhGEb3BlKCvY_gB74SW9DxUD5bTo.js:1
Uncaught ReferenceError: jQuery is not defined :48
(anonymous function)"
When "Aggregate JavaScript files" is disabled, menu returns to normal.
I don't know if this is related with Bamboo theme or is system-wide (the only visible issue was the menu, so far)
PS. beside this issue, a great theme!
Comments
Comment #1
drmanic CreditAttribution: drmanic commentedComment #2
Danny EnglanderHi, thanks for using Bamboo. I've not encountered that issue with JS aggregation turned on. If you look at http://bamboo.themehuis.com, you'll see that the JS files are fully aggregated. More than likely this has more to do with file permissions and / or an issue with your particular server setup, I've seen that affect things as well.