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?
PDF and images are broken
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF and images are broken
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
Jan
If you find Phoca extensions useful, please support the project
-
derbronko
- Phoca Newbie

- Posts: 4
- Joined: 02 Oct 2014, 16:57
Re: PDF and images are broken
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?^^
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

- Posts: 1
- Joined: 09 Oct 2014, 15:47
- Contact:
Re: PDF and images are broken
Which version of PHP you are using?
-
derbronko
- Phoca Newbie

- Posts: 4
- Joined: 02 Oct 2014, 16:57
Re: PDF and images are broken
PHP: 5.3.29-1~dotdeb.0tyson19 wrote:Which version of PHP you are using?
MySQL: 5.5.28-29.1-log running with utf8_general_ci
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF and images are broken
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
Jan
If you find Phoca extensions useful, please support the project
-
derbronko
- Phoca Newbie

- Posts: 4
- Joined: 02 Oct 2014, 16:57
Re: PDF and images are broken
Hey Jan, I´m using Phoca Download 3.0.5...Jan wrote:which version of Phoca Download you are using?
-
yellowwebmonkey
- Phoca Newbie

- Posts: 4
- Joined: 11 Jan 2013, 19:47
Re: PDF and images are broken
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
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
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF and images are broken
Hi, which errors do you get there exactly?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
yellowwebmonkey
- Phoca Newbie

- Posts: 4
- Joined: 11 Jan 2013, 19:47
Re: PDF and images are broken
[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