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.
Chrome developer tools reporting a 404 / not found error for js/scripts.js. The js/ directory only has the files: carousel.js, fix_script.js, jquery.js, slideshow.js, zircon.js.
Found reference to js/scripts.js in themes/zircon/zircon.libraries.yml, line 21:
js/scripts.js: {}
Quick fix: comment out line 21:
# js/scripts.js: {}
Comment | File | Size | Author |
---|---|---|---|
#3 | zircon-js_scripts.js_not_found-11202723-3.patch | 1.09 KB | NitinSP |
Comments
Comment #2
NitinSP CreditAttribution: NitinSP at Clarion Technologies commentedComment #3
NitinSP CreditAttribution: NitinSP at Clarion Technologies commentedIn browser console show 404 error for themes/zircon/includes/monokai/monokai.min/css this wrong file path corrected it to themes/zircon/includes/monokai/monokai.min.css. Also comment line number 21. Please check updated patch.
Comment #4
NitinSP CreditAttribution: NitinSP at Clarion Technologies commentedComment #5
ehanuise CreditAttribution: ehanuise commentedIssue still present in 8.x-1.0-rc1
Comment #6
enconengineers CreditAttribution: enconengineers commentedIssue still present in Drupal version 8.3.0
Comment #7
grantkrugerSeconding enconengineers that I'm seeing the error on a fresh 8.3.0 install. It's for a DrupalCon training class so no security patch 8.3.1 yet.
Comment #8
davidneedhamThank you, NitinSP, but the CSS issue you fixed is already reported and RTBC in another issue (#2656702: monokai.min/css).
The JS issue looks fine, but I think you should be able to remove the line altogether rather than just commenting it out.
Comment #9
davidneedhamActually, this is a duplicate of another issue that is already RTBC: #2666708: Script.js is missing.