Not working on www.ads-software.com 4.4?
-
Hello,
First of all let me say I love your plugin, it really helps me and it is easy to use.
My problem is that today I noticed it is not working. I use inline, when I click the link it opens a new tab with a strange address and no download appears: https://…/wp-content/plugins/email-before-download/download.php?dl=fc0178bb925e16bcf365f8cc6f8b5c75
Is this due to the new www.ads-software.com upgrade? Do you know what can I do to make it work again?
Thanks in advance!
-
I tried the Default Example Form here: https://www.recollx.com/download-form-test/ and I still get the same symptom of the URL displaying but the download file not being served by the browser.
Are you able to provide more detail on what is considered to be customization?
Everyone – I strongly suggest you each create a public test page that is in ENGLISH for everything. Make the filename english. The file title english. The text on the screen english. Everything english, no characters with accents anywhere – not in the messages, not in the filenames, etc. Also, make the file download be a .jpg file and give it a name that you have never ever used before. Upload it into Download Monitor. Then, look at the detail for that file in Download Monitor and in the top right of that screen there will be a URL. That URL should let someone get to your download file and download it. If that doesn’t work, you have problems that are not related to EBD. Please check that. If that works and you have a public test page all in english then post the URL to it.
imudo – I looked at your test page and I’m not sure how it could work because the form (in the lower right of the page) does not seem to have a field named “your-name” or a field named “your-email”. I think you’ll need those for it to work. I don’t know if those are messed up on your actual site or just the test page.
fredperes – I couldn’t figure out where the form was on your website to get to the download (also it’s in Portuguese which makes things difficult). Please do what I said up above and post again.
alevadis – I tried your test page and it worked fine for me as far as the download link goes. I was able to click it and download a PDF with a filename of EcoVadis-Case-Study-Sanofi.pdf that is 6 pages long and looks fine. It’s 283,431 bytes long. However, I did not receive it in email, so if you have it set to ‘both’ then your email delivery is not getting through. I sent it to an email address on a server I control and I never saw your system even try to connect. Thus, I think your system is having trouble sending mail out (assuming you do have it set to ‘both’). This could be an issue where you need to get help from your hosting provider. However, before you do that, you might want to try installing the Postman SMTP plugin by Jason Hendriks and then take a look at it’s log and see what it is saying about your mail delivery.
Advansys, your url to your test page is giving a 404
https://www.recollx.com/download-form-test/Hi dtynan, thanks very much for the heads-up. Sorry, I noticed the page was set to private so it worked for me but of course, nobody else. (doh!)
There is a basic form and a test link below it which is the simple Download Monitor link, which works fine.
What’s the best approach to help you debug the code? Do you have any recommended plugin debugging resources? We write code for a living but no PHP, so it is not familiar territory and we have limited resources to allocate to troubleshooting this issue.
Happy to help isolate the problem on our site if it is practical for us to assist.
Hello,
Thank you for your feedback
look at the detail for that file in Download Monitor (…) That URL should let someone get to your download file and download it. If that doesn’t work, you have problems that are not related to EBD. Please check that.
Ok for me, the download link works.
imudo – I looked at your test page and I’m not sure how it could work because the form (in the lower right of the page) does not seem to have a field named “your-name” or a field named “your-email”. I think you’ll need those for it to work. I don’t know if those are messed up on your actual site or just the test page.
The form in the footer of the page (in the black part) is only a form contact.
I use the form above (in the white part) to download the document after submission.Is the title / or the ID of my fields important ? I don’t understand exactly what do you mean ?
Found some options. Didn’t test it yet:
I think I found the solution! (at least on my side)
My problem was in my contact form: I changed the name of the Email field from “E-mail-address” to “your-email” and everything is working fine again.
Hope it works for you too.
Alevadis, it’s a start! In my csv file, I have the e-mail address! But didn’t receive the email with the file.
imudo, yes I tested the form in the white part of your page, on the right side, that has the title of “Telechargement” (with accents over the e’s). It is the EBD form (I examined the HTML, so I am certain). You must use a field name of “your-name” and a field name of “your-email” for the form names for a name field and an email field. That is a requirement of EBD. These field names are created when you set up the form in Contact Form 7.
See the third item in the FAQ:
https://www.ads-software.com/plugins/email-before-download/faq/See the second screenshot:
https://www.ads-software.com/plugins/email-before-download/screenshots/See how they have “your-name” and “your-email”? Without that, it will not work.
Also, you can do two name fields if you want (like you are doing), but one of them must be “your-name” (and obviously it’s probably going to end up with only the first or last name of the person if you try and split it across two fields, unless you make custom changes to the php code or add in some tricky javascript). You are better off just using a single name field really.
fredperes, I still don’t know where your EBD form is on your site (or if you have a test page) so I really can’t test it. If you have it set to “both” and the link is working but the email is not, then that is a common problem that is probably unrelated to your wordpress upgrade. If the link is not working either, then tell me where your form is and/or make a testpage and post back in here with the info.
It’s sounding more and more like there is not a problem with the 4.4 wordpress upgrade and instead these are typical problems that people run into, but we just had a group of them all at once….
dtynan, the form is here:
https://www.conexaosabor.com.br/teste/
The shortcode I’m using is: [email-download download_id=”13343″ contact_form_id=”13342″]
I just test it with the Delivery Format to “Both” and worked! The link works.
But I’m confused: wich plugin sends the email? I receive an email from Contact Form 7 (as admin), but do not receive from Email Before Download
advansys, if you haven’t done so already, revert your php code back to the original EBD code (in other words, get rid of the changes i had you do earlier).
Also, I’d like you to go into the Download Monitor part and look at the file you uploaded (the one that you are trying to download via the EBD form on your test page). Look in the upper right part of the detail page and there will be a URL. Post that URL into this ticket (it will be the URL that leads directly to the download of the file [without using EBD .. just uses Download Monitor]). In addition to the URL, post the ID number of the download, which should be on that same screen I believe. I assume the URL is going to be “https://www.recollx.com/downloads/5” and the ID is “5”, but I just want to be sure.
Also, post the shortcode you are using in your test page.
Are you on windows or linux? apache? do you have any weird redirects or load balancers or anything unusual in your setup?
fredperes, there are actually 2 emails that get sent.
The Contact Form 7 plugin sends a “notification email” to the wordpress admin email address (which is most likely you). This email almost always goes through just fine. This email will not have any links on it but it does list the filename or filenames that the websurfer is downloading (once he fills in the form on your webpage and presses submit).
The EBD plugin will also send an email if you have it set it to “email” or to “both” (but not if you set it to “inline”). This email goes to the email address that some web surfer has typed into the form on your public webpage. This email will contain link(s) that the user can click to download the file(s). These link(s) are basically the same link that appears on the webpage. Also, the email may have the download file attached if you have turned on attachments (saving the trouble of the user having to click the link). Make sense? So, this is the email that often has trouble getting delivered.
So, if you’re seeing the link appear and it’s working when you click it, then you are in good shape and you do not have any problems related to WordPress 4.4. Instead, you just have a problem with the email getting delivered to the web surfer that filled in the form. Assuming you do want that email to go out (meaning “both” or “email” is the setting you want), then you need to fix that problem. You can look through the last 10 or 20 support items on this forum and you will find several examples of people running into this problem where I have explained their two options (install one of two different plugins). For example, see https://www.ads-software.com/support/topic/email-to-user-not-sending?replies=2 or https://www.ads-software.com/support/topic/sender-shows-as-wordpress-in-the-email?replies=4
Hi dtynan,
Thanks for your suggestions. Yesterday I ensured that your previous suggestions were reverted by deleting and reinstalling the EBD plugin.
The URL from Download Manager is: https://www.recollx.com/downloads/5 as you expected.
Shortcode: [email-download download_id=”5″ contact_form_id=”351″]
Our hosted servers use Linux.
I’m not aware of any redirects or other factors which changed on both our sites at the time of the WordPress 4.4.x upgrade.
While I appreciate these issues may not be related to WordPress 4.4.x because we don’t yet know the cause(s), it is a strange coincidence that both our sites, hosted on different servers, stopped working immediately after the 4.4.1 upgrade. Reverting to a backup for one of our sites immediately rectified the issue. The question is: did it start working again because of reverting to WordPress 4.3.x or some other plugin or data variation that Duplicator restored? Hopefully we’ll find out at some point!
Thanks again for your help and let me know if you need any further information or want me to try something.
- The topic ‘Not working on www.ads-software.com 4.4?’ is closed to new replies.