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.
I have checked the CKeditor path on my production site and it is correct. I can read the file ckeditor.js but the ckeditor interface doesn't appear. In my local development copy of my website ckeditor works well. Before the last updates of drupal and ckeditor it worked well also on the production site. The roles settings are correct because they are the same of the production copy. What can I do?
Thanks
Comment | File | Size | Author |
---|---|---|---|
#15 | wysiwyg-js-aggregation-D6-1804828-15.patch | 479 bytes | jwilson3 |
Comments
Comment #1
stilllife00 CreditAttribution: stilllife00 commentedComment #2
mkesicki CreditAttribution: mkesicki commentedDo you see any errors in Firebug (Firefox addon) console ?
Please check admin status report page if there are any errors. What theme do you use ? Do you experience this issue on all browsers ? In which folder did you installed CKEditor library ?
Comment #3
dczepierga CreditAttribution: dczepierga commentedHi,
Pls try to check that u have any errors in Firebug (Firefox addon) and there check also NET tab - u should have errors there if something is wrong configured with paths.
Greetings
Comment #4
dczepierga CreditAttribution: dczepierga commentedComment #5
stilllife00 CreditAttribution: stilllife00 commentedNo errors either on firebug console or net tab. Same problem with firefox and chrome. The administration theme is "Seven 7.15" and the path of the file ckeditor.js is /sites/all/modules/ckeditor/ckeditor/
On the admin report page I see one error about the database update but when I try to update it I see another error after the update process:
"menu_attributes module
Update #7001
Failed: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} (rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 4 [:db_insert_placeholder_1] => administer menu attributes [:db_insert_placeholder_2] => ) in user_role_grant_permissions() "
could this be related with the CKEditor issue?
EDIT: and now I found another warning:
Warning: file_get_contents(/sites/all/modules/ckeditor/ckeditor/ckeditor.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 on .../public_html/includes/locale.inc).
Comment #6
stilllife00 CreditAttribution: stilllife00 commentedSolved unticking the "Aggregate JavaScript files" under /admin/config/development/performance
Is this the only way?
Comment #7
dczepierga CreditAttribution: dczepierga commented@stillife00, do u try to reproduce this with last DEV version of CKEditor module?
Comment #8
stilllife00 CreditAttribution: stilllife00 commentedSorry I was really busy and I still am. I will try the dev version in the next days and let you know
Comment #9
monsoon CreditAttribution: monsoon commentedSame problem...
Comment #10
rbester CreditAttribution: rbester commentedSame issue. CKeditor appears fine on my local development server but disappears on the production online server (hosted at WestHost). Both have the same latest versions of CKeditor, same Drupal installation (JS aggregation etc.)
One more thing I have noticed, when trying the "Edit summary" mode, the editor does show up on the production server. It also shows up when there is no content at all inside the editor field. So, the editor fails to show up only when content exists. Any ideas?
Comment #11
rbester CreditAttribution: rbester commentedProblem solved!
Changing the Apache configuration file to the Drupal recommended did the trick:
Drupal was first installed on a sub-domain on this server, I forgot to change httpd.conf when it moved to production. Oooops.
Comment #12
dczepierga CreditAttribution: dczepierga commentedAll problems like this:
was related with paths in CKEditor after enable cache/aggregation.
Try to download last DEV version (#1847662: [D7] Add support for CKEditor v4) where engine responsible for paths generation is rewritten.
Greetings
Comment #13
stilllife00 CreditAttribution: stilllife00 commentedSolved using the last dev-module and using the CSS of Ckeditor instead of the ones of the theme (under the options of the profile of Ckeditor)
Comment #14
dczepierga CreditAttribution: dczepierga commentedProblem is solved after last DEV version, so i closed this issue.
Greetings
Comment #15
jwilson3We're on 6.x-2.4+52-dev and still hitting this issue when CSS/JS aggregation enabled on Drupal 6, CKEditor (via wysiwyg module) doesnt load.
this was our fix (in patch format):
Comment #17
jwilson3