Error 500 with Download Content Element
Since upgrading from Typolight 2.8.x to Contao 2.9, files over a certain size get an Error 500 when using the "Download" content element.
Code:
http://mysite.com/tl_files/myfile.ext
works just fine
Code:
http://mysite.com/downloadpage.html?file=tl_files/myfile.ext
downloads an empty file, and the Apache logs show a 500 error code.
It looks like Contao has added code to cut off downloading of files over 512MB-ish (I'm guessing). I use my installation as an internal software repository, so there's ISO files over 1/2gig that I was able to host before. I'm aware of Apache's 2GB file limit, and have segmented anything that's over 2GB, but I can't even host a CD image file if Contao cuts off at 512MB.
Re: Error 500 with Download Content Element
Is there any error message in system/logs/error.log?
Re: Error 500 with Download Content Element
Turns out Contao needs a little more memory than Typolight did. I had to up PHP's memory limit then it started working fine again.