After updating Drupal to 6.8 and FCKeditor to rc6, I've got this error that totally blocked Drupal (just the error is displayed and nothing can be done):

Call to undefined function: fckeditor_iscompatiblebrowser()
in /workdisk/home/web/fr_sandon/www.sandon.it/htdocs/sites/all/modules/fckeditor_/fckeditor/fckeditor_ph... on line 110

Comments

ldsandon’s picture

Site running on PHP 4.4.8

wwalc’s picture

Please update FCKeditor (the editor) to 2.6.3 and let me know whether you're still experiencing this problem.

Duplika’s picture

Same happens here on 5.x-2.2-rc6 and PHP 5.2.6 (Fatal error: Call to undefined function FCKeditor_IsCompatibleBrowser() in /home/path-to-drupal/sites/all/modules/fckeditor/fckeditor/fckeditor_php5.php on line 105)

Duplika’s picture

Forgot to say, I'm running PHP 5.2.8 and FCKeditor 2.6.3.

Duplika’s picture

I'm sorry for the confusion, I didn't have FCKeditor 2.6.3. I have updated it now and everything works fine.

wwalc’s picture

Status: Active » Closed (works as designed)

The problem is that in FCKeditor 2.6 the definition of FCKeditor_IsCompatibleBrowser() function was in fckeditor.php (in FCKeditor 2.6.1 this change has been reverted due to problems reported by people including fckeditor.php more than once). In any other version than FCKeditor 2.6, the FCKeditor_IsCompatibleBrowser function is defined in fckeditor_phpX.php file.

To solve the issue with include path: #344765: PHP Fatal error: Class 'FCKeditor' not found in /path/to/httpdocs/sites/all/modules/fckeditor/fckeditor.module on line 843 fckeditor.module now includes fckeditor_phpX.php. Unfortunately it makes the latest version of FCKeditor module incompatible with FCKeditor 2.6.

Fortunately, the solution for this issue is simple: if you're using the 2.6 version of the FCKeditor, upgrade to the latest stable version: http://www.fckeditor.net/download

decibel.places’s picture

I was using an older version of FCKeditor 2.6.3 and had this problem

I have upgraded to the latest version 2.6.3 and it is ok