Corrupt files delivered through PHP, Buddydrive needs ob_clean or ob_flush
-
Hello @imath,
I’ve run into this problem for the second time now. It seems that after a while of the Buddydrive plugin being installed and correctly functional, for some reason files being delivered through the PHP end up being corrupted. The first time I encountered the problem with Buddydrive 1.1.1, I was able to fix the issue by adding an ob_flush() or ob_clean() to the php code that delivers the buddydrive file. Since Buddydrive 1.2 I didn’t bother adding ob_flush/clean again, yet everything was working fine. Now all of a sudden I am experiencing corrupt downloads once again.
I am searching through all the Buddydrive files looking for the script that delivers the download to the user and cannot seem to find it so I can add the ob_flush/clean code again. Could you point me in the right direction to fix this? And is it possible you could add this to your next version.
- The topic ‘Corrupt files delivered through PHP, Buddydrive needs ob_clean or ob_flush’ is closed to new replies.