Posted: May 12, 2014 at 3:42 pm
|
I am able to create events OK, but nothing happens when a user clicks submit. Registration page: http://www.timothyfaust.com/event-registration |
Hi Timothy, Try to rule out any plugin conflicts. Deactivate all non Event Espresso plugins and test to see if the issue is still occurring. If it is not, then we know it is a problem with another plugin. You can then find out which plugin it is by reactivating each plugin individually and testing to see if the problem starts happening after the activation. When it occurs after activating a plugin, then we know that plugin is the culprit. Also, there may be a theme function that is causing the issue. You can check for this by first switching to the TwentyTwelve theme (or any other theme from the wordpress.org theme repository, all of these themes pass a thorough code quality review before inclusion.) |
|
|
The submit button worked with the 2012 theme. What is the next step? |
Hello, The submit button appears to be working again with your original theme. Was this caused by another plugin? — |
|
|
I can’t get it working for me on either browser or computer |
Hi there, Could you please create a temporary WordPress admin login so I can take a closer look at this issue? Please share that temporary login through the secure link below: To prevent delays in troubleshooting, be sure to double check your information on the form before submitting. The submit button for the form appears after you have answered “Yes” to the last question. Thank you. — |
|
Hi Timothy, It turns out that the active WordPress theme is loading a second copy of the jQuery Validation script. One solution would be to deregister the theme’s copy for the pages that load Event Espresso’s scripts. You could contact the theme author and ask them for instructions on how to deregister their validation script. The page that this needs to be removed from is the event-registration page. |
|
|
My theme is no longer supported, but I was able to go in and disable the theme’s loading of the jquery validation script. From what I can tell, the only one being loaded on the event registration page is from Event Espresso. The submit button still does not work. |
|
Hi Timothy, Your site is still loading validation twice. And I do believe that that is the root cause, there doesn’t seem to be another explanation. |
|
I can’t figure out how to get rid of it. It looks like it is not compatible with my website. What is the next option? Can I just get a refund on the cost of the plugin since I don’t think I can get it to work? |
|
Hi, If you can provide a copy of the theme or fresh login details I can take a look and see if we can de-register that script. (the password provided was incorrect) If the theme is no longer supported by the author, going forward you may wish to consider changing themes as you may run into further issues when WordPress and plugins in general update. Our refund policy is outlined in the terms, section 6 – https://eventespresso.com/support/terms-conditions/ |
|
I resent the login info, but it has not changed. |
|
I tried just commenting out the theme’s jquery.validate. I used the chrome dev tools, and saw that the only validation scripts were running were from Event ESpresso. The submit button still did not work, so I am not sure if that is the problem at all. |
Hi Timothy, If you disable the theme’s scripts one by one you’ll find the one that’s causing the breakage. Please note there may be more than one though. Another example of a theme function in the Atlas theme (it’s in other themes too) that’s known to cause conflicts can be found at the end of its functions.php file: // Remove the 2 main auto-formatters remove_filter('the_content', 'wpautop'); remove_filter('the_content', 'wptexturize'); // Before displaying for viewing, apply this function add_filter('the_content', 'pp_formatter', 99); add_filter('widget_text', 'pp_formatter', 99); Basically the above removes some core WP functionality and replaces it with something else. |
|
|
I removed those. No effect. the submit button still does not work. |
|
I would really like to get this plugin working |
Hi Timothy, Since you found it working with the twentytwelve theme you have a few options: One option you might want to look into is one of the 2512 themes in the official theme directory that are coded to WordPress standards and pass an inspection to ensure quality. You’ll find that any of these themes will work with Event Espresso. If you can email a copy of the theme to support@eventespresso.com, support staff can take the time to review the code and find where it’s breaking things. Usually in cases like this where we’re called on to support a theme, we ask for the purchase of a support token. |
|
|
I only needed the light version of the plugin. The only reason I paid the $90 for this version was to get it working. I do not want to get a new theme. I would either like to get it working with this theme or to just get a refund for the plugin and use eventbrite since it is free. |
|
Progress report. I discovered that the conflict seemed to the with the cufon.js script. I commented it out, and your plugin worked. However, to fix my site I added the google fonts, and Event Espresso returned to not working. I have since removed cufon from my site completely, amd using Google Fonts, and I have added code to remove the double instance of the jquery.validate script. None of those things have fixed the problem, and the submit button does not work. |
Hi Timothy, The cufon script should be fine to put back into place if you remove the theme’s main validation script (not the validation plugin, that’s another issue). I installed the copy of the theme you sent and it turns out the breakage is happening within the js/custom.js script in the main form validation function that starts on line 260 and ends on line 276. You can either remove that code entirely, or comment it out like this: /* $j.validator.setDefaults({ submitHandler: function() { var actionUrl = $j('#contact_form').attr('action'); $j.ajax({ type: 'GET', url: actionUrl, data: $j('#contact_form').serialize(), success: function(msg){ $j('#contact_form').hide(); $j('#reponse_msg').html(msg); } }); return false; } }); */ Along with that, please consider switching to a more robust theme. After reviewing some of the code in this theme I feel obligated to recommend switching from using this theme in a case where it’s mission critical application (like running a business). There are some issues with how it tries to start sessions, removes standard WordPress filters, adds its own shortcode handling, and injects JavaScript (like the scripts that were breaking your submit button) onto every page of the site. Unlike when Atlas was added to the marketplace, Themeforest now has new submission guidelines that they are now enforcing, which wouldn’t allow this theme to be sold there if it was submitted today. |
|
|
Thank you. This did the trick. Unfortunately, I have so much invested in the look of this site, it will not be easy to change to something else, but I appreciate and recognize your feedback. |
The support post ‘Submit button not wokring’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.