Corrupted downloads suddenly, Joomla 2.5

Phoca Download - download manager
Suge1w
Phoca Member
Phoca Member
Posts: 18
Joined: 07 May 2013, 21:46

Corrupted downloads suddenly, Joomla 2.5

Post by Suge1w »

Hello Jan,

Suddenly my Joomla 2.5.19 site started corrupting download files. I have direct download DISABLED and file view ENABLED and all my files are suddenly not playing in Windows Media player, Real Player, Quicktime etc.. once download.

The files which are downloaded are MIDI files and I test every file before uploading. I know that Phoca Download doesn't touch the files once they are uploaded so what could be going wrong? I have meticulously checked and disabled every extension/module/plugin I have installed since I started having the issue and that doesn't seem to help. I have noticed however that the issue started around the time of the latest Joomla update, 2.5.19. I don't know if that is an issue because obviously I can not rollback Joomla updates.

The mystery deepens further as when I ENABLE direct link and DISABLE file view, everything works fine. So something is going wrong in file view that is corrupting the downloads.

It's a definite mystery for sure and I had to run a script to update 4500 rows in my database which was frustrating. :(

Phoca Download is the best extension on JED and hopefully, this issue will be fixed.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Corrupted downloads suddenly, Joomla 2.5

Post by Jan »

Hi, really no idea what can be wrong there, try to see this file:
components/com_phocadownload\helpers\phocadownload.php

line cca 135 and try to ask your webhosting provider if there are no limits regarding such headers on the server - such header were tested by thousands of users and in fact this is solution which works on many standard servers ... for now I cannot imagine any other problem there :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply