I am trying to use CKfinder but I can't get it to display images nor can I upload them. When I try to upload I get "The upload could not be completed (error 104)" If I try to make a subdirectory I get "It was not possible to create the folder due to file system permission restrictions.
Here is what I have in the config.php:
$baseUrl = '/userfiles/';
$baseDir = resolveUrl($baseUrl);
Here is what my userfiles directory looks like in /docs/FCKeditor242/editor/ckfinder
drwxrwxrwx 3 bvuser bv 512 Jul 30 14:36 userfiles/
Thanks.
Here is what I have in the config.php:
$baseUrl = '/userfiles/';
$baseDir = resolveUrl($baseUrl);
Here is what my userfiles directory looks like in /docs/FCKeditor242/editor/ckfinder
drwxrwxrwx 3 bvuser bv 512 Jul 30 14:36 userfiles/
Thanks.
Re: 104 error
Re: 104 error
Hi,
I am also having these issues.
Have set the permissions on both directories to 777
/www.mysite.com/web/content/userfiles
Have created an 'images' subfolder with permissions of 777
Have created an 'Images' subfolder with permissions of 777
Everything I try seems to fail with this bloody 104 error:
My config is set as follows:
$baseUrl = 'http://www.mysite.com/userfiles/';
$baseDir = resolveUrl($baseUrl);
Any help *Much appreciated..
Thanks,
MIchael
Re: 104 error
calling resolveUrl on a full url with http:// and the domain included will surely fail. You must manually set $baseDir in that situation.
Re: 104 error
I have tried about every permutation I can think of and I still always get the 104 error. Here is what I currently have:
$baseUrl ='http://mysite.com/Publishing_Images/image/';
$baseDir = '/Publishing_Images/image/';
Permissions are wide open on these directories.
Does ckfinder need to point to an "Images" folder?
Re: 104 error
Ignore baseUrl for now. Concentrate your efforts in baseDir, as it's all you need to run CKFinder and upload files. The baseUrl value will be used only to build the URL CKFinder returns when selecting a file inside of it, or when using the "View" context menu option.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: 104 error
Re: 104 error
To check this simply run this simple script:
ad search for GD entry, e.g. you should see messages like:
GD Support enabled
GD Version bundled (2.0.34 compatible)
JPG Support enabled
and so on
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+