Problems with FCKeditor2 and Firefox
Problems with FCKeditor2 and Firefox
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
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
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
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
one more strange thing.
i moved phpwcms to a subdirectory "x" - before it was in the root-directory.
the config looked like this before:
it looks like this now:
now FCK works - strange, isn't it? Did i do something wrong before?
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: ""
Code: Select all
$phpwcms["DOC_ROOT"] = "/home/www/web123/html";
$phpwcms["root"] = "x"; //default: ""
Hi
sorry for that - but for me it is working in root
and this is in ../include/inc_ext/fckeditor2/fckeditor.php
..fckeditor.js
sorry for that - but for me it is working in root
this is my conf.inc.php (Vers.1.2.1)// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "";
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' ;