I get this error after installing and configuring the ckeditor:

Uncaught SyntaxError: Unexpected string
Drupal.ckeditorOn ckeditor.utils.js:67
Drupal.behaviors.ckeditor.attach ckeditor.utils.js:240
b.extend.each jquery.js:34
b.fn.b.each jquery.js:27
Drupal.behaviors.ckeditor.attach ckeditor.utils.js:234
Drupal.attachBehaviors drupal.js:55
b.extend.each jquery.js:33
Drupal.attachBehaviors drupal.js:53
Drupal.theme.placeholder drupal.js:365
b.extend.ready jquery.js:30
u jquery.js:38

It won't load the editor. Any ideas?

Comments

mkesicki’s picture

Status:Active» Postponed (maintainer needs more info)

Can you write what other modules do you have enabled on your site ?

safetypin’s picture

Status:Postponed (maintainer needs more info)» Active

The only other JavaScript module that we're using is the "Chosen" module, but I just tried disabling it, and CKEditor has the same error. We are running other javascript, but not (that I'm aware of) on the administration theme, which is what we're using for editing node content. There are two custom modules that aren't included in this list, but again, they aren't affecting the administration theme as far as I know.

Package         Name                                         Type    Status         Version       
Chaos tool      Chaos tools (ctools)                         Module  Enabled        7.x-1.0-rc1   
Context         Context (context)                            Module  Enabled        7.x-3.0-beta1 
Context         Context UI (context_ui)                      Module  Enabled        7.x-3.0-beta1 
Context         Context: Menu Block (context_menu_block)     Module  Enabled        7.x-3.1-beta2 
Core            Block (block)                                Module  Enabled        7.8           
Core            Book (book)                                  Module  Enabled        7.8           
Core            Contextual links (contextual)                Module  Enabled        7.8           
Core            Database logging (dblog)                     Module  Enabled        7.8           
Core            Field (field)                                Module  Enabled        7.8           
Core            Field SQL storage (field_sql_storage)        Module  Enabled        7.8           
Core            Field UI (field_ui)                          Module  Enabled        7.8           
Core            File (file)                                  Module  Enabled        7.8           
Core            Filter (filter)                              Module  Enabled        7.8           
Core            Image (image)                                Module  Enabled        7.8           
Core            List (list)                                  Module  Enabled        7.8           
Core            Menu (menu)                                  Module  Enabled        7.8           
Core            Node (node)                                  Module  Enabled        7.8           
Core            Number (number)                              Module  Enabled        7.8           
Core            Options (options)                            Module  Enabled        7.8           
Core            Overlay (overlay)                            Module  Enabled        7.8           
Core            Path (path)                                  Module  Enabled        7.8           
Core            PHP filter (php)                             Module  Enabled        7.8           
Core            RDF (rdf)                                    Module  Enabled        7.8           
Core            Search (search)                              Module  Enabled        7.8           
Core            Shortcut (shortcut)                          Module  Enabled        7.8           
Core            Statistics (statistics)                      Module  Enabled        7.8           
Core            Syslog (syslog)                              Module  Enabled        7.8           
Core            System (system)                              Module  Enabled        7.8           
Core            Taxonomy (taxonomy)                          Module  Enabled        7.8           
Core            Text (text)                                  Module  Enabled        7.8           
Core            Toolbar (toolbar)                            Module  Enabled        7.8           
Core            Trigger (trigger)                            Module  Enabled        7.8           
Core            Update manager (update)                      Module  Enabled        7.8           
Core            User (user)                                  Module  Enabled        7.8           
Development     Devel (devel)                                Module  Enabled        7.x-1.2       
Development     Devel generate (devel_generate)              Module  Enabled        7.x-1.2       
Development     Devel node access (devel_node_access)        Module  Enabled        7.x-1.2       
Fields          Link (link)                                  Module  Enabled        7.x-1.0-alpha3
Input filters   Image resize filter (image_resize_filter)    Module  Enabled        7.x-1.13      
Media           File Entity (file_entity)                    Module  Enabled        7.x-1.0-beta5 
Media           Media (media)                                Module  Enabled        7.x-1.0-beta5 
Media           Media Gallery (media_gallery)                Module  Enabled        7.x-1.0-beta6 
Media           Media Internet Sources (media_internet)      Module  Enabled        7.x-1.0-beta5 
Media           Media: Vimeo (media_vimeo)                   Module  Enabled                      
Media           Media: YouTube (media_youtube)               Module  Enabled        7.x-1.0-alpha5
Node Form       Node Form Settings (nodeformsettings)        Module  Enabled        7.x-2.x-dev   
Nodequeue       Nodequeue (nodequeue)                        Module  Enabled        7.x-2.0-alpha2
Other           404 Navigation (navigation404)               Module  Enabled        7.x-1.0       
Other           AddThis (addthis)                            Module  Enabled        7.x-2.1-beta1 
Other           Advanced help (advanced_help)                Module  Enabled        7.x-1.0-beta1 
Other           Boxes (boxes)                                Module  Enabled        7.x-1.0-beta5 
Other           Chosen (chosen)                              Module  Enabled        7.x-1.0       
Other           Colorbox (colorbox)                          Module  Enabled        7.x-1.1       
Other           Custom Error (customerror)                   Module  Enabled        7.x-1.x-dev   
Other           Elysia Cron (elysia_cron)                    Module  Enabled        7.x-1.x-dev   
Other           Entity API (entity)                          Module  Enabled        7.x-1.0-beta10
Other           Entity tokens (entity_token)                 Module  Enabled        7.x-1.0-beta10
Other           Libraries (libraries)                        Module  Enabled        7.x-1.0       
Other           LoginToboggan (logintoboggan)                Module  Enabled        7.x-1.2       
Other           Menu Block (menu_block)                      Module  Enabled        7.x-2.2       
Other           Menu Block Export (menu_block_export)        Module  Enabled        7.x-2.2       
Other           Mollom (mollom)                              Module  Enabled        7.x-1.1       
Other           Multiple forms (multiform)                   Module  Enabled        7.x-1.0-beta2 
Other           Pathauto (pathauto)                          Module  Enabled        7.x-1.0-rc2   
Other           Publish Content (publishcontent)             Module  Enabled        7.x-1.0-beta1 
Other           Security Review (security_review)            Module  Enabled        7.x-1.x-dev   
Other           Site map (site_map)                          Module  Enabled        7.x-1.0-beta1 
Other           Token (token)                                Module  Enabled                      
Other           Twitter Block (twitter_block)                Module  Enabled        7.x-1.x-dev   
Printer,        Printer-friendly pages (print)               Module  Enabled        7.x-1.0-alpha2
Printer,        Send by e-mail (print_mail)                  Module  Enabled        7.x-1.0-alpha2
Rules           Rules (rules)                                Module  Enabled        7.x-2.0-rc1   
Rules           Rules UI (rules_admin)                       Module  Enabled        7.x-2.0-rc1   
Statistics      Google Analytics (googleanalytics)           Module  Enabled        7.x-1.2       
Styles          File Styles (file_styles)                    Module  Enabled        7.x-2.0-alpha8
Styles          Styles (styles)                              Module  Enabled        7.x-2.0-alpha8
Styles          Styles UI (styles_ui)                        Module  Enabled        7.x-2.0-alpha8
Taxonomy        Taxonomy Manager (taxonomy_manager)          Module  Enabled        7.x-1.0-beta2 
Taxonomy        Term merge (term_merge)                      Module  Enabled        7.x-1.0-beta1 
Theme Tools     Omega Tools (omega_tools)                    Module  Enabled        7.x-3.0-rc3   
ThemeKey        ThemeKey (themekey)                          Module  Enabled        7.x-1.4       
User interface  CKEditor (ckeditor)                          Module  Enabled        7.x-1.3       
User interface  Cluetip (cluetip)                            Module  Enabled        7.x-1.x-dev   
Views           Views (views)                                Module  Enabled        7.x-3.0-rc1   
Views           Views Bulk Operations                        Module  Enabled        7.x-3.0-beta2 
Views           Views Slideshow (views_slideshow)            Module  Enabled        7.x-3.x-dev   
Views           Views Slideshow: Cycle                       Module  Enabled        7.x-3.x-dev   
Views           Views UI (views_ui)                          Module  Enabled        7.x-3.0-rc1   
Webform         Webform (webform)                            Module  Enabled        7.x-3.13      
safetypin’s picture

Is it possible that it has something to do with having multiple text areas that need to be addressed by ckeditor? Is there a limit?

mkesicki’s picture

Status:Active» Postponed (maintainer needs more info)

Please update to latest version of CKEditor module and check if this helps with your problem.

safetypin’s picture

Version:7.x-1.4» 7.x-1.6

I updated to v1.6, with no change in functionality. I get the same error. I have several other module updates to do, and a core update that I'll complete and see if anything changes after that.

safetypin’s picture

Status:Postponed (maintainer needs more info)» Closed (fixed)

Updating and disabling all modules didn't work, but uninstalling did work.

safetypin’s picture

Issue summary:View changes

Forgot to format the code properly..