fckEditorX problems in 'Fiji'

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
cirBlimey

fckEditorX problems in 'Fiji'

Post 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]
gazoo

Re: fckEditorX problems in 'Fiji'

Post 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!
Dusty

Re: fckEditorX problems in 'Fiji'

Post 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.
radoado
Forum Members
Forum Members
Posts: 31
Joined: Fri Sep 09, 2005 12:33 pm

Re: fckEditorX problems in 'Fiji'

Post 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()) {
Dusty

Re: fckEditorX problems in 'Fiji'

Post by Dusty »

Thats got it, thanks.
Richard Em

Re: fckEditorX problems in 'Fiji'

Post 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 :)
Richard Em

Re: fckEditorX problems in 'Fiji'

Post 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?
Richard Em

Re: fckEditorX problems in 'Fiji'

Post 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
jelle

Re: fckEditorX problems in 'Fiji'

Post 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.
Raven

Re: fckEditorX problems in 'Fiji'

Post 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.
FinnK

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

Post 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.
trud

Re: fckEditorX problems in latest stable 0.12.1

Post 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?
okparrothead
Forum Members
Forum Members
Posts: 36
Joined: Sun Feb 12, 2006 10:42 pm

Re: fckEditorX problems in 'Fiji'

Post 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.
"Contentment is a quality best suited for cows - not cowboys" -- Jimmy Buffet
Locked

Return to “CMSMS Core”