ichpen
Forum Replies Created
-
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.
Forum: Plugins
In reply to: [Email Before Download] Fatal Error: Uncaught ErrorTo clarify my statement above, the problem is if you’re wrapping your contact form fields in html… If you are using standard contact forms (without wrapping the CF fields in html) it should work. I’ve raised this issue also with the author.
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.
Thanks @mandsconsulting for really quick responses.
Did you look at the stack trace above? Is this fix applicable?
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>
Working CF7 form on that page now
Forum: Plugins
In reply to: [Email Before Download] Fatal Error: Uncaught ErrorI hit this issue also, it only happens when you use the contact_form_id parameter in the shortcode. If you default the shortcode via the Options it should go away.
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.
Same issue with 5.0.3. here. Inline does not show a download link after form is filled.
Also I could only enumerate download ids with apostrophes not quotes (it would say invalid link on last item if I used quotes).
And the default closed setting doesn’t seem to work with multiple downloads. This is on latest WP, php 7. No console/js errors.
Forum: Fixing WordPress
In reply to: Core WP files keep getting modified on first lineI too am curious as I’m getting this exact php injection across multiple sites with multiple users. Definitely not a username compromise, some sites have user registrations and wp-admin entirely blocked at the webserver level so I’m assuming it’s a php vulnerability.
Forum: Plugins
In reply to: [WP RSS Multi Importer] No Publish ButtonAllen, the problem is that I wasn’t able to publish a draft feed. Once it goes into draft hitting save doesn’t seem to publish it unlike standard WP behaviour. Unless there’s another button hiding somewhere.
Forum: Plugins
In reply to: [WP RSS Multi Importer] No Publish ButtonSame thing happened to me today. If you create a feed and navigate away to another menu without hitting save. Then you return to the feed list you’ll see it’s in draft. Hit edit, then save and it remains in draft mode i.e. does not seem to want to publish.
Forum: Plugins
In reply to: [WP RSS Multi Importer] New version kills all imagesDropped you a note.
Forum: Plugins
In reply to: [WP RSS Multi Importer] New version kills all imagesThankfully I was running it on git. So a quick git reset put everything back. What I can confirm is that a) I wasn’t running any setting to delete posts or images within the plugin b) the files were actually deleted from the wp-uploads directory. It happened within the hour ( I had setup DB refresh every 2 hours and 3 hours for autopost). Autopost was enabled. Everything else was left alone.
Serious issues.
Forum: Plugins
In reply to: [WP RSS Multi Importer] New version kills all imagesI mean ALL images in my gallery not just the imported ones.