This happened as soon as I installed CKEditor.
Now every time I try to get to modules or Configuration - this is what I get.

CommentFileSizeAuthor
#14 unused_profile_warning.patch965 bytesOnkelTem
#3 Modules.pdf554.92 KBmatt b

Comments

matt b’s picture

I 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:

Notice: Undefined index: full_html_no_linebreak in ckeditor_profiles_compile() (line 424 of /..../sites/all/modules/ckeditor/includes/ckeditor.lib.inc).
dczepierga’s picture

Could 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...

matt b’s picture

StatusFileSize
new554.92 KB

I'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?

jvanopstal’s picture

I 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.):

Notice: Undefined index: filtered_html in ckeditor_profile_load() (line 268 of c:\PathToMySite\sites\all\modules\ckeditor\ckeditor.module).

When I go to Recent log messages. Every message as shown above has an other message following:

Notice: Trying to get property of non-object in ckeditor_profile_load() (line 268 of c:\PathToMySite\sites\all\modules\ckeditor\ckeditor.module).

First time I post something here. I hope it helps you to identify the problem.

With kind regards.

Jan.

liminu’s picture

subscribe

matt b’s picture

I've now transferred the site to a server where I can use Clean URLs and do not seem to be getting the problem.

dczepierga’s picture

Status: Active » Needs review
Issue tags: +D7, +#d7ux, +ckeditor-7.x

I 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.

jvanopstal’s picture

Hellow,

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

dczepierga’s picture

Status: Needs review » Fixed

Really thx for review and confirmation.

So i mark this issue as fixed, if it will be still problem with it pls reopen it.

Frieder’s picture

When will 7.x-1.0-rc1 be updated? I hate to install dev-versions.

jvanopstal’s picture

NP.

Glad I could help.

Greetings

Jan

dczepierga’s picture

@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

SeeStein’s picture

Version: 7.x-1.0-rc1 » 7.x-1.0

I 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).

OnkelTem’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
StatusFileSize
new965 bytes

Dunno 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

dczepierga’s picture

@OnkelTem, Really thx for patch.

I checked it and commit to CVS.

Greetings

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

tgriswold’s picture

Status: Closed (fixed) » Needs work

The 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.

dczepierga’s picture

@trigswold, pls try last stable version - I can't reproduce this bug there... for me everything seems to work good...

Greetings

bwill’s picture

I 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

dczepierga’s picture

Status: Needs work » Closed (fixed)

@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

bwill’s picture

This 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.