Page 1 of 1
Problems with FCKeditor2 and Firefox
Posted: Wed 13. Apr 2005, 00:19
by helmi
Hi there,
i just started playing with phpwcms today and wanted to get FCKeditor to work but it doesn't seem to be possible with Firefox (1.0.2 DE).
I get this JS-Errors within the JS-Konsole:
any idea?
IE 6 works very well but i don't want to use IE anymore *g*
Thanks,
Helmi
Posted: Wed 13. Apr 2005, 00:38
by Pappnase
hello
never seen this before.
are any security suites installed like norton internt security or personal firewalls!?
Posted: Wed 13. Apr 2005, 07:55
by pico
Hallo
Java und Javascript im FF aktivieren!
->Extras->Einstellungen...->WEB-Features
Posted: Wed 13. Apr 2005, 10:52
by helmi
Javascript and Java are both activated.
FCKEditor is working on the fckeditor.net and every other javascript is also working so this shouldn't be a local problem. Also everything is working with IE.
Thanks,
Helmi
Posted: Wed 13. Apr 2005, 10:57
by helmi
one other thing: HTMLArea also works fine with firefox - it's just FCKEditor wich isn't working
Posted: Wed 13. Apr 2005, 11:00
by helmi
i checked again and saw that the errormessages have changed and there are only two left:
Fehler: FCKConfig.BaseHref has no properties
Quelldatei: http://www.***/include/inc_ext/FCKeditor2/editor/js/fckeditorcode_gecko_1.js
Zeile: 26
Fehler: FCK.StartEditor is not a function
Quelldatei: http://www.***/include/inc_ext/FCKeditor2/editor/js/fck_startup.js
Zeile: 24
Posted: Wed 13. Apr 2005, 11:49
by helmi
one more strange thing.
i moved phpwcms to a subdirectory "x" - before it was in the root-directory.
the config looked like this before:
Code: Select all
$phpwcms["DOC_ROOT"] = "/home/www/web123/html";
$phpwcms["root"] = ""; //default: ""
it looks like this now:
Code: Select all
$phpwcms["DOC_ROOT"] = "/home/www/web123/html";
$phpwcms["root"] = "x"; //default: ""
now FCK works - strange, isn't it? Did i do something wrong before?
Posted: Wed 13. Apr 2005, 12:58
by pico
Hi
try it by this way
$phpwcms["root"] = "/x";
seems that the Editor didn't get the $BasePath Variable
Posted: Wed 13. Apr 2005, 15:09
by helmi
Thx Horst,
maybe you misunderstood me - it's working now with "x" but that's not a really good solution - i wanted have phpwcms in the root directory but FCKEditor is not working with an empty root-path!?
really strange...
any other help?
Posted: Wed 13. Apr 2005, 16:03
by pico
Hi
sorry for that - but for me it is working in root
// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "";
this is my conf.inc.php (Vers.1.2.1)
and this is in ../include/inc_ext/fckeditor2/fckeditor.php
Code: Select all
function FCKeditor( $instanceName )
{
$this->InstanceName = $instanceName ;
$this->BasePath = '/FCKeditor2/' ;
$this->Width = '100%' ;
$this->Height = '200' ;
$this->ToolbarSet = 'phpwcms' ;
$this->Value = '' ;
..fckeditor.js
Code: Select all
FCKConfig.BaseHref = 'http://www.mydomain.de' ;
.
.
FCKConfig.LinkBrowser = true ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70%
FCKConfig.ImageBrowser = true ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;