WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] File size limit issue on downloads (7 posts)

  1. jeremycaris
    Member
    Posted 2 years ago #

    I recently purchase the Stripe and Mailchimp addons, and tested my first download successfully. Then, my second seemed to work except that after clicking on the download link, the file downloaded at zero bytes. Through trial and error, I found that there seems to be a file size limit for the downloads. I found that if the download is 6mb or under, it works perfectly. Anything larger, and the download is corrupt with zero to a few hundred bytes in file size. Most of the downloads that I planned to sell through this plugin are sets of mp3's which are 20-40mb each. What can I do to fix this issue? I just installed the plugin and extensions with the latest versions, on WordPress 3.4.

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    It sounds like your server has a limit on the size of file that can be read via URL. Try defining the EDD_READ_FILE_MODE constant to "header", as described here: http://easydigitaldownloads.com/docs/edd_read_file_mode/

  3. jeremycaris
    Member
    Posted 2 years ago #

    That fixed the issue, but the browser wants to play the file instead of triggering a download. Is there any adjustment that I can make to my php.ini file to change the limits instead?

  4. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    What file type is it?

  5. jeremycaris
    Member
    Posted 2 years ago #

    mp3

  6. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Try removing the EDD_READ_FILE_MODE and adding this instead:

    ini_set('allow_url_fopen', 'on');

  7. jeremycaris
    Member
    Posted 2 years ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.