I installed the 3.0.5 version on Joomla 3.3 and my files are corrupted.
The download panel looks fine, but when i try to download something the file is empty (i.e. zip files) or corrupted (i.e. pdf files). I've no output for zip files who are downloaded correctly but are empty, while for pdf files here it is the output whe i try to open the file.
I also tryed to unistall and install it again, but nothing changed.
Please help!!
[SOLVED]downloads are empty or corrupted
-
- Phoca Member
- Posts: 16
- Joined: 26 Jan 2011, 19:05
[SOLVED]downloads are empty or corrupted
Last edited by ptux on 30 Jul 2014, 14:08, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: downloads are empty or corrupted
Hi, can you paste a link to the corrupted file, so I can take a look into the source code - to see - if there is no generated error on your server 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 16
- Joined: 26 Jan 2011, 19:05
Re: downloads are empty or corrupted
here is an exemple of zip file (you can download it but looks empty...)
http://www.tendopoli.it/index.php?optio ... Itemid=936
and here is an exemple of pdf file (you can download it but it's corrupted...)
http://www.tendopoli.it/index.php?optio ... Itemid=936
When i try to open the pdf document, i read:
Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in /administrator/components/com_phocadownload/libraries/phocadownload/download/download.php on line 235
Actually, i purged the db of phocadownload and reinstalled and re-update many files... and something changed coz it opens 2 reader: one with the posted message and one with the file.
Thanks for your prompt reply.
http://www.tendopoli.it/index.php?optio ... Itemid=936
and here is an exemple of pdf file (you can download it but it's corrupted...)
http://www.tendopoli.it/index.php?optio ... Itemid=936
When i try to open the pdf document, i read:
Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in /administrator/components/com_phocadownload/libraries/phocadownload/download/download.php on line 235
Actually, i purged the db of phocadownload and reinstalled and re-update many files... and something changed coz it opens 2 reader: one with the posted message and one with the file.
Thanks for your prompt reply.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: downloads are empty or corrupted
Hi, try to open this file on your server:
/administrator/components/com_phocadownload/libraries/phocadownload/download/download.php
and change on line 235
FROM:
ob_end_clean();
TO:
@ob_end_clean();
and let me know if it helped.
Jan
/administrator/components/com_phocadownload/libraries/phocadownload/download/download.php
and change on line 235
FROM:
ob_end_clean();
TO:
@ob_end_clean();
and let me know if it helped.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 16
- Joined: 26 Jan 2011, 19:05
Re: downloads are empty or corrupted
Yes, Jan. It seems it works well now.
Thanks for your kind help.
Thanks for your kind help.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: downloads are empty or corrupted
Ok, thank you for the info
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: [SOLVED]downloads are empty or corrupted
Hi, set in version 3.0.6
Jan
Jan
If you find Phoca extensions useful, please support the project