I get fckeditor to work beautifully. I've been using it for a while.
But what do I configure to save, store and upload images?
In
/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php
and
/FCKeditor/editor/filemanager/upload/php
I have set:
$Config['Enabled'] = true ;
$Config['UserFilesPath'] = '/Karnak/' ;
Should I set them to this???
$Config['UserFilesPath'] = '/var/www/vhost/glquebec.org/Karnak/' ;
CHMOD 777 is set to /var/www/vhost/glquebec.org/Karnak/
I just don't get it. Just in case, I have saved a *.gif to test if the editor can see the *.gif to see if the directory exists:
http://www.glquebec.org/Karnak/jnk.gif
in /var/www/vhost/glquebec.org/Karnak/
But I cannot see it.
I have installed a brand new copy of FCKeditor in the base directory:
/var/www/vhost/glquebec.org/FCKeditor/ - nothing touched in any config file just to be sure.
Come on someone, what is the secret code? I've RTFM. I just don't get it.
Mon, 04/17/2006 - 20:31
#1
RE: UserFilesPath
$Config['Enabled'] = true ;
$Config['UserFilesPath'] = '/Karnak/' ;
$Config['UserFilesAbsolutePath'] = '/var/www/vhost/glquebec.org/Karnak/' ;
This has got me No-Where too:
include("/var/www/vhost/glquebec.org/FCKeditor/fckeditor.php") ;
?>
<form action="<?php echo $PHP_SELF; ?>" method="post">
<?php $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = '/FCKeditor/'; $oFCKeditor->Height = '400'; include_once("/var/www/vhost/glquebec.org/Karnak/editor/display.inc") ; display(); $oFCKeditor->Value = $contents; $Config['Enabled'] = true ; $Config['UserFilesPath']= '/Karnak/'; $Config['UserFilesAbsolutePath'] = '/var/www/vhost/glquebec.org/Karnak/' ; $oFCKeditor->Create() ; ?>
RE: UserFilesPath
I added this:
var _FileBrowserLanguage = 'php' ;
var _QuickUploadLanguage = 'php' ;
http://wiki.fckeditor.net/Developer%27s ... ration/PHP
Now I can find a directory:
/Karnak/Image
But when I try to upload an image, nothing gets uploaded. I was able to create a direcotry.
CHMOD is 777. So that should not be an issue. I'll keep reading while I wait to see if someone can help.