I got a problem to see thumbnail and download file from File Gallery.
What I did are:
1. create a customized a folder for file gallery
2. point the file gallery folder destination to the new folder in setting.
3. upload a file
4. try to view the file and download the file, the system goes to endless loop, and no responds from server to client, logs are continuously generated till disk full.
Thu Jan 01 12:56:38 2014 error client 192.168.1.102 PHP Notice: ob_end_clean(): failed to delete buffer zlib output compression. in /apps/tiki/tiki-download_file.php on line 147, referer: http://tiki.mydomain.com/file1
5. after I check the code. in the tiki/tiki-download_file.php, line 146, it has below
while (ob_get_level()) {
ob_end_clean();
}// Be sure output buffering is turned off
6. I googled the coding, looks it should be changed as below.
while (ob_get_level()>1) {
ob_end_clean();
}// Be sure output buffering is turned off
7. I changed, the code, the file viewing and download are perfect. problem is solved.
Could any developer please review the code, if it is the way to go, please merge the change into the main trunk for future releases.
Thanks.
5. after I check the code. in the tiki/tiki-download_file.php, line 146, it has below
while (ob_get_level()) {
ob_end_clean();
}// Be sure output buffering is turned off
6. I googled the coding, looks it should be changed as below.
while (ob_get_level()>1) {
ob_end_clean();
}// Be sure output buffering is turned off
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |