WordPress.org

Ready to get started?Download WordPress

Forums

Ninja Forms
[resolved] No success message / email (39 posts)

  1. Heliosz
    Member
    Posted 2 years ago #

    Setting up the Ninja-form was really easy and the essence works.
    But I keep having a problem; after hitting submit, a message shows up saying: Processing form submission, please wait...
    Then nothing happens and the submitter doesn't receive an email, but the submission is saved.
    I checked the jquery version, but can't find any number lower than 1.7.1.
    The console says:
    XMLHttpRequest cannot load http://mysite.nl/wp-admin/admin-ajax.php. Origin http://www.mysite.nl is not allowed by Access-Control-Allow-Origin.
    I turned Submit via Ajax off, but that makes no difference.
    Hope you can help, thanks!

    http://wordpress.org/extend/plugins/ninja-forms/

  2. Kevin Stover
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    Hey Suzanne,

    Sorry for the inconvenience. I've never seen that error with Ninja Forms before, but it seems like a cross-site scripting error. I'll have to do some searching to see what the cause is. Ninja Forms uses a bit of ajax upon submission, even if you turn off the "Submit by Ajax" feature. I'll get back to you as soon as I find something!

  3. eastbank
    Member
    Posted 2 years ago #

    Hello, i'm having a problem with the submissions as well. When you click 'submit' nothing happens. I've tried turning off the 'Submit by Ajax' but it doesn't make a difference. Here's a link to the form:
    http://lenoxreign.com/clients/THS/contact/

  4. Kevin Stover
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    Hey east,

    I've looked at that page and I see a ton of JS errors going on. Could you try disabling all your other plugins and see if the error persists?

  5. eastbank
    Member
    Posted 2 years ago #

    Will do, just currious - how do you see the JS errors?

  6. eastbank
    Member
    Posted 2 years ago #

    Thanks Kevin, it was some other script I have running. I removed them and it worked just fine. Thanks for the quick reply!

  7. eastbank
    Member
    Posted 2 years ago #

    Hey just to shed some light on the problem I was having:
    It didn't like where I put my call to jquery. I put the link to the jquery script above where the ninja form scripts were called and it's working great now. Thanks again for your help.

  8. Kevin Stover
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    Hey east, no problem. Glad that worked. If you use Chrome, just right click on the page and select "Inspect Element", then go to the last tab that says "Console". The errors will be listed there. If you use FireFox, you can download a plugin called FireBug which will let you do it.

  9. eastbank
    Member
    Posted 2 years ago #

    Thanks, i use Firebug...just never used that feature.

  10. Heliosz
    Member
    Posted 2 years ago #

    Hi Kevin, thanks for looking into it. If it helps, this is the form: http://www.endurancekwb.nl/index.php/inschrijfformulier-endurance#

    By the way, is it possible to get the entry fields in line, like this: http://wordpress.org/support/register.php
    Thanks!

  11. Heliosz
    Member
    Posted 2 years ago #

    Found the cause: I have two domain names for the same website. The site is hosted on one name, but the code for the form uses the other. So I could try to change the url in the code or maybe change home in the settings? Or would that mess with my other plugins?

  12. eastbank
    Member
    Posted 2 years ago #

    Suzanne, you can make the form look however you want with css.
    You can add your own custom classes to each of your fields, here's an example of a form I've made with Ninja Forms Lite and made it look much different than it would 'out of the box'

    http://lenoxreign.com/clients/THS/contact/

  13. Heliosz
    Member
    Posted 2 years ago #

    Thanks eastbank. I'm pretty new at this, so I'm not sure what to do with css. Is there a guide or something?

    I solved the XMLHttpRequest issue, but it turned out not to be the cause of the original problem.

    The problem was solved by checking 'Send a copy of the form to this address?'. Now everything works (success message is shown and email is send), but there's an error message in front of the success message:
    Warning: mail(): SMTP server response: 503 5.5.2 Need Rcpt command. in D:\www\mysite.nl\www\wp-content\plugins\ninja-forms\includes\processing_functions.php on line 451

    I checked the line and it seems fine.

  14. eastbank
    Member
    Posted 2 years ago #

    Ah, i see.
    This site, w3schools is great Free learning site. You can learn pretty much anything about web development there. Here's a link to the CSS section:

    http://w3schools.com/css/default.asp

  15. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    The mail() error is caused when you have an email field that is not specifically set up as an email field and then the form is submitted but no actual email address is set.

    Make sure the "is this an email" box is checked for your email field. That will solve the 503 error.

  16. Heliosz
    Member
    Posted 2 years ago #

    Thanks for the quick reply!
    The field is checked, but the error persists.
    It works though; when I test it, I receive e-mail. The error just doesn't look very nice in front of the success message.

  17. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    If you would like me to take a closer look create a temporary admin account and email it to james[at]wpninjas[dot]net.

    I would love you to be using the plugin error free and this will help me investigate a little deeper.

  18. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    @Suzanne Pen I got the creds you emailed and if I don't get to it fully tonight I will work on it tomorrow for you. It's definitely a javascript conflict, I just need to track it down.

  19. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    @Suzanne Pen Kevin got you all fixed up. Your web server was trying to send an email no matter what the form settings. You should be good to go.

  20. virgilio.cantu
    Member
    Posted 2 years ago #

    Hi there, I think I'm having a similar problem. I have used Ninja Forms before with no problem, but this time, when I click submit on the form, I receive this pop-up:

    Processing Form Submission close
    Processing Submission
    Close

    ... and do not receive any message.

    I'm sure it's being caused by another plugin (Custom Tables), but unfortunately I can not disable it, cause I don't want to loose all the settings I already did :(

    This is the link of the page where I have the problem: http://aire-tech.net/wp/contact-us/

    I'd really appreciate your help.

  21. Heliosz
    Member
    Posted 2 years ago #

    Thanks James and Kevin! It works just fine in Chrome now, very happy with that!
    But in Internet Explorer 8 something else goes wrong:

    Message: Syntax error, unrecognized expression: >
    Line: 3
    Token: 14659
    Code: 0
    URI: http://www.mysite.nl/wp-includes/js/jquery/jquery.js?ver=1.7.1

  22. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    @virgilio.cantu: Your issue isn't exactly the same. You are loading an old version of jQuery and not the one bundled with WordPress. You should be using 1.7.1 but you're using 1.4.2. Check out this post about this issue: http://wpninjas.net/2012/01/ninja-forms-submission-save-edit-errors/

    @Suzanne Pen: All my systems are updated to IE 9 so I'm not able to replicate this message but I will pass it on to Kevin and see if can track it down.

  23. Heliosz
    Member
    Posted 2 years ago #

    I tried IE 9 just now and it shows the same error. (http://www.paasendurance.nl/index.php/inschrijfformulier-endurance)

  24. Heliosz
    Member
    Posted 2 years ago #

    I made it work by turning off Submit via Ajax, so everything seems to be running smoothly now. Thanks for the quick help!

  25. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    @Suzanne Pen: It has something to do with the way it's set-up on a Windows server. All of our servers our Linux so that's why we've never encountered it. Thanks for the heads up and I'm glad you got it working.

  26. virgilio.cantu
    Member
    Posted 2 years ago #

    @James Laws: You are absolutely right, it is my theme the one that is using JQuery 1.4.2. I just modified it to load v1.7.1 and a minor issue appeared, but nothing I can't live with. Well, I guess :) Your Ninja Forms plugin is great. Thank you very much for your prompt reply.

  27. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    @virgilio.cantu: Super glad to hear it and that you like the plugin. It's my pleasure to help out.

  28. HNORTHWAY
    Member
    Posted 2 years ago #

    I'm having a same issue at on our non-profit; http://operationhorserescue.marleysmutts.com/volunteer-application/

    None of this seems to be working for me, so any help would be greatly appreciated!

    PS, Was super simple to set up and perfectly fit my needs, just need to figure out the email and submission issues.

  29. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    @HNORTHWAY: You are loading an old version of jQuery and not the one bundled with WordPress. You should be using 1.7.1 but you're using 1.4.2. Check out this post about this issue: http://wpninjas.net/2012/01/ninja-forms-submission-save-edit-errors/

  30. HNORTHWAY
    Member
    Posted 2 years ago #

    Thanks James. I Appreciate your patience.

    The culprit was easily discovered, but I doubt they'll provide the support you did.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic