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

  1. ivsystem
    Posted 4 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.


  2. ivsystem
    Posted 4 years ago #

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

  3. mandsconsulting
    Plugin Author

    Posted 4 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
    Posted 4 years ago #

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

  5. ivsystem
    Posted 4 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

  • Email Before Download
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic