Results 1 to 3 of 3

Thread: Error 500 with Download Content Element

  1. #1
    New user
    Join Date
    12-18-09.
    Posts
    5

    Default 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.

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: Error 500 with Download Content Element

    Is there any error message in system/logs/error.log?
    Consulenza Contao CMS https://www.intco.it

  3. #3
    New user
    Join Date
    12-18-09.
    Posts
    5

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •