Incompatibility between workflow-ng and fckeditor

tc60045 - June 11, 2008 - 19:43
Project:FCKeditor - WYSIWYG HTML editor
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

Amitaibu - June 11, 2008 - 19:45
Status:active» active (needs more info)

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

#2

tc60045 - June 12, 2008 - 16:55
Status:active (needs more info)» closed

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!

#3

dugh - July 7, 2008 - 17:56

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.

#4

dugh - July 7, 2008 - 17:57
Status:closed» active

#5

tc60045 - July 7, 2008 - 18:00

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

#6

fago - July 8, 2008 - 08:11
Project:Workflow-ng» FCKeditor - WYSIWYG HTML editor
Version:5.x-2.1» 5.x-2.x-dev
Component:Wng Module Integration» Code
Category:support request» bug report

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

#7

tc60045 - July 8, 2008 - 20:30

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.

#8

Jorrit - July 10, 2008 - 14:35
Title:"Fatal error" - FCKeditor??» Incompatibility between workflow-ng and fckeditor

#9

wwalc - July 11, 2008 - 08:03
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)

#10

Anonymous (not verified) - July 31, 2008 - 04:46
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.