Showing posts with label FCKeditor. Show all posts
Showing posts with label FCKeditor. Show all posts

Wednesday, April 22, 2009

FCK EDITOR Error:Permission denied function.mkdir

solution
Open the file fckeditor\editor\filemanager\connectors\php\config.php

Give correct value for this parameters

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/imagesedit/' ;

// 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'] = '/home/mysite/public_html/imagesedit' ;

Check the Folder permissions

Monday, November 03, 2008

FCK editor integration in RunCMS

include_once(XOOPS_ROOT_PATH.'/class/fckeditor/fckeditor.php');
$runFCKeditor = new FCKeditor('content');
$runFCKeditor->BasePath = XOOPS_URL."/class/fckeditor/";

//$runFCKeditor->create();

if ($runFCKeditor->IsCompatible() && $editorConfig["displayeditor"] == 1 && $editorConfig["displayforuser"] == 1 && $xoopsUser)
{
$runFCKeditor->EchoEditArea('content', $news->hometext);
//$runFCKeditor->create();
}