Hallo,
I saw that files uploaded with CKFinder and QuickUpload go to different folders
So, files uploaded with CKFinder go to "images" folder
Files uploaded with QuickUpload go to "image" folder (no final "S"), and of course there's no way to browse them since they are outside the "images" folder
Is there a way to fix this issue?
Thanks
I saw that files uploaded with CKFinder and QuickUpload go to different folders
So, files uploaded with CKFinder go to "images" folder
Files uploaded with QuickUpload go to "image" folder (no final "S"), and of course there's no way to browse them since they are outside the "images" folder
Is there a way to fix this issue?
Thanks
Re: Uploaded files with CKFinder and QuickUpload
In fact, you don't have to wait and can test it even today by downloading the "nightly build".
Paths in CKFinder can be adjusted via config file, so you can remove "s" at the end of folder names.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Uploaded files with CKFinder and QuickUpload
Thanks again, Wiktor
I tried to configure paths in the config.php file of CKfinder, but had no luck: folders on the left column disappear...
Instead of removing "s" on CKfinder paths, I added the final "s" to "image/" and file/" in the config.php file of FCKeditor, on the following lines:
114
115
121
122
So, in conjunction with the slight modifications made to Quick Upload paths in 2.5 SVN version (viewtopic.php?f=6&t=7136) now both Ckfinder and QuickUpload target the same folders
Is this correct?
Thanks!
Re: Uploaded files with CKFinder and QuickUpload
It worries me a bit that you couldn't change paths in CFKFinder config.
Did you use Firebug to trace AJAX calls and check error log? Maybe that could explain what happened.
Anyway, I'm glad that you manage to configure it!
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Uploaded files with CKFinder and QuickUpload
I just installed Firebug but don't know how to use it: where and what should I check, please?
Here's a screenshot of what happens if I remove the "s" form the following lines in the config.php of CKfinder:
146
147
148
154
155
156
(I don't know if there's something else to modify)
Thanks
Attachments:
Re: Uploaded files with CKFinder and QuickUpload
To use Firebug, first you have to enable it (Tools -> Firebug -> Open Firebug). At the bottom of your screen you should see a new window.
Select Console tab to trace all AJAX calls. Also, if any javascript error occurs, you will see red warning in the right bottom corner (click it for more details).
I've tried to reproduce that error, and it seems to me that either you had invalid resource types defined in the following line:
(perhaps you forgot to remove "s" also here if you changed resource name as well)
or probably you forgot to adjust AccessControl entries.
The only place where you had to change directory name were directory and url, like in this example:
Again thanks for the info, it helped us to understand that we need to work more intensively on displaying appropiate errors to the user.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Uploaded files with CKFinder and QuickUpload
Thanks to you, Wiktor
Yes, I see that the default config.php file in CFfinder comes with an empty string: