**Quick fix -
**
This fix goes out to all the people who have an evergrowing handful of zen-cart clients and want to cotstantly use FCKeditor with less configuration.
This involves detecting the location of the myfiles folder, so you don't have to constantly change it :)
In editors\fckeditor\editor\filemanager\connectors\php\config.php, add the following code to the top:
//Get the path of the current server and strip it down to the first folder.
$path = $_SERVER["SCRIPT_FILENAME"];
$file = dirname($path); // $file is set to "/etc"
$stripped_file = str_replace("editors/fckeditor/editor/filemanager/connectors/php", "", $file);
$relpath = $_SERVER["PHP_SELF"];
$relfile = dirname($relpath); // $file is set to "/etc"
$rel_stripped_file = str_replace("editors/fckeditor/editor/filemanager/connectors/php", "", $relfile);
And then change the $Config['UserFilesPath'] and $Config['UserFilesAbsolutePath'] to the following:
// Path to user files relative to the document root.
$Config['UserFilesPath'] = $rel_stripped_file . 'myfiles/' ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = $stripped_file . 'myfiles/' ;
Bit of a crazy workaround, but it does save you time.