Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Dec 2010 at 11:45 UTC
Updated:
24 Mar 2011 at 10:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
matt bI can confirm that this is an issue. It happened to me after I added the input format "full_html_no_linebreak". Now I keep getting the following notices:
Comment #2
dczepierga commentedCould u give some more information about this issue?? Your config, modules, where u click etc...
Now I can't reproduce that, so i don't know how to fix it...
Comment #3
matt bI'm running Drupal 7.0 Release Candidate 3 on a local server on my network. Clean URLs are not enabled and the site is running in a subfolder on the webserver.
Here's the status report:
Drupal 7.0-rc3
Access to update.php Protected
CKEditor 3.5
Configuration file Protected
Cron maintenance tasks Last run 24 sec ago
Database system MySQL, MariaDB, or equivalent
Database system version 5.1.37-1ubuntu5.5
Database updates Up to date
Drupal core update status No update data available
File system Writable (public download method)
GD library rotate and desaturate effects 2.0 or higher
The GD Library for PHP is enabled, but was compiled without support for functions used by the rotate and desaturate effects. It was probably compiled using the official GD libraries from http://www.libgd.org instead of the GD library bundled with PHP. You should recompile PHP --with-gd using the bundled GD library. See the PHP manual.
Node Access Permissions Disabled
PHP 5.2.10-2ubuntu6.5 (more information)
PHP extensions Enabled
PHP memory limit 128M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Enabled
Upload progress Not enabled
Web server Apache/2.2.12 (Ubuntu)
Attached is the list of modules. Any other info you require?
Comment #4
jvanopstal commentedI also have this issue.
Fresh Drupal 7.0-rc4 minimal install.
Downloaded here the CKEditor - WYSIWYG HTML editor
Add new module => CKEditor - WYSIWYG HTML editor (tested both 7.x-1.0-rc1 and 7.x-1.x-dev)
Downloaded CKEditor and added it to the appropriate folder.
Enable module.
Press Configure.
Configuration opens with the following message (several copies off the same message.):
When I go to Recent log messages. Every message as shown above has an other message following:
First time I post something here. I hope it helps you to identify the problem.
With kind regards.
Jan.
Comment #5
liminu commentedsubscribe
Comment #6
matt bI've now transferred the site to a server where I can use Clean URLs and do not seem to be getting the problem.
Comment #7
dczepierga commentedI make a little fix and commit to CVS. I think this should help.
Pls confirm me if u still had problem with it or not.
Comment #8
jvanopstal commentedHellow,
I installed the new drupal release, and followed the same procedure as before while using the latest develop release of CKEditor Wysiwyg.
The problem didn't show anymore, and now I see the CKEditor replacing the textfields.
Thank you.
Greetings,
Jan
Comment #9
dczepierga commentedReally thx for review and confirmation.
So i mark this issue as fixed, if it will be still problem with it pls reopen it.
Comment #10
Frieder commentedWhen will 7.x-1.0-rc1 be updated? I hate to install dev-versions.
Comment #11
jvanopstal commentedNP.
Glad I could help.
Greetings
Jan
Comment #12
dczepierga commented@Frieder, the new release of CKEditor module will be in this week. We make now review before release, fix small bugs and after that we will make new stable version.
Greetings
Comment #13
SeeStein commentedI use new version 7.x-1.0 and have this issue
Undefined index: without_editor в функции ckeditor_profiles_compile() (строка 424 в файле Z:\home\base7\www\sites\all\modules\ckeditor\includes\ckeditor.lib.inc).
Comment #14
OnkelTem commentedDunno about 275th line, but 424th of ckeditor.lib.inc is hitting the warning after unbinding a profile from ANY input format. Then ckeditor_profiles_compile() function, if asked for a profile for unbound format will raise warning, since $_ckeditor_compiled[$input_format] is undefined.
Another issue, is with calling this function from 975th line - as far as I understood surrounding code - we don't need to get settings if there is no profile defined for the $format ($enabled = FALSE).
see the patch
Comment #15
dczepierga commented@OnkelTem, Really thx for patch.
I checked it and commit to CVS.
Greetings
Comment #17
tgriswold commentedThe problem still exists. Here is how you can recreate it … simply disable (turn off permissions) Filtered HTML.
I spent some time trying to get a clean install of CKEditor with Spellcheck and kept getting the same error as above “filtered_html in ckeditor_profile_load() (line 275...”. I started with a clean install and only enabled the following modules: Libraries, HTML Purifier, WYSIWYG, WYSIWYG Spellcheck, and then CKEditor. Without modifying anything it worked with no errors.
I started adding/tuning/testing and it continued to work error free until I turned permissions off on Filtered HTML. I created a new filter (called Limited HTML) and it still worked ok even after I configured the Limited HTML filter to use the CKEditor 3.5.2.6450.
Since I wanted Authenticated Users to use the Limited HTML filter I turned off permissions for Filtered HTML and the error was there on the next test. To test, I was simply creating test articles at each step. I turned Filtered HTML permissions back on and the error went away.
Incidentally, I have the following buttons enabled on Limited HTML. I don’t think these are the issue but just in case, here they are: Bold, Italic, Underline, Bullet list, Number list, Outdent, Indent, Link, Unlink, Check spelling as you type, & Teaser.
Comment #18
dczepierga commented@trigswold, pls try last stable version - I can't reproduce this bug there... for me everything seems to work good...
Greetings
Comment #19
bwill commentedI am using the latest version, an I am getting this as well. Started happening when I turned off filtered permissions for annon users. I logged out and entered a comment on a node.
The error is: Notice: Undefined index: plain_text in ckeditor_profiles_compile() (line 424 of ...\sites\all\modules\ckeditor\includes\ckeditor.lib.inc).
When I set the annon user permission to use filtered HTML, the error goes away.
Using clean urls, currently developing site on localhost.
I just don't want Annon users to be able to use the editor. As far as I can tell, there is nothing in th permissions that disable it for anon users. You used to be able to turn it off for a particular node, but I cant see how that is done in Drupal 7
Comment #20
dczepierga commented@bwill, pls create new issue for your bug, it's impossible to get error there in this line, so u probably not using last version of CKEditor module. Try to update/reinstall CKEditor module and if doesn't help pls open new issue with it.
HINT: Pls stop using WYSIWYG and CKEditor enabled in one installation of Drupal - it's impossible to use them both so it's make only errors like this one on this issue.
I closed this issue, if u find any bugs pls open NEW ISSUE and write all details about it.
Greetings
Comment #21
bwill commentedThis issue can stay closed as I ended up limiting the toolbar options for Filtered HTML and left it enabled for Anon users, only because of this issue. As for your comments, I said I was using the latest version and upon checking for a third time, I'm using the latest version you have available for download 7x -1.1. I do realize that this issue queue is for the dev version, but the error can be replicated with the current version as I have indicated. I was only trying not to create a duplicate issue. Also, I'm not sure why you would think I'm using the WYSIWYG module in the same installation - that would be silly, and is not the case. I will take you up on your suggestion of resubmitting in a new issue when I put start my next project on localhost, and will be glad to provide ony info needed. Thanks for your efforts on a great module.