Problems with FCKeditor2 and Firefox

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
helmi
Posts: 9
Joined: Wed 13. Apr 2005, 00:13
Contact:

Problems with FCKeditor2 and Firefox

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

Image

any idea?

IE 6 works very well but i don't want to use IE anymore *g*

Thanks,
Helmi
Pappnase

Post by Pappnase »

hello

never seen this before.
are any security suites installed like norton internt security or personal firewalls!?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hallo

Java und Javascript im FF aktivieren!

->Extras->Einstellungen...->WEB-Features
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
helmi
Posts: 9
Joined: Wed 13. Apr 2005, 00:13
Contact:

Post 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
helmi
Posts: 9
Joined: Wed 13. Apr 2005, 00:13
Contact:

Post by helmi »

one other thing: HTMLArea also works fine with firefox - it's just FCKEditor wich isn't working :(
helmi
Posts: 9
Joined: Wed 13. Apr 2005, 00:13
Contact:

Post 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
helmi
Posts: 9
Joined: Wed 13. Apr 2005, 00:13
Contact:

Post 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?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

try it by this way
$phpwcms["root"] = "/x";
seems that the Editor didn't get the $BasePath Variable
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
helmi
Posts: 9
Joined: Wed 13. Apr 2005, 00:13
Contact:

Post 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?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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' ;

Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply