Forum Replies Created

Viewing 15 replies - 526 through 540 (of 777 total)
  • it looks like you have combined the CF7 shortcode with the EBD shortcode, which is not right. A valid EBD shortcode would look something like this:

    [email-download download_id=”5246″ contact_form_id=”5240″]

    try that. If that doesn’t work, make a test page that is public and post the URL back in here so I can try it.

    Also, it is usually helpful to make your download be something other than a pdf file (like a .jpg). You don’t have to do that, but sometimes it can help narrow down the problem.

    I suspect you were downloading the Download Monitor csv log file rather than the Email Before Download csv log. The DM log has some info in it, but the EBD log file has extra stuff like the data the user types into your form (name, email address).

    I tried your page several times. I see the same problem you do when I put in a name & an email address and hit submit. It POSTs the form data via ajax, as it should, but no response comes back.

    Interestingly, if I just hit submit with empty fields (or just fill in name or email but not the other), then it POSTs the form data via ajax and does return an error response saying I need to fill in both fields. So that seems to work ok.

    I’m not sure why upgrading to WP 4.4 would suddenly cause this to start happening. I’m also not sure what the problem is. We’re going to have to try a few things to figure it out I think.

    One thing I noticed that was not normal is that when the page first loads, it goes ahead and does an ajax GET back to itself and passes along some of the Contact Form 7 variables. I have seen this now & then on other people’s pages — usually it doesn’t seem to be a problem, but in some cases it tends to point to a plugin or theme conflict.

    While examining the HTML of your page, I noticed that the form is within a div that is labeled as “textwidget”. I looked at the Designfolio theme homepage and I see that it has some widgets and some features like ‘header inserts’ (whatever that is). I’m wondering if you have done something like putting the EBD shortcode inside a widget or inside some sort of setting of your theme, rather than directly into the page (into the wordpress page)?

    The fact that your form is on the homepage makes it difficult to diagnose, because so many themes do special stuff with the homepage. Aside from answering the question I just asked in the previous paragraph, I would like you to make a new test page that is a normal wordpress page (not the homepage). Make a new contact form 7 form and get the new form id number and use that for your new EBD shortcode. Also, upload a new file to use for the download. Make it a filename you have never used before and make it a .jpg file. Use that download id in your new EBD shortcode. In other words, you are making a new download, a new CF7 form, and a new page with an EBD shortcode using those new IDs.

    Set it to ‘both’ in EBD (rather than ‘inline’ or ’email’) and set it to NOT mask.

    Then post the new url test page back here. Oh, also, make sure the filename and any text associated with the file are all plain english ascii characters — no accented characters.

    are you downloading the CSV file from the link near the top of the Settings page for Email Before Download?

    in the form you created in Contact Form 7, did you use “your-email” as the field name for the email field (like it shows in the Screenshots)?

    The code is correct right there. Note line 50 of email-before-download.php where it creates the $table_link table. The field name in the database is ’email’. That is why line 525 says $link_data[’email’]

    As I said, the field in the table is ’email’. However, the field name in the form that you are supposed to use is ‘your-email’ as is documented on the FAQ page and on the screenshots page.

    There is no support for several downloads on several webpages and only entering your email address once and having it remember you did so on the other pages (like by using cookies).

    Multiple downloads on a single web page are supported by using checkboxes. You put multiple download ids (separated by commas) into the shortcode and you put the <ebd /> or <ebd_left /> tags into the form you make. The screenshots page has an example of this.

    hmmm. i’m not sure either. is your page public? i can make sure EBD is POSTing the right variables, but beyond that I’m not sure what else to check. The CF7 support forum might be helpful .. or you could try the Postman SMTP plugin and see if it’s logging is useful (I don’t know if it would be)

    Also, I did address the error message and it still actually sending. Here it is again:

    CF7 sends the email that is failing (the one that goes to the email address in the To: in the CF7 settings of the CF7 form you made).

    EBD sends the email that is working (the one that goes to the email address the user typed into the form on your webpage when he visited that page, filled in his name & email, and hit submit to try and get the file download you set up using EBD)

    I’m not saying you should have to create a form to fix the problem. I’m saying create a form to try and determine where the problem lies. In troubleshooting software issues you often have to try a number of things to narrow down where the issue is coming from — they are not necessarily going to be the solution to the problem.

    I looked in the CF7 plugin code and the message you are getting appears to come from two possible codes — one is ‘spam’ and the other is ‘mail_sent_ng’. The spam case is where something on your system (like Akismet or other plugin or possibly another application is blocking the outgoing email because it thinks it is spam). The mail_sent_ng appears to be a catch-all for just a general mail failed case (at first I thought it might be related to nginx, but doesn’t appear to be).

    One last thought, you might try changing the To: of the email (in the CF7 form) to be JUST the email address (no name beside it or any punctuation or anything), just plain email address (your admin email address I mean).

    Also, you might want to check your PHP error log and see if it has logged the underlying error that is causing CF7 to not be able to send email. Usually your PHP error log is available through your hosting provider’s interface (cpanel or whatever). Or, you can look at the individual files yourself, which are usually called “error_log” and they get dropped around in multiple places in your wordpress installation (usually). One of them may have info as to what has happened — start with any in the Contact Form 7 directories, then try the various wordpress directories.

    ps – if you post over in Contact Form 7 for support, be sure and tell them your hosting provider name, what version of CF7 & WP you are using, etc.

    There is no one on here without a resolved problem other than you. Everyone has a working installation as far as I am aware.

    The problem you’re having is coming from Contact Form 7. You should try what I said and make a form using just CF7 to isolate the problem and see if it goes away or not. Takes like 5 minutes to try.

    If you don’t want to try to fix it, that’s fine, but it’s not EBD’s fault as far as I can tell from what you’ve given so far.

    Don’t have any recommendations for other plugins that do the same thing.

    I don’t have any explanation, I was just trying to figure out what might be wrong. No idea how it could have changed. You checked and said it didn’t change, so obviously that wasn’t it.

    Still in the CF7 form, the template part where you put in the fields for the form that displays to the user (to ask for his name & email address), check your field names there and make sure that the email address one is “your-email” and not something else. If it’s something else, change it to “your-email”.

    If that doesn’t fix it, then I suggest the following:

    1. First, make sure you can get email from WordPress to your admin email address. Easiest way to check that is to add a wordpress user and then delete it. You should get an email. If you don’t, then the problem isn’t the plugins, it’s your wordpress or your environment/machine.

    2. If you do get admin email just fine, then I suggest making a new form in CF7. Set the form to go to your admin email address. Use the CF7 shortcode (NOT the EBD shortcode) and make a new wordpress page and put that CF7 shortcode in there. Then, use a browser and go to that page, put something in the form, hit submit, and see if the email goes through or if you get the same error. If it doesn’t go through, or you get the same error, then I suggest you try the CF7 forum for support. Or, you could try installing an SMTP plugin like Postman SMTP and then looking in the log it makes and it might clue you in to what the problem is

    If none of the above helps, then it’s possible something really low-level is messed up with your websites email — you might need to engage tech support at your hosting provider, but we’re not at that point yet.

Viewing 15 replies - 526 through 540 (of 777 total)