Page 1 of 1

fckEditorX problems in 'Fiji'

Posted: Tue Mar 14, 2006 10:06 am
by cirBlimey
Hi, hope someone can help:

CMSMS build: 0.12 'Fiji'
Apache 2.0.55 (win32) on WinXP pro
PHP 5.0.5
MySQL 5.0.15-nt

FCKEditorX doesn't want to play! if firefox, the only icons that display are the CMSMS palm trees, and in IE there is an error:

Line: 17
Char: 67
Error: 'FCK.LinkedField.value' is null or not an object
Code: 0

cheers

[attachment deleted by admin]

Re: fckEditorX problems in 'Fiji'

Posted: Tue Mar 14, 2006 5:17 pm
by gazoo
Hello,

I am experiencing a similar problem but only with the Mozilla browser (v.1.7.12). Whenever I go to edit a page, I don't even get any sort of WYSIWYG toolbar. Instead, the editor defaults to a form field where I can edit the HTML tags directly.

Interestingly though, it seems to work with IE (v.6.0.2800.1106).

The "Fiji" install is a fresh install on a 1&1 shared server:
Linux
Apache/1.3.33 (Unix)
PHP 4.4.2
MySQL 4.0.25

I hope that this helps the admins to troubleshoot the issue. And many thanks for a great CMS solution!

Cheers!

Re: fckEditorX problems in 'Fiji'

Posted: Wed Mar 15, 2006 2:52 pm
by Dusty
I have the same problem. I am running a test version of 0.12 under XAMPP on my localhost. In Firefox the icons fail to load, as does the content, in IE6 it throws up exactly the same page error. Running the older version of CMSMS in the same environment and it works fine.

Re: fckEditorX problems in 'Fiji'

Posted: Wed Mar 15, 2006 4:09 pm
by radoado
corBlimey wrote: Hi, hope someone can help:

CMSMS build: 0.12 'Fiji'
Apache 2.0.55 (win32) on WinXP pro
PHP 5.0.5
MySQL 5.0.15-nt

FCKEditorX doesn't want to play! if firefox, the only icons that display are the CMSMS palm trees, and in IE there is an error:

Line: 17
Char: 67
Error: 'FCK.LinkedField.value' is null or not an object
Code: 0

cheers
This problem is in file FCKeditorX.module.php.
Line: 249
OLD CODE (bad)

Code: Select all

function WYSIWYGTextarea ($name='textarea', $columns='80', 
                 $rows='15', $encoding='', $content='', $stylesheet='', $params='') {
NEW

Code: Select all

function WYSIWYGTextarea ($name='textarea', $columns='80', 
                 $rows='15', $encoding='', $content='', $stylesheet='', $params=array()) {

Re: fckEditorX problems in 'Fiji'

Posted: Thu Mar 16, 2006 10:52 am
by Dusty
Thats got it, thanks.

Re: fckEditorX problems in 'Fiji'

Posted: Thu Mar 16, 2006 9:28 pm
by Richard Em
Hi, I also have the problem where FCKeditor simply doesn't appear at all.  When editing content I just get plain old textareas.  I think I've switched it on everywhere I can find.  Am I missing something?

I'm using 0.12 'Fiji' and Camino (i.e. Gecko rendering engine).  JavaScript is enabled.  CMS is installed in a subdirectory of the root of my site.

Many thanks in advance for any help getting FCKeditor to appear :)

Re: fckEditorX problems in 'Fiji'

Posted: Thu Mar 16, 2006 9:36 pm
by Richard Em
Additional info:  it does work if I use IE from a Windows box.  Unfortunately I use Firefox, Camino or Safari - and it doesn't appear in any of those :(

Any guesses?

Re: fckEditorX problems in 'Fiji'

Posted: Fri Mar 17, 2006 10:28 pm
by Richard Em
Ok, weirdly it *does* work in Firefox (Mac).  But it *doesn't* work in Camino - supposedly a very similar browser (Gecko rendering, heavily based on Mozilla).

Does anyone think CMS or FCKeditor could be that sensitive to the User-Agent string from the browser?

Anyway if I find out why, I'll post here.  Maybe we can officially add Camino support...

em x

Re: fckEditorX problems in 'Fiji'

Posted: Fri Mar 17, 2006 10:35 pm
by jelle
There is some selection code in the fckeditor modules that test for certain strings in the user_agent string.

Code: Select all

if(ereg("MSIE", $_SERVER["HTTP_USER_AGENT"])) $ok = true;
if(ereg("Firefox", $_SERVER["HTTP_USER_AGENT"])) $ok = true;
if(ereg("Gecko/20051111", $_SERVER["HTTP_USER_AGENT"])) $ok = true;  //Maybe WRONG

if(ereg("Konqueror", $_SERVER["HTTP_USER_AGENT"])) $ok = false;
if(ereg("Safari", $_SERVER["HTTP_USER_AGENT"])) $ok = false;
if(ereg("Opera", $_SERVER["HTTP_USER_AGENT"])) $ok = false;
This is a very imprecise way to determine the browsertype. obviously the best way is to stick to the standard but this is how it is done now.  I suggest you try first with a user_agent string that matches any of these 'true' lines.

Re: fckEditorX problems in 'Fiji'

Posted: Mon Mar 20, 2006 5:38 pm
by Raven
Got the same problem myself. The fckEditorX does not work in my Mozilla browser, but does so in MSIE. I've tested the demo at the fckEditorX homepage, here it shows up in mozilla. I've also tested the demo for cmsmadesimple, the editor shows up here as well. However the latter is probably using an older or another WYSIWYG editor.

Re: fckEditorX problems in 'Fiji' OR 0.12.1 "Savusavu"

Posted: Fri Apr 07, 2006 1:52 pm
by FinnK
For me fckEditor works in Firefox, but NOT in IE!

In IE it does not show up at all - just plain white textareas  - and previously entered content does not show either.

Server is apache and php 4 as far as I know - I use a PC.

Re: fckEditorX problems in latest stable 0.12.1

Posted: Sat Apr 08, 2006 8:07 am
by trud
I got the same problem finn, using IE I can not even see the content I am going to edit, nor can I see anything to the FCK editor. However switching to FF, and it is like normal, I can edit content, add content, and for sure I can use and view FCK editor.

This is strange, I have used FCK editor for other cms's and never see things like this.
Anyone know how to fix this?

Re: fckEditorX problems in 'Fiji'

Posted: Thu Aug 24, 2006 5:21 pm
by okparrothead
Has there been a fix found for this error?

I'm running Fiji 1.2 on Redhat, but the FCKEditor doesn't come up when opened on some machines.

A single Windows XP machine using IE 6, not my desktop but another, and an older Mac Powerbook OS? using Safari.

I can check the Prefs panel and see that the FCKEditor is selected, but it does not work.

Thanks for any help you can give me.