WordPress.org

Ready to get started?Download WordPress

Forums

Email Before Download
Email not Sending and Form submission just hangs (16 posts)

  1. erbuc
    Member
    Posted 10 months ago #

    I am using the latest version of your Email to Download with Contact Forms 7.

    I have a page with 3 links to my downloads here:
    http://rubenvanderlaan.com/downloads/

    Link 1 goes to a new page
    Link 2 and 3 go to a modal with the form.
    Only the last link works to send the down via email.

    The first two are done exactly in the same manner as the first, with the only difference being the file size, which is still within the limits set by php.ini

    When I fill in the form and click SEND for either of the first 2 links, it just sits there.
    I thought this may have been related to the CAPTCHA, but when removed, the result is just the same.

    Any ideas or thoughts on this?

    Cheers,
    E.

    http://wordpress.org/plugins/email-before-download/

  2. mandsconsulting
    Member
    Plugin Author

    Posted 10 months ago #

    Hi erbuc,

    Thanks for the interest in our plugin. There are only two links on the URL you have provided. Of those two links, both open in the modal window. When filled, only the second can send an email. After looking at the HTML code, we noticed that only the second link has the required attributes generated by our plugin. That probably means the first form is just a Contact Form and does nothing. Can you double check the short code you are using there?

  3. erbuc
    Member
    Posted 10 months ago #

    We had to do this as we did not receive a reply in time to launch the new download. So our only solution was to NOT use your plug-in any longer for the first link.

    Prior to making this change, here is what the shortcodes were:

    First Link:
    [email-download download_id="8" contact_form_id="1734"]

    Second Link:
    [email-download download_id="3" contact_form_id="898"]

    Would you like me to reinstate the link as before so you can check?

    Thank,
    E

  4. erbuc
    Member
    Posted 10 months ago #

    I have created a new page with the shortcode embedded that doesn't work.

    That new page is here: http://rubenvanderlaan.com/3-plus-1-whys-of-meetings/

    Thanks,
    E.

  5. mandsconsulting
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

    Unfortunately we haven't pinned down the problem yet. Your shortcode looks correct, and the file is not too big. We have tested out the file and the same set up that you have described and it works as it should. It seems that there is some php that is breaking with out displaying any kind of error. We request that you modify the php.ini file to set it to debug mode so that we can see the error messages.

    We also can advise to hide the URL on the first link. Currently you can download it with out submitting the form on the page http://rubenvanderlaan.com/downloads/. You can do this by modifying the attributes as follows: [email-download download_id="8" contact_form_id="1734" attachment="no" delivered_as="Inline Link"]

    Let us know when the php.ini file has been modified so that we can continue to debug.

  6. scun10
    Member
    Posted 10 months ago #

    I have a similar issue where my form indicates it has been sent, but no emails are sent--either to the submitter or to me.

    I posted this just before this support question, but haven't heard back from anyone? Please advise?

  7. mandsconsulting
    Member
    Plugin Author

    Posted 10 months ago #

    Hi scun10,
    If you can confirm that you followed the same steps erbuc then we need your help in debugging the application too, since at the moment the code on your server breaks silently.

  8. SasDesign
    Member
    Posted 10 months ago #

  9. scun10
    Member
    Posted 10 months ago #

    Thanks.

    I downloaded Contact Form 7 and Download Monitor.

    I created a contact form and retrieved the ID.

    I created a Download Page and retrieved the ID.

    I then added this shortcode to the page - [email-download download_id="13255" contact_form_id="13251"]

    The form appears here - http://www.sarahcunningham.org/13254-2

    When you fill it out, it says "Your message was sent successfully. Thanks." But the person filling it out doesn't receive a message and neither do I.

    I would very much appreciate your help.

  10. mandsconsulting
    Member
    Plugin Author

    Posted 10 months ago #

    Hello scun10,

    We suspect that the issue is with your mail server. See if you can send an email from wordpress in any capacity. Also, like we suggested above, set your php.ini file to debug mode so we can see any error outputs.

    Hello SasDesign,

    It seems the issue might not be with EBD specifically. Ensure that your CF7 forms work on their own as well as making sure that Download Monitor is working correctly.

  11. scun10
    Member
    Posted 10 months ago #

    My mail server doesn't appear to be down.

    I just changed my php settings to debug as you asked. Any ideas?

  12. mandsconsulting
    Member
    Plugin Author

    Posted 10 months ago #

    Hi scun10,
    Thank you for helping us debug the application, but unfortunately we still haven't found an issue. No warnings or errors have been generated during execution. You could set up debug mode to only show warnings and errors. There was not much by way of notices since the breakage was with ajax. You can restore your settings to what they were originally anyway. We still are thinking that the server cannot send emails. It wasn't clear if you had tested the required plugins on their own: Contact Form 7 and Download Monitor. In this case, we are interested if CF7 can send you emails itself. Try this out and let us know.

  13. erbuc
    Member
    Posted 9 months ago #

    Hi,

    Well, the only method I can use to turn this on is via the WP_DEBUG constant set in the wp-config.php file.

    When I set debug to true, I am getting a number of "unknown index" errors from the qTranslate plugin.

    I assume this could be a part of the problem? I am reluctant to disable the plug-in as the website is bi-lingual and I do not wish to reset any of the setting already in place.

    Can you advise?

    E.

  14. mandsconsulting
    Member
    Plugin Author

    Posted 9 months ago #

    Hi erbug,

    Yes we see what you mean. It looks like the only way for us to debug and see what is happening with that specific file download to set php in the debug mode. WP_DEBUG doesn't seem to be doing this.
    So if there is no possibility to debug the app we suggest to use the option that we proposed earlier. To modify the attributes in the shortcode as follows: [email-download download_id="8" contact_form_id="1734" attachment="no" delivered_as="Inline Link"] to avoid attaching the file to email. Since this is what is causing an issue: it can't be attached and we don't know the reason.

  15. erbuc
    Member
    Posted 9 months ago #

    I think you misunderstand. The website is in production and I do not wish to leave on WP_DEBUG for all visitors to see the issues on every page. So I have turned it off.

    Here is the page with the error again:
    http://rubenvanderlaan.com/3-plus-1-whys-of-meetings/

    And here is a screenshot of the page with WP_DEBUG turned on:
    http://www.rubenvanderlaan.com/wp-content/uploads/2013/10/3-Plus-1-Whys-of-Meetings-debug-on.png

    This is the best I can provide at the moment given the circumstances. Please let me know you thoughts.

    Cheers,
    E.

  16. mandsconsulting
    Member
    Plugin Author

    Posted 9 months ago #

    Hi erbuc,
    We understand the error you are having. In order to see what is going on on the site, we need to see if the warnings are generated, and there is no need to set up the debug level to display notices, which is the wordpress setting you are referring to.
    Since there is no way for us to debug the application while it is on your server, we recommend using another option of the email before download for that specific file. It seems like it cannot be attached using php code from your server and that why this is breaking the code.
    Again though, this is just an assumption because we can’t normally debug that type of error.

Reply

You must log in to post.

About this Plugin

About this Topic