WordPress.org

Ready to get started?Download WordPress

Forums

Email Before Download
[resolved] Single download not working (5 posts)

  1. ivsystem
    Member
    Posted 2 years ago #

    I've been trying to get email before download (version 2.5.1) to work with a single download. After filling out the form and clicking the download link, I'm only presented an empty page.

    After quite some investigation, I found out that the ebd_link table is never filled in, so my download can never be found and cannot be downloaded.

    Some more investigation showed that in email-before-download.php on lines 366-371, you forget to fill in field selected_id. This may not be used at all, but your current table description says this is a required field (i.e. it cannot be NULL but has no default value). I've added this manually, setting it to 0 (don't know if that's the correct value), and now the download is working as advertised.

    http://wordpress.org/extend/plugins/email-before-download/

  2. ivsystem
    Member
    Posted 2 years ago #

    I noticed you added this in the 2.6 version. Thanks.

  3. mandsconsulting
    Member
    Plugin Author

    Posted 2 years ago #

    Hi ivsystem,

    Indeed. Didn't get a chance to post on this before, but did want to thank you for pointing that out. It didn't cause any issues in my testing previously, but has this helped you and things working okay at this point?

  4. ivsystem
    Member
    Posted 2 years ago #

    Yup, it's working now. But I think I found another issue. Will open a new thread on that one.

  5. ivsystem
    Member
    Posted 2 years ago #

    Sorry, issue was in Contact Form 7. I have a recommendation though, will post in new thread.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic