Support » Plugin: Email Before Download » V 4.4.2 Support

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

    (@dtynan)

    It works with WP 4.4.2.

    Make sure that you named the email field “your-email” in the form that you created in CF7. If it is not named “your-email” then things won’t work.

    Also, make sure you are using Download Monitor and not Download Manager.

    If neither one of those things helps, then I’ll need you to provide more info like a URL to a page where I can try it (if possible) and the shortcode you are using.

    Thread Starter davymiller

    (@davymiller)

    Thanks for the quick response, I have the other 2 plugins you mentioned in tandem with EBD etc, will re-check as specified and get back to you.

    Thread Starter davymiller

    (@davymiller)

    Hi,

    Code from the CF7 form that I have setup to test with:

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

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

    <p>[submit “Send”]</p>

    [contact-form-7 id=”1053″ title=”Int Knowledge PDF Download”]

    Content/Code from test post (set to private)

    [email-download download_id=”1045″ contact_form_id=”1053″ force-download=”true”]

    URL From download monitor (this triggers d-load when pasted direct to browser)

    http://ihandover.co/download/1045/

    Full Extrapolated inline Url that is presented when you submit the form:

    http://ihandover.co/wp-content/plugins/email-before-download/download.php?dl=e62598306024ded10aa5aa70dc04fab3&ip-geo-block-auth-nonce=7756b59722

    Hmm. It should be “force_download” rather than “force-download”, though I doubt that is the problem.

    I don’t really know what the problem is, but here are some things to try:

    Make the wordpress page public and try again … leave the page public while you try the rest of this stuff (just to eliminate that as any kind of problem .. you can make it private again after if needed).

    Try it with masked/hide turned on and also try it with it off (this is in the EBD settings).

    Set it to ‘both’ in the EBD settings and turn on attachments. Then, go to your form to test it and put in an email address that you know will be able to receive the email (for example, the same one you are using for the wordpress administrator emails). It is common for various mail providers like Yahoo and Gmail to block incoming emails sent by EBD, especially if you are on a shared hosting platform, because the “from” will make it look like spam. Thus, make sure you actually get the email .. you should get 1 notification email (to your wordpress admin address) and then another email to the address you put in that form (which can also be your admin address, as I said, which will help get it through probably, though maybe not). The purpose of testing with attachments is to see if the file gets attached to the email properly. If so, then we know the problem has to do with your page or theme probably.

    I noticed that your URL has that geo_ip thing appended. I don’t think that will cause issues, but it just reminds me that if you have plugins that muck around with forms or file downloading or stuff like that, you might try turning them off and try again.

    Finally, the last suggestion is that you create a new (public) test page. Make a new CF7 form that looks just like your existing one (the purpose of this is to get a new form id number). Get a .jpg file you have never used before and upload it into Download Monitor (we want a new download_id number here & we want a filename that is new). Make a new shortcode out of those IDs and put that on your new WP test page. Give it a try. The purpose of all that is to eliminate any chance that existing stuff in your database is messing things up (because EBD will use the existing ID numbers to pull from the DB … making a new one ensures everything is clean).

    Thread Starter davymiller

    (@davymiller)

    Thanks for the response, much appreciated.

    I have tried all the suggestions above and I still get the same error sadly, when the you click on the inline link the URL comes up with page not found and takes you back to the root posts page of the website etc.

    One thing that did catch my eye was that in download monitor that download itself has an id of 1073 but the attachment for the download has an ID of 1075, i did try changing this in the short code on the page but it just leads to the same error sadly.

    Turning on attachments does inch me forward a bit, the mail that is inputted in to the form ends up receiving a copy of the file intended for download. However I noticed that this doesn’t mark up in download monitor as a download

    I don’t understand what you mean when you say that the download has an ID of 1073 in download monitor but the attachment has an ID of 1075. Where are you seeing this other ID?

    I think I need to see this in action to see what’s happening. Can you make the page public? If you don’t want to publish the URL in this ticket then you can email it to dtynan88@gmail.com and then update this ticket so I’ll know to go try it.

    leave it set to ‘both’ with attachments. the id should be 1073 I think, though now that you’ve used 1075 I don’t really trust it any more. I’d rather you uploaded yet another new file into Download Monitor & then updated your shortcode with the new ID (the ID from the Download Monitor list of download files). Do not set it to force download and do not put force download in your shortcode.

    thanks

    davymiller, any update on this? did you get it working or can you make the page public and email the url to me so I can see it or..?

    Thread Starter davymiller

    (@davymiller)

    Morning, pinged you a mail with screen grabs around 2pm GMT, can you check to see if its arrived.

    ah, yeah, I got it. Give me a little while to take a look and I’ll post an update

    Thread Starter davymiller

    (@davymiller)

    Nice one, thanks 🙂

    hi, ok i tried to look at it but I’m getting a page not found for it. can you double-check that you made it public? maybe you moved it back to private because I took so long to get to it or something?

    Thread Starter davymiller

    (@davymiller)

    Hi, page is public again.

    It looks like all the php programs in the email-before-download directory are giving a 404 Not Found error. For example, I tried going to:

    http://ihandover.co/wp-content/plugins/email-before-download/checkcurl.php
    and
    http://ihandover.co/wp-content/plugins/email-before-download/export.php

    and both gave 404 not found errors. Note that export.php is something you would normally run while you are logged-in (it exports the csv log file). It doesn’t do that if you’re not logged in (like me), but it should at least be found and run without giving a 404.

    Non-php programs in there are found. For example, I was able to go to:

    http://ihandover.co/wp-content/plugins/email-before-download/readme.txt

    and it worked and I could see the contents of the readme.txt file, which is correct. That tells me that there is some sort of misconfiguration or interference happening. This could be the result of a wordpress plugin — perhaps a security plugin. Or, it could be the result of a webserver directive in your webserver configuration file or in .htaccess.

    My guess is that you or someone or something has made it so that php files other than index.php are not findable by IP addresses coming from the net. Or maybe php files down in that area of the filesystem aren’t findable by IP addresses coming from the net. I’m guessing this isn’t a problem for other plugins you are using because they may not have programs that are accessed by the general public like EBD does.

    Hopefully that’s enough to get you started where to look….

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘V 4.4.2 Support’ is closed to new replies.