Page 1 of 2

0 bytes when downloading

Posted: 08 Dec 2009, 07:07
by knkplans
i succed to upload my files (my files type is PDF), but when i downloaded i get 0 byte, and the file corrupt. my files size is small (about 100kb). i try to downloaded manualy, and the file is fine. is there anyone here could help me? thankyou verymuch,

Re: 0 bytes when downloading

Posted: 09 Dec 2009, 17:14
by Jan
Hi, try to check your server settings. Phoca Download give information about the file to browser only, so the download happens in your browser -> OS. Try to check it with other browser too. Try to check if you have some limitation on your server, and try to check the mime type of pdf, see settings of Phoca Download (there can be different mime types, so try to add other pdf mime type too, see google for searching pdf mime type codes)

Jan

Re: 0 bytes when downloading

Posted: 10 Dec 2009, 01:42
by knkplans
i already try with the different browser, still no luck. i try to check the server settings and find out that they don't have mbstring extension. is it possible that make the error?

Re: 0 bytes when downloading

Posted: 10 Dec 2009, 22:33
by Jan
No idea with mbstring :idea: :(

Re: 0 bytes when downloading

Posted: 10 Jun 2010, 14:19
by gen72
Hello, I have the same problem. 0 bytes and the file is corrupted if download from the web throw phoca.
If I write the complete url from the browser the file is downloaded good.

Any idea? Please

Re: 0 bytes when downloading

Posted: 12 Jun 2010, 14:04
by Jan
Can I see the site where this occurs?

Re: 0 bytes when downloading

Posted: 13 Jun 2010, 22:20
by Uhlik
Hi, i've got the same problem, with some files, other downloads seems to be ok, my webpage is crazyhub.net, try files in Jucy category

Re: 0 bytes when downloading

Posted: 14 Jun 2010, 12:03
by Jan
Hi, I see, no idea what can be wrong, try:

- check server settings, if there is no limitation
- test it with SEF disabled
- test to remove the numbers from alias of the files (should not be a problem as other files includes numbers and the download is working there)
- test to remove all the dots from file, from: jucy.macxx.xxx.xxx.zip to jucy-macxx-xxx-xxx.zip (the same like previous, other files include dots :idea: )

Jan

Re: 0 bytes when downloading

Posted: 14 Jun 2010, 20:04
by Uhlik
any combinations of filename with/without dots not work, any combinations of using/not using SEF not work... :cry:
edit: its my VPS server, with clean install of ubuntu server edition 9.10, running only one website (Joomla! 1.5.18) with latest Phoca Downloads, using AceSEF component (used Joomla! router for Phoca Download) on Jamba template, and one verlihub, no special limits for upload or download

Re: 0 bytes when downloading

Posted: 15 Jun 2010, 18:39
by Uhlik
its seems that that problem is not in your component, i tested jDownloads with the same results, i am tryed to use file.zip (32MB) and it was downloaded with 0B on both components, i tryed to set limits in php.ini in apache to 50 MB, to add limit to htacess in joomla to 50 MB, in Phoca Download the same limit, but results still the same, seems to be problem in whole Joomla! or some weird server settings, i will be searching for solution.
another problem is that i cant upload that file with using Phoca Download, its report that file is not in allowed files ( ofcourse it is allowed as zip file) or there are limits on server. early files was uploaded with gFTP, and are downloadable only with ftp.
seems somewhere is limit for files with around 10 MB and more.

The result is that the problem is not in Phoca Download component.
Good luck Jan and thans for your saupport and great component