Hi,
I believe I have installed the demo version of CkFinder correctly.
When I click the image icon in FCKeditor i do get the correct CkFinder page
however it will not upload files.
I have set the permissions on my userfiles dir to 777 i've enabled CKfinder in it's config file
and set the baseUrl to "http://www.mysite.com/userfiles/"
Is there anywhere else I could be going wrong? I would like to buy this software today but am
reluctant to if I can't get it to work..
Many thanks,
Michael
Wed, 08/01/2007 - 13:34
#1
Re: Unable to upload file error 104
Setting permissions to 777 only on "userfiles" directory may be not enough.
If you have any other directories inside "userfiles", make sure that web server has write permissions also to each of them (also including files).
(You can chmod directories recursively with -R flag.)
Please try to chmod image directory to 777 and let me know whether problem still persists.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Unable to upload file error 104
I have chmodded both directories to 777
I have tried creating a directory call 'Images' and one called 'images'
both chomodded - still no luck.
Interestingly when I manually upload a file into one of those directories it shows
'Folder empty' no matter how many times I click refresh.
Any help greatly appreciated,
Cheers,
M
Re: Unable to upload file error 104
Please try setting $baseDir in config.php to the full path of your userfiles directory (where you created images and Images and uploaded manually sample files), e.g. /home/login/public_html/ckfinder/userfiles/.
So instead of:
please insert something similar to:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Unable to upload file error 104
Wiktor is correct... check out Alfonso's comment in another post:
viewtopic.php?f=10&t=6401#p17295
The resolveUrl function is able to "resolve the base URL" only if it is a URL like "/userfiles/". As you are using a full URL, like "http://www.mysite.com/userfiles/", that function will not work, and in these cases you must set $baseUrl to the absolute path of your folder.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Unable to upload file error 104
Ok, so to clarify:
I am setting
$baseDir = '/home/pathto/userfiles/';
What should I set $baseUrl to?
Should it be
a. Commented out
b. 'http://www.mysite.com/userfiles/ OR
c. '/userfiles/'
Thanks,
Michael
Re: Unable to upload file error 104
* anything, that is a valid url, with trailing slash
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Unable to upload file error 104
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Unable to upload file error 104
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn