Support » Plugin: Email Before Download » File Download Not starting

  • Cx Rana

    (@ahrana)


    Hello, This is the website http://agilecoachtools.com

    there is a subscription form in homepage,see the “SUBSCRIBE” section.

    when i enter email address, download icon shown, but links not worked. i mean download not started.

    can you check and please help me to resolve the issue ?

Viewing 11 replies - 1 through 11 (of 11 total)
  • dtynan

    (@dtynan)

    The download link that is appearing is missing the “download.php”, which is weird. The one on your site is:

    http://agilecoachtools.com/wp-content/plugins/email-before-download/?dl=ea454f5f5bf344e81c856c5d1b615ae1

    but it should be:

    http://agilecoachtools.com/wp-content/plugins/email-before-download/download.php?dl=ea454f5f5bf344e81c856c5d1b615ae1

    However, even when I try the corrected URL it still does not work. What it does is gives the browser a 302 Location but no URL to go to (a 302 Location redirects the browser). That’s definitely weird.

    Go into the “Downloads” section of your wordpress admin menus (which is Download Monitor) and Edit your download so you can get to the detail screen. Look at the top-right part of that edit screen and there should be a URL which is the URL to get your download using Download Monitor (in other words, without using CF7 or EBD). Copy that URL and paste it into a different browser (a browser that is not logged in to your website) and see if it will download the file. If it does not download, then your problem is that the download file entry is messed up somehow — try making a new one & changing your shortcode. If it does download then update this item with that URL, plus the EBD shortcode you are using, and also check the “hide/mask” URL option in the EBD Settings

    dtynan

    (@dtynan)

    I just realized they released a new version of EBD that gets rid of the “download.php” part of the download URL. So that explains why that’s missing on yours. Hmmm. That might be the cause of the issue you’re seeing .. or it might not. It’s certainly suspicious.

    Thread Starter Cx Rana

    (@ahrana)

    Hello, Thanks for respond.

    when I go to edit of downloads, then from the TOP Screen of Editing, file url is “http://agilecoachtools.com/download/416/”

    and downloads works, now can you tell me the problem please ?

    I am using contact form 7 and download monitor,and all plugin is latest version,my contact form is below, see:

    <div id=”asaphide”>
    [email* email-988 placeholder “enter email address”]
    [submit “Send”]

    </div>

    and now here is my short code for homepage:

    [email-download download_id=”416″ contact_form_id=”5″]

    can you please help me with that ?

    dtynan

    (@dtynan)

    Oh, I see the problem — I completely missed it when I looked yesterday. You cannot name the email field “email-988”. It must be named “your-email” or else things won’t work. Fix your CF7 form.

    Thread Starter Cx Rana

    (@ahrana)

    Hey @dtynan

    Thanks a lot for helping with the issue, problem solved now…

    your’e wonderful mate.

    vinniegtvr

    (@vinniegtvr)

    @dtynan

    Hello I got the same problem. When I enter the email in the form the inline link appears (so everything looks to work until there).
    However when I click on the link a blank page opens (as I selected to open the download in a new page) and nothing happens. I tried to use the same page as target of the download or changing the download itself but nothing happens.

    After reading your previous reply I tried what you propose but

    When I go into the “Downloads” section of my wordpress admin menu (Download Monitor) editing my download, in the detail screen, at the top-right part I get the URL to get the download using “Download”. The file URL is something like “http://mywebsite.com/download/ID/”. When I paste this URL in the browser the downloads works fine and I am able to download the file.

    I am using contact form 7 and download monitor,and all plugin is latest version,my contact form is below:

    <label> Your Name (required)
    [text* Name your-name]</label>

    <label> Your Email (required)
    [email* email your-email]</label>

    [submit “Download”]

    can you please help me with that ?

    • This reply was modified 4 years ago by vinniegtvr.
    Thread Starter Cx Rana

    (@ahrana)

    Hey @vinniegtvr

    your form look like not properly generated.

    your form should be like below form:

    <label> Your Name (required)
    [text* your-name] </label>

    <label> Your Email (required)
    [email* your-email] </label>

    <label> Subject
    [text your-subject] </label>

    <label> Your Message
    [textarea your-message] </label>

    [submit “Send”]

    vinniegtvr

    (@vinniegtvr)

    @ahrana thank you for your reply!

    I used your code, the download still doesn’t start. However, instead of the blank page, now my website home page appears.

    So problem still not solved 🙁

    dtynan

    (@dtynan)

    vinniegtvr, post a link to your page so I can try it

    babken

    (@babken)

    Hello,can we halp me.This is test download page. https://www.bitlismen.com/testx/
    Its redirecting to home page,download not starting!

    dtynan

    (@dtynan)

    babken,

    I just tried your page using both firefox & chrome and in both cases it appeared to work, at least as far as submitting the form & getting a message on the screen saying that a message had been sent. That said, I will note that a whole bunch of requests to wc-ajax/get_refreshed_fragements were logged alongside the ajax POST request that the EBD form does when you submit it. Those wc-ajax calls were getting 301’s. So that is all weird. wc-ajax has to do with WooCommerce, so it looks like WooCommerce’s ajax handling may be interfering with things. However, it did at least work up to that point & I did receive an email with the link to the download.

    When I click the link to the download, I eventually end up at your homepage. Clicking the link leads to the proper EBD program (download.php), which is giving a 302 redirect to the file location in Download Monitor (which is /test/0/ on your system) and for some reason that is giving a 302 redirect back to your homepage, which is odd. It looks like maybe the download in Download Monitor is not working right.

    Normally, if you edit your download in Download Monitor, then on that edit screen over in the top-right area you’ll see a space for a URL and that URL is the URL for your download (you should be able to paste that URL into a browser & download your file … if that doesn’t work, then your download set up or download file in Download Monitor is not working right). So that could be the issue.

    Rather than delivering a 302 redirect to where the file is (/tests/0/), EBD can also directly read the file off the filesystem & deliver it back to the browser. You can control which behavior you get by checking or unchecking the “hide/mask” option in EBD.

    So, if I were in your shoes, the first thing I would do is check my download file as I described above & see if I can get the URL and paste it into a browser and get the download file. If that doesn’t work, then my issue has to do with the download file or with something else interfering (look woocommerce).

    If I’m able to download the download file ok using that direct URL, then I would go into the EBD settings and check the “hide/mask” option and then test the form again and see if that fixed things.If it does not, then something else, like woocommerce, is interfering.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘File Download Not starting’ is closed to new replies.