Can someone kindly tell me why CKFinder just does not work on my server? All that happens is I get a file/folder viewer but it is completely empty. ie. the UI loads but has no files/folders in it.
As far as I know my paths are set correctly.
Help!!
As far as I know my paths are set correctly.
Help!!
Re: CKFinder Doesn't Work!
What's your server?
What's your configuration?
Is there any file/folder on the configured path?
Re: CKFinder Doesn't Work!
Linux server - with PHP installed.
My config file path is:
$baseUrl = 'http://www.itsright.co.uk/subsite/meetingadmin/ckfinder/userfiles/';
$baseDir = resolveUrl($baseUrl);
I've tried baseDir as teh absolute path as well and it doesn't work.
What do you mean is there any file/folder on the configured path?
Re: CKFinder Doesn't Work!
Unfortunately resolveUrl will not resolve the path properly when you $baseUrl it to the full URL.
Set $baseDir to the absolute path manually (remember about slash at the beginning).
If CKFinder still doesn't load, please send me a PM with url + test login/password where I can check it.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder Doesn't Work!
Wiktor,
I use the TextArea replacement method and have a similar problem.. all seemed fine while installing on Win2000 Server, but replicating the same on a Red Hat Linux, I now get a browser error - Line 12, char 9, 'FCKeditor' is undefined whe attempting to load a page with the editor.
I am aware of Linux being pedantic on UPPER/lower case, so I tried re-naming the files and paths..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Omni Data CMS</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'fFileCont' ) ;
oFCKeditor.BasePath = "/fckeditor/" ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
</head>
but no difference. Anything obvious I should know about?
Regards,
Rosti.
Re: CKFinder Doesn't Work!
There's nothing tricky here, really. Simply unpack FCKeditor to your "public_html" folder, go to the _samples dir and launch some samples.
One thing I have to mention - FCKeditor 2.3 was distributed in "FCKeditor" directory (first three letters uppercased), since 2.4 we use "fckeditor" (all letters are lowercased).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder Doesn't Work!
i have a problem with $baseUrl/$baseDir
this configuration is not working
$baseUrl = 'http://sub.example.com/datastore/'.$_SESSION['remotedomainname'].'/';
$baseDir = '/var/www/vhosts/example.com/subdomains/sub/httpdocs/datastore/'.$_SESSION['remotedomainname'].'/';
this works but i need absolute path
$baseUrl = '/datastore/'.$_SESSION['remotedomainname'].'/';
$baseDir = resolveUrl($baseUrl);
Re: CKFinder Doesn't Work!
make sure that when you have the following configuration (which looks correct):
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+