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.
Uncaught TypeError: Cannot read property 'editor_path' of undefined js_51FlPasOwvoZYGA3_P6gE42gJ4acg1rEBRHnUTrjdgg.js:2057
(anonymous function)
Editor does not show up within my theme - a admin theme works fine like seven. Thought this had something to do with recaptcha conflict but after upgrading jquery_update that doesn't seem to be related...
Any help of why I would be getting this error would be very appreciated... I've tried just about everything I know of...
-Chad.
Comment | File | Size | Author |
---|---|---|---|
#7 | build-config.js_.txt | 2.49 KB | hass |
Comments
Comment #1
wwalc CreditAttribution: wwalc commentedCKEditor Global Profile: "Aggregate ckeditor.js" should be set to Disabled. It should even increase the performance of your website.
Comment #3
wwalc CreditAttribution: wwalc commentedJust managed to reproduce it on a site that prints Drupal.settings in a footer.
Adding weight to
did not help.
The error comes from includes/ckeditor.utils.js:
window.CKEDITOR_BASEPATH = Drupal.settings.ckeditor.editor_path;
Comment #4
hass CreditAttribution: hass commentedI also had this error on one site and Aggregate ckeditor.js was DISABLED. Just hit save in Global profile without changing anything and the editor reappeared. Before this I also tried clearing caches several times.
Comment #5
serg2 CreditAttribution: serg2 commentedI am having this issue too:
Uncaught TypeError: Cannot read property 'editor_path' of undefined
.
I am not using ReCaptcha.
The error occurs whether Aggregated or not.
If using the CDN (//cdn.ckeditor.com/4.4.7/full-all) the error occurs. If downloading it to libraries (%l/ckeditor) the error does not occur.
Comment #6
hass CreditAttribution: hass commentedJust installed 4.6.2 and it is back again and does not go away.
Found a pattern. 4.6.2 FULL works well, If you build your own by adding Enhanced Image plugin to FULL it stops working.
Comment #7
hass CreditAttribution: hass commentedThe issue seems to be in one or more of the lang JS files. If I only add English to a custom build, all is fine. If I add German it fails to load. But the pathName variable is defined in
de.js
.I'm attaching the build js file to repro this.
Auto-detect language is enabled.
Comment #8
rahimian CreditAttribution: rahimian commentedI recently installed bartik_responsive theme on my site. Then the ckeditor is not showing in comment field. when I change the active theme to bartik, I have no problem. but when bartik_responsive theme is set as active theme, it not shows the ckeditor in comment field.