Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Aug 2011 at 20:28 UTC
Updated:
29 Sep 2011 at 02:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
dczepierga commentedHi,
Do u have DEV version from 2011-Aug-25?
Greetings
Comment #2
dczepierga commentedComment #3
mkesicki commentedOne thing , for now the latest version of CKEditor is 3.6.1 and there is no version CKEditor 3.6.2 at this moment.
I changed ticket title.
@Kyle Skrinak If the version of CKEditor is wrong now please correct it.
Comment #4
dczepierga commentedIn last DEV version we fix it, i found bug so pls update last DEV and check it.
If it doesn't help pls reopen it.
Greetings
Comment #5
Screenack commentedI'm using:
and, to be clear, when I enable:
Plugin for inserting Drupal teaser and page breaks. (buttons: DrupalBreak, DrupalPageBreak)at
/admin/config/content/ckeditor/edit/CKEditor -> Editor AppearanceThe ckeditor field will not load with the 404 error that I describe.
ps: @michal_cksource; thanks for correcting my typo. I am using 3.6.1
Comment #6
dczepierga commented@Kyle Skrinak, it's fixed in DEV version from 2011-Aug-29. I commit fix for it today :)
Greetings
Comment #7
Screenack commentedSorry, got to re-open the ticket.
Still not fixed, identical error.
219Uncaught [CKEDITOR.resourceManager.load] Resource name "drupalbreaks" was not found at "/sites/all/libraries/ckeditor/plugins/drupalbreaks/plugin.js".There is a difference, however, I now have 58 plugins.js loading (didn't yesterday) but all from libraries/ckeditor/plugins. That is the same directory the module is using for the drupalbreak plugin, but that one remains in the modules/ckeditor/plugins/drupalbreaks
I appreciate your quick attention!
Comment #8
Screenack commentedComment #9
dczepierga commentedCould u try to go to CKEditor profile which u use there and try to resave it?
Greetings
Comment #10
mkesicki commentedHave you run update.php (Drupal script) after upgrade CKEditor module ?
Remember to clear all drupal cache after this.
Re-saving profile is also good idea as @dczepierga wrote.
If this doesn't help please check if you have correct settings in "Path to CKEditor plugins dir ", "Local path to CKEditor plugins dir: " field in CKEditor Global profile configuration in "Advanced settings" tab.
Comment #11
Screenack commentedYes, I tried those things initially. drush updb rendered "No database updates required." Nevertheless, I've tried those suggestions again. Nope, still same error
So, my current directory structure for ckeditor:
sites/all/libraries/ckeditor/ckeditor.php: PHP script textsites/all/modules/ckeditor/ckeditor.info: ASCII English textadmin/config/content/ckeditor/editg settings:
Path to CKEditor * "%m/ckeditor" (which reports current site as: sites/all/modules/ckeditor/ckeditor)Local path to CKEditor: "" (which reports current site as: Current path: sites/all/libraries/ckeditor)Note: If I set this field to "sites/all/libraries/ckeditor" OR "sites/all/modules/ckeditor"
I also get the 404 error for the plugin. Interestingly, the "Status Report" page only reports ckeditor version when I leave that field blank. It is as if the "Local path to CKEditor" is munging input?
For kicks, I copied the ckeditor (editor, not module files) directory into sites/all/modules/ckeditor, i.e., sites/all/modules/ckeditor/ckeditor but that made no difference.
Here the process I am using per change attempt:
Comment #12
mkesicki commentedWhat settings do you have for these fields
You wrote about
settings
Comment #13
Screenack commentedHuh. My "CKEditor Global Profile" which is at admin/config/content/ckeditor/editg, only shows three fields.
I'm using the labels as presented by that page.
Reading from top to bottom:
Is there another screen, or is there a file where I should be inputing the path values to plugin directories?
Comment #14
mkesicki commentedPlease look on attached screen how "Global Profile" should looks in latest release or DEV version.
Comment #15
Screenack commentedMichal,
I see there's another dev update, 8/30. "drush up" failed to update my ckeditor module directory, so I had to erase that directory and reinstall, clear my server and browser caches, and now I see the new global configuration page.
I can now successfully enable the "drupalbreak" plugin, no more 404 errors related to the modules/ckeditor/plugins directory.
Much thanks!
Comment #16
haggins commentedI updated to 6.x-dev (2011-Sep-24), too. But it doesn't work. The paths shown at the configuration page are all correct.
My site is at localhost in a subdirectory "localhost/tickets". As you can see at the screenshot the path is configured to "/tickets/sites/all/modules/ckeditor/plugins" which seems to be correct. However, ckeditor tries to load "/sites/all/modules/ckeditor/plugins/drupalbreaks/plugin.js?t=A39E".
Am I doing something wrong? Is it necessary to update ckeditor? Currently using 3.2.1
edit: updated to 3.6.2 and still no luck
Comment #17
haggins commentedhere's the screenshot
Comment #18
mkesicki commented@haggins do you see any errors in Firebug console (Firefox add-on) ? Please check in Firebug's Net tab if all request are correct. It looks that CKEditor search 'drupalBreaks' plugin in good place. Please check in "Editor appearance" tab of your CKEditor profile if you have drupal break plugin enabled in plugins section.
Please also try run update.php (drupal script) and clear all drupal cache. Please write if that helps or not.
Comment #19
haggins commentedthanks Michal! DrupalBreak plugin was enabled. However, after disabling, saving and enabling it again everything seems to work.