Hello I downloaded the new beta, and it seems awesome so far.
However, if I try using it within PHP it does not work in firefox (works fine in IE). Even the sample does not work.
I am getting 3 javascript errors saying FCKLang is not defined.
Currently I just have to use the HTML solution which works fine in FF.
Any solutions or do I need to wait for another release?
However, if I try using it within PHP it does not work in firefox (works fine in IE). Even the sample does not work.
I am getting 3 javascript errors saying FCKLang is not defined.
Currently I just have to use the HTML solution which works fine in FF.
Any solutions or do I need to wait for another release?
Re: 2.6 beta php not working in firefox
All you need to do is reload FCK's files (or clear FF cache).
Re: 2.6 beta php not working in firefox
It doesn't help to flush the cache.
I got the following errors by Firebug:
Trying to test the same page in IE7 gives me only one error:
I use the following code for the integration in my PHP:
[php]
$editor = new FCKeditor('fulldescription');
$editor->BasePath = "includes/fck/";
$editor->Width = "100%";
$editor->Height = "300px";
$editor->ToolbarSet = "Basic";
$smarty->assign('editor', $editor->CreateHtml());
[/php]
I used to use an older version of FCKEditor and this settings worked without any error.
Re: 2.6 beta php not working in firefox
Re: 2.6 beta php not working in firefox
FCKeditor 2.6 Beta is broken in Firefox 3.0b4. (The textbox does not appear)
FCKeditor 2.6 Beta appears to work in IE 6.
Re: 2.6 beta php not working in firefox
FCKeditor 2.5.1 is also not working in Firefox 3.0b4.
Re: 2.6 beta php not working in firefox
You'll have to provide more info. I've tested http://www.fckeditor.net/demo and it works fine in FF 3b4, so it could be something on your side.
Re: 2.6 beta php not working in firefox
It doesn't work if it isn't uploaded to server.

If i loading it from disk like that:
file:///C:/fckeditor/_samples/default.html
editor form not shown.
But when the same content uploaded on server - all works fine.
P.S. Sorry for my English
Re: 2.6 beta php not working in firefox
Yes, loading from the filesystem doesn't work in FF3 due to https://bugzilla.mozilla.org/show_bug.cgi?id=230606. There are several bugs about this problem: https://bugzilla.mozilla.org/show_bug.cgi?id=404822 https://bugzilla.mozilla.org/show_bug.cgi?id=404678 https://bugzilla.mozilla.org/show_bug.cgi?id=402983 but for the moment it doesn't seems clear if they are going to fix it or not.
Unfortunately I don't think that it's possible to do anything from the editor except rewriting a lot of code and that doesn't looks reasonable.
Re: 2.6 beta php not working in firefox
What can it be?
Re: 2.6 beta php not working in firefox
Were you accessing the demo through local filesystem, or through local or remote web server?
Re: 2.6 beta php not working in firefox
I tested the demo today again and the new 2.6 RC is working fine \o/
Re: 2.6 beta php not working in firefox
Changing firefox parameter "security.fileuri.origin_policy" to "3" fixing this bug. Thanks for links.