As of Couch v1.4.5 this filemanager now ships as part of the installation zip.
Couch v1.4 (currently available for download as a release candidate here - viewtopic.php?f=5&t=7713) adds supports for one more filemanager - KCFinder.
This new filemanager has all the features one would expect from a modern filemanager -
- Thumbnail preview
- Full set of file manipulation functions (copy / move / delete)
- Select multiple files
- Multiple files upload (does not work in IE)
- Upload files using HTML5 drag and drop (for FF and Chrome only)
Installation:
1. Download the following zip
2. Extract the zip file to get a folder named 'kcfinder'.
3. Place it within your installation's 'couch/includes' folder.
4. In your installation's config.php, change the following directive from '0' to '1'
NOTE: If you've upgraded from a previous version of Couch to 1.4, the config.php will not have the above directive.
Please copy and paste the above code into it and change the '0' to '1'.
Troubleshooting:
If, after enabling KCFinder, you find that accessing the uploads folder or the uploaded images now results in '500 Internal Server error', the following could be the two most probable reasons
1. The files unzipped from kcfinder.zip have improper permissions. Please use the utility downloadable from viewtopic.php?f=8&t=7315 to set the right permissions.
2. KCFinder, as a security measure, creates a .htaccess file within your installation's uploads folder. Some hosts have problems with this file.
To rectify the issue, delete the newly created .htaccess file and then uncomment the following directive from 'kcfinder/config.php' (else KCfinder will recreate the .htaccess file)
Addendum:
On some servers you might find that the images get uploaded fine but the thumbnails do not appear in KCFinder (although the thumbnails do get created as could be verified by using a FTP client).
The reason is that, by default, the folder where KCFinder stores the thumbnails is named '.thumbs' (there is a dot in that). Some servers have a problem with this dot.
To rectify the problem, manually (using a FTP client) rename the '.thumbs' folder to something without a dot (say simply 'thumbs').
Then instruct KCFinder to use the new folder to store thumbnails.
This can be done by changing the following setting in 'kcfinder/config.php'
Couch v1.4 (currently available for download as a release candidate here - viewtopic.php?f=5&t=7713) adds supports for one more filemanager - KCFinder.
This new filemanager has all the features one would expect from a modern filemanager -
- Thumbnail preview
- Full set of file manipulation functions (copy / move / delete)
- Select multiple files
- Multiple files upload (does not work in IE)
- Upload files using HTML5 drag and drop (for FF and Chrome only)
Installation:
1. Download the following zip
2. Extract the zip file to get a folder named 'kcfinder'.
3. Place it within your installation's 'couch/includes' folder.
4. In your installation's config.php, change the following directive from '0' to '1'
- Code: Select all
// 25 // Set the following to '1' if you wish to use KCFinder as the default file-browser (will require PHP5 and modern browsers) define( 'K_USE_KC_FINDER', 0 );
NOTE: If you've upgraded from a previous version of Couch to 1.4, the config.php will not have the above directive.
Please copy and paste the above code into it and change the '0' to '1'.
Troubleshooting:
If, after enabling KCFinder, you find that accessing the uploads folder or the uploaded images now results in '500 Internal Server error', the following could be the two most probable reasons
1. The files unzipped from kcfinder.zip have improper permissions. Please use the utility downloadable from viewtopic.php?f=8&t=7315 to set the right permissions.
2. KCFinder, as a security measure, creates a .htaccess file within your installation's uploads folder. Some hosts have problems with this file.
To rectify the issue, delete the newly created .htaccess file and then uncomment the following directive from 'kcfinder/config.php' (else KCfinder will recreate the .htaccess file)
- Code: Select all
'_check4htaccess' => true,
- Code: Select all
// '_check4htaccess' => true,
Addendum:
On some servers you might find that the images get uploaded fine but the thumbnails do not appear in KCFinder (although the thumbnails do get created as could be verified by using a FTP client).
The reason is that, by default, the folder where KCFinder stores the thumbnails is named '.thumbs' (there is a dot in that). Some servers have a problem with this dot.
To rectify the problem, manually (using a FTP client) rename the '.thumbs' folder to something without a dot (say simply 'thumbs').
Then instruct KCFinder to use the new folder to store thumbnails.
This can be done by changing the following setting in 'kcfinder/config.php'
- Code: Select all
'thumbsDir' => ".thumbs",