Problem with adding cf7 id
-
Hi, I have a problem with shortcode. When I paste the shortcode in a page he do not find the cf7 id. I have no idea why it happens. This is the result:
-
The contact-form-7 404 “Not Found” error that you’re seeing can be caused by various things. It can be difficult to figure out sometimes….
So, first things first, I assume you checked the shortcode and made absolutely sure that the value for contact_form_id in your shortcode is the id number of your contact form, correct? Go ahead and post your shortcode in here just so I can make sure it looks ok.
You should also make sure that on the contact form that you created, you used “your-name” and “your-email” as the field names ( see the screenshots page to see what I mean – https://wordpress.org/plugins/email-before-download/screenshots/ ).
In your case, your page is very complicated. It loads tons and tons of stuff, plus you’re using caching/optimization plugins which are moving around javascript and css and deferring stuff and on and on… There’s a good chance that’s the cause of the problem. Additionally, you have another CF7 form hiding in a slide-out panel on the left side of the screen. Normally that shouldn’t cause an issue, but it’s just one more thing that -might- be causing problems.
I suggest you check the contact_form_id in the shortcode, check your form to make sure it is your-name and your-email, turn off your caching/optimization plugins, and try again. If it still doesn’t work then you’re just going to have to figure out how to make a much simpler page to test with — get rid of all that junk that’s loading (get rid of that other CF7 form), etc
Ok this is the shortcode:
Email before download: [email-download download_id=”16651” contact_form_id=”14895”]
Contact Form 7: [contact-form-7 id=”14895″ title=”Contatti”]
The id number is the same in both shortcode…I don’t know where is the problem…
-
This reply was modified 9 years, 5 months ago by
giovannicrazy.
what happens if you make a wordpress page and put the contact-form-7 shortcode instead of the email-download shortcode. Does that also give the 404 or does it work?
Yes, it show this error: [contact-form-7 404 “Not Found”]
Well that narrows down the problem to some sort of issue with Contact Form 7 and your page, rather than anything to do with Email Before Download. You could ask on the Contact Form 7 support forum, but I suspect they are going to tell you to do something similar to what I already told you, which was this:
In your case, your page is very complicated. It loads tons and tons of stuff, plus you’re using caching/optimization plugins which are moving around javascript and css and deferring stuff and on and on… There’s a good chance that’s the cause of the problem. Additionally, you have another CF7 form hiding in a slide-out panel on the left side of the screen. Normally that shouldn’t cause an issue, but it’s just one more thing that -might- be causing problems.
I suggest you check the contact_form_id in the shortcode, check your form to make sure it is your-name and your-email, turn off your caching/optimization plugins, and try again. If it still doesn’t work then you’re just going to have to figure out how to make a much simpler page to test with — get rid of all that junk that’s loading (get rid of that other CF7 form), etc
Ok now I have another problem. When I submit my information in a form the plugin show the download link but when I click on it appears a new blank page without download the file…this is the page link if you want to try it, please help me as soon as possible, thanks.
Well I don’t even get that far. When I submit the form it just hangs. The response that comes back, which should be just a line of JSON from the EBD program, is instead an entire page of HTML. Of course, none of that displays because the page is expecting JSON back, not a whole page of HTML, so the page just hangs. When I use the debug tools to look at the HTML page that’s returned, I see a message in it saying I have been blocked by the “Stop Spammer Registration Plugin”.
Again, you have got to turn all that crap off and make a simple test page and get this working. You can’t have all those plugins and a complicated page with all sorts of javascript on it when you’re trying to get EBD working. It makes it way too complicated to figure out what’s happening.
Ok I solve the problem, I change the default label name “your-name” in CF7, now it works successfully! Thanks for help me.
-
This reply was modified 9 years, 5 months ago by
The topic ‘Problem with adding cf7 id’ is closed to new replies.