Page 1 of 2
PDF and images are broken
Posted: 02 Oct 2014, 17:03
by derbronko
Hello,
if i upload a new file, the phocadownload will destroy it. if i try to download the file via website, the file is broken. if i directly open the file adress, the file is working perfectly.
this bug isn´t showing everytime, but i think there are round about 5o % broken.
i have this release of joomla: Joomla! 3.3.3 Stable [ Ember ] 25-July-2014 13:00 GMT
the phocadownload and the pd lugin are the current version (i think it´s 3.0.5)
Have anyone the same prolem and can tell me how to solve it?
Re: PDF and images are broken
Posted: 04 Oct 2014, 11:29
by Jan
Hi, did you ask your webhosting operator if there are no limits on your server, or some error when downloading the file (see e.g. errorLog) - Phoca Download does not manipulate with files, it just says to server, give this file for download and then everything is managed between user's browser and your server
Jan
Re: PDF and images are broken
Posted: 07 Oct 2014, 09:38
by derbronko
Hello Jan,
thank you for your advice.
The php-error.log contents two errors from pd:
[06-Oct-2014 12:42:32 Europe/Berlin] PHP Notice: Undefined offset: -1 in .../components/com_phocadownload/views/category/view.html.php on line 297
[06-Oct-2014 16:02:09 Europe/Berlin] PHP Notice: ob_end_clean() [<a href='ref.outcontrol'>ref.outcontrol</a>]: failed to delete buffer. No buffer to delete in .../administrator/components/com_phocadownload/libraries/phocadownload/download/download.php on line 235
They exists multiple times, of course...
Can you give me the power to fix it, with this informations?^^
Re: PDF and images are broken
Posted: 09 Oct 2014, 15:54
by tyson19
Which version of PHP you are using?
Re: PDF and images are broken
Posted: 09 Oct 2014, 15:58
by derbronko
tyson19 wrote:Which version of PHP you are using?
PHP: 5.3.29-1~dotdeb.0
MySQL: 5.5.28-29.1-log running with utf8_general_ci
Re: PDF and images are broken
Posted: 11 Oct 2014, 17:06
by Jan
Hi, hmmm, there should not be any problem with ob_get_clean

but the first error - which version of Phoca Download you are using?
Jan
Re: PDF and images are broken
Posted: 13 Oct 2014, 09:09
by derbronko
Jan wrote:which version of Phoca Download you are using?
Hey Jan, I´m using Phoca Download 3.0.5...
Re: PDF and images are broken
Posted: 14 Oct 2014, 22:10
by yellowwebmonkey
I am also having this problem:
PHP Built On Linux host2.nuqnet.com 2.6.32-27-pve #1 SMP Tue Feb 11 16:18:29 CET 2014 x86_64
Database Version 5.5.37-cll
Database Collation utf8_general_ci
PHP Version 5.3.29
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
Re: PDF and images are broken
Posted: 15 Oct 2014, 00:40
by Jan
Hi, which errors do you get there exactly?
Jan
Re: PDF and images are broken
Posted: 15 Oct 2014, 01:03
by yellowwebmonkey
[14-Oct-2014 15:56:38 America/Detroit] PHP Notice: ob_end_clean() [<a href='ref.outcontrol'>ref.outcontrol</a>]: failed to delete buffer. No buffer to delete in /home/public_html/administrator/components/com_phocadownload/libraries/phocadownload/download/download.php on line 235