Support » Plugin: Email Before Download » [Plugin: Email Before Download] Single download not working

  • Resolved ivsystem

    (@ivsystem)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I noticed you added this in the 2.6 version. Thanks.

    Plugin Author mandsconsulting

    (@mandsconsulting)

    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?

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

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Email Before Download] Single download not working’ is closed to new replies.