Forum Moderators: coopster

Message Too Old, No Replies

Working with the WYSIWYG FCKEditor

         

TheSeoGuy

6:56 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



Has anyone worked with the FCKEditor? It is a fantastic application and I have installed/used it countless times for Windows based web sites, but now I am attempting to use it on a UNIX server running PHP and cannot get it to work.

I am having problems with the image browse and upload features in particular. I'm pretty sure it has to do with folder paths and permissions, but I have tried what seems to be everything and still can't get it to see the correct folder.

Is anyone skilled in installing the FCKEditor on a UNIX server running PHP?

Thanks

itnecor

10:08 am on Jan 28, 2006 (gmt 0)

10+ Year Member



HiTheSeoGuy,

please check the 'fckconfig.js' and make sure that
the correct connector is enabled.

By default the connector is:
---------------------------------------------------------------------------------------------------------------------------------
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp';
---------------------------------------------------------------------------------------------------------------------------------

but if you are using other language like php, the appropriate connector should be enabled:

--------------------------------------------------------------------------------------------------------------------------------------
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php';
--------------------------------------------------------------------------------------------------------------------------------------

Also check the value of the following variables :

$basepath
$rootpath
$userfilespath

if they have an appropriate path.

TheSeoGuy

3:48 pm on Jan 30, 2006 (gmt 0)

10+ Year Member



Thanks for the info itnecor,

I have checked and triple checked all strings and connections.

I installed this on our primary UNIX host and everything works perfectly.

I cannot seem to get it to work with this other hosting company...

One thing I did do was go through and change permissions on every file in the editor and that at least got me to a different error. Instead of getting a JavaScript error when I open the image/file browser, I now get XML Request Error. (I know this is a question in the FAQ, but I have everything set correctly I believe...)

Could it be the version of PHP that is running on this particular server?