When I try to edit a condition that is inside an "OR" group, I get the following message:

Fatal error: Cannot redeclare fckeditor_iscompatiblebrowser() (previously declared in /home/user1/public_html/drupal/modules/fckeditor/fckeditor/fckeditor.php:30) in /home/user1/public_html/drupal/modules/fckeditor/fckeditor/fckeditor.php on line 6

I'm baffled -- FCKeditor is excluding admin/* . Can anyone recommend a quick patch / workaround so I can edit these rules?

Thanks much!

TC

Comments

amitaibu’s picture

Status: Active » Postponed (maintainer needs more info)

Please give some more info, what is the configuration you are using?

ifbyphone1’s picture

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

I think I solved it with a lot of trial and error -- was a rule gone bad and I'm now using custom PHP for everything... Thanks, though!

dugh’s picture

I am seeing this error.

Cannot redeclare fckeditor_iscompatiblebrowser

I hit that 'indent' button, and now I can't remove it because of this error.

dugh’s picture

Status: Closed (fixed) » Active
ifbyphone1’s picture

Dugh,

I got around this by turning FCKeditor off for a few minutes while I edited the And / Or structures in NG. Once I was done, I just turned FCKeditor back on.

Hope that helps.

TC

fago’s picture

Project: Workflow-ng » FCKeditor - WYSIWYG HTML editor
Version: 5.x-2.1 » 5.x-2.x-dev
Component: Wng Module Integration » Code
Category: support » bug

sounds like a bug of the fckeditor - I change the issue to this project.

ifbyphone1’s picture

that's right, fago -- good call.

for the FCK folks, I tried every exclusion known to man to prevent fckeditor from throwing this error with ng. I used exclusions with wildcards to no avail.

Jorrit’s picture

Title: "Fatal error" - FCKeditor?? » Incompatibility between workflow-ng and fckeditor
wwalc’s picture

Status: Active » Fixed

This bug is caused by including fckeditor.php twice in the code, in any case upgrading to FCKeditor 2.6.2 should solve this issue... and it will be fixed in 5.x-2.2-beta2.
You may already try this file to see if it works:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fckeditor/f...
(download it and save as fckeditor.module)

Anonymous’s picture

Status: Fixed » Closed (fixed)

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