PDF and images are broken

Phoca Download - download manager
derbronko
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Oct 2014, 16:57

PDF and images are broken

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PDF and images are broken

Post 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 :idea:

Jan
If you find Phoca extensions useful, please support the project
derbronko
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Oct 2014, 16:57

Re: PDF and images are broken

Post 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?^^
tyson19
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 09 Oct 2014, 15:47
Contact:

Re: PDF and images are broken

Post by tyson19 »

Which version of PHP you are using?
derbronko
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Oct 2014, 16:57

Re: PDF and images are broken

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PDF and images are broken

Post by Jan »

Hi, hmmm, there should not be any problem with ob_get_clean :idea: but the first error - which version of Phoca Download you are using?

Jan
If you find Phoca extensions useful, please support the project
derbronko
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Oct 2014, 16:57

Re: PDF and images are broken

Post by derbronko »

Jan wrote:which version of Phoca Download you are using?
Hey Jan, I´m using Phoca Download 3.0.5...
yellowwebmonkey
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Jan 2013, 19:47

Re: PDF and images are broken

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PDF and images are broken

Post by Jan »

Hi, which errors do you get there exactly?

Jan
If you find Phoca extensions useful, please support the project
yellowwebmonkey
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Jan 2013, 19:47

Re: PDF and images are broken

Post 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
Post Reply