Hi all.
Surely I am missing something pretty simple here but I can't for the life of me work out why the sample CKfinder gives me the error 'folder not found'. I'm sure it has to do with the baseURL or baseDir being incorrect. I'm using MAMP locally on OSX. Here are my current settings.
$baseUrl = 'http://localhost/mysite/cms/ckeditor/ckfinder/userfiles/';
$baseDir = '/Applications/MAMP/htdocs/mysite/cms/ckeditor/ckfinder/userfiles/';
I would prefer to use resolveUrl so have also tried:
$baseUrl = '/mysite/cms/ckeditor/ckfinder/userfiles/';
$baseDir = resolveUrl($baseUrl);
Any help would be appreciated.
Thanks.
Mon, 11/28/2011 - 12:49
#1
Re: Installing CKfinder locally on MAMP
If $baseUrl contains the full URL (I mean, the protocol and the domain name), then resolveUrl() will not work.
So, you are right that you must set something like:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+