Download monitor, Contact form 7 and Email before download not working anymore
-
Hi,
Since i updated the plugin ‘Download-monitor’ I can’t receive any attachments after I fill in a form on my website. The E-mail I am getting is working perfectly, only no attachments. Even if I do not choose to sent an attachment but instead an inline link in the plugin ‘Email before download’ I get a correct E-mail with download link but this link is not working. https://www.ictwhitepapers.nl/wp-content/plugins/email-before-download/download.php?dl=5016efdf0007f9a49153d4134f221cb1
What to do? I appreciate your help.
Great plugin by the way, happy user for such a long time.
The page I need help with: [log in to see the link]
-
We’re getting errors too.
Fatal error: Call to a member function getElemntsByTagName() on null in … /email-before-download/includes/class-email-before-download-form.php on line 33
Shortcode Example: [email-download download_id=”1180″ contact_form_id=”1066″]
Wordpress: Version 4.9.2
CF7: Version 4.9.2
Download Monitor: Version 4.0.1
E-Mail before Download Version 5.0.4- This reply was modified 6 years, 10 months ago by Dorfpixel Webdesign Werbeagentur.
Appreciate the quick updates, latest fixed the issues with using quotes in the shortcode BUT…
Still having issues with latest EBD. After hitting Submit on CF there’s no inline link being shown.
If you look at my test page you’ll see the EBD shortcode and a straight forward download monitor link (that works).
Appreciate it.
WordPress: Version 4.9.2
CF7: Version 4.9.2
Download Monitor: Version 4.0.1
E-Mail before Download Version 5.0.4- This reply was modified 6 years, 10 months ago by ichpen.
Hi @ichpen,
It seems your whole page refreshes upon submit for some reason. Not sure if that is specific to your theme.
Would you mind throwing a working cf7 form on that same test page as well? (I also see a “thank you” message on that page before I click submit.)
Working CF7 form on that page now
OK, here’s the issue, if I set EBD to any Contact Form other than the one in the example I get the following PHP error:
2018/01/25 18:59:17 [error] 1409#0: *12139 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function setAttribute() on null in /var/www/ari2.0mark.com/htdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-form.php:47 Stack trace: #0 /var/www/ari2.0mark.com/htdocs/wp-content/plugins/email-before-download/includes/class-email-before-download-shortcode.php(52): Email_Before_Download_Form->html() #1 /var/www/ari2.0mark.com/htdocs/wp-includes/shortcodes.php(319): Email_Before_Download_Shortcode->init_shortcode(Array, '', 'email-download') #2 [internal function]: do_shortcode_tag(Array) #3 /var/www/ari2.0mark.com/htdocs/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(email\\...', 'do_shortcode_ta...', '<p> </p>\n<...') #4 /var/www/ari2.0mark.com/htdocs/wp-includes/class-wp-hook.php(286): do_shortcode('<p> </p>\n<...') #5 /var/www/ari2.0mark.com/htdocs/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p> </p>\n<...', Array) #6 /var/www/ari2.0mark.com/htdocs/wp-includes/po" while reading response header from upstream, client: 99.250.61.143, server: ari2.0mark.com, request: "GET /test/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9070", host: "ari2.0mark.com", referrer: "https://ari2.0mark.com/test/"
The CF7 form that works (albeit without inline links) is below:
<label> Your Name (required) [text* your-name] </label> <label> Your Email (required) [email* your-email] </label> [submit "Download"]
The non-working CF7 forms are:
<div class="row"> <div class="small-12 large-6 columns"> <label>Your Name</label> [text* your-name class:full] </div> <div class="small-12 large-6 columns"> <label>Your E-mail</label> [email* your-email class:full] </div> </div> <div class="row"> <div class="small-12 columns"> [submit class:btn "Download"] </div> </div>
Hi All,
We just pushed out one more release (5.0.5) that will hopefully fix some of the issues that some people seem to be experiencing. Thanks for your patience.
Please try with 5.0.5 and let us know if you are still having issues after upgrading.
Thanks @mandsconsulting for really quick responses.
Did you look at the stack trace above? Is this fix applicable?
I can confirm 5.05 is finally showing download links occasionally (and not refreshing) ??
Issues:
If you check the test page above the first EBD shortcode works with 3 files. The last shortcode with 10 files does not show links after the CF form (same form) is submitted.
It disregards target _self for inline links and seems to refresh on multiple file download links. So I hit first link, file downloads but then page goes blank and can’t download next file. _blank works fine.
Still throwing PHP errors if I’m wrapping CF7 forms in <html> tags.
The same shortcode on a different page still triggers a refresh, see bottom of this page. Difference is that this one is within a Visual Composer/Page Builder row/block:
https://ari2.0mark.com/iqms- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
- This reply was modified 6 years, 10 months ago by ichpen.
Hi @ichpen,
Can you please try 5.0.6? If that doesn’t resolve, I will send a way to contact me since I appreciate you helping others in the EBD community/forum, and I want to make sure you are all set.
I have EBD 5.0.6 and the plugin won’t activate now. It gives me:
Plugin could not be activated because it triggered a fatal error. Parse error: syntax error, unexpected ‘[‘ in /home/user/public_html/wordpress/wp-content/plugins/email-before-download/includes/class-email-before-download.php on line 93I have CF7 v4.9.2 and Download Monitor v 4.0.1.
I have now updated to 5.0.6 and I can confirm that inline links are still not working. I have also tried disabling “both” in favour of inline links only, but the problem persists.
https://www.andrewcohen.com/awakening-authentic-self-disc-01/
Many thanks.
I can also confirm that in 5.0.6 my settings are not saving. Very strange!
Many thanks.
Hi @mandsconsulting,
Really appreciate the quick bug fixes.
With 5.0.6 I am now able to select up to 10 files without glitching which is good news.
However I’m experiencing the same refresh issue (using the same CF7 form) at the bottom of this page:
https://ari2.0mark.com/iqms/If you check you’ll see that I’ve put in the same CF7 form (without EBD) and it doesn’t refresh so EBD is likely causing this.
As mentioned the difference is that this is wrapped within a WPBakery Visual Composer [vc_row] and [vc_column] otherwise using same theme/page template as my test page above.
Also if I use a CF7 form like this, it will give me the PHP fatal error listed above:
<div class="row"> <div class="small-12 large-6 columns"> <label>Your Name</label> [text* your-name class:full] </div> <div class="small-12 large-6 columns"> <label>Your E-mail</label> [email* your-email class:full] </div> </div> <div class="row"> <div class="small-12 columns"> [submit class:btn "Download"] </div> </div>
If you’d like to get in touch with me to debug this further shoot me an email on [email protected] or let me know how I can contact you privately. It’s almost there ??
Thanks again.
- This reply was modified 6 years, 10 months ago by ichpen.
Hi,
With the last updates I am getting the link visible, however the link does not lead to a file… just opens a window and then nothing happens.
I am not much of a code person, so excuse my poor explanation. This site is about to go live… https://booth1947.info/marketing-performance-management/ scroll down to white papers and click: The new world of B2B sales & marketing
Cheers
/B
I updated the plugins
Download Monitor Version 4.0.1
Email Before Download Version 5.0.6
Contact Form 7 Version 4.9.2https://subventions.fr/dossier-subventions/jeune-entreprise-innovante-jei/
The form doesn’t show at all on the page i’m still stuck you can reach me on webmaster (at) subventions.fr
it your previous version you had the following syntax contact_form_id=”12118″ now it seems it’s not underscore anymore but contact-form-id=”12118″… but when I use this syntax the page does not load at all…
if I use the underscore syntax [email-download download_id=”12119″ contact_form_id=”12118″] i get just the captcha…. but the form doesn’t load. I had to roll back…
- The topic ‘Download monitor, Contact form 7 and Email before download not working anymore’ is closed to new replies.