Forums | Mahara Community
Support
/
download.php is suddenly returning empty files
05 January 2010, 20:09
For some reason, download.php in my 1.1.x install has suddenly stopped working correctly. Zero length files are all that are returned. Uploading works fine and I have verified that the files are uploading correctly. The issue seems to only be with downloading. It doesn't matter what the filetype is, either. I haven't done any modifications to the download code at all and everything was working fine before.
Any thoughts as to what could be causing this problem?
Thanks
05 January 2010, 20:24
It appears that having ob_gzhandler as the output handler in the php.ini file results zero length files with download.php (at least that's what it looks like). It's fixed now, but I'll have to see how removing ob_gzhandler effects the page loading speeds.05 January 2010, 20:36
Seems to work fine with zlib, so I'll just use that (which I probably should have been doing all along).