send button does not work
-
Hi
On the contact form, when I fill out my name, email and message, nothing happens when I click the send button.
Thoughts?
-
Hello @dvazbrad,
Do you have Firebug installed ? Maybe be a javascript error in there.
I’m also having the same problem in that nothing happens when the guest presses the send button. I receive an email however there is no confirmation or redirect to show the guest that they were successful with their submission.
I have firebug installed on firefox however not on chrome where I have run the tests myself to confirm the scenario above.
Hello @valdez12,
Look into console tab of Firebug, there should be the javascript errors… and post here a printscreen or a log. If I don’t know the errors, I can’t debug. 🙂
Here you go, the two errors I received in the console tab of firebug when attempting to send a message.
POST http://mydomain.com/wp-admin/admin-ajax.php 302 Moved Temporarily 864ms jquery.js (line 4)
GET http://mydomain.com/ 503 Service Unavailable 567ms
Let me know if you need anything further.
Is your website online ? Give me the url, please.
As I see there is a 302 redirect when admin-ajax.php is accessed… and is pretty strange.
Here you go
w w w . juanbravo . me
I’ve noticed on another of my sites running WP 4.01 that the confirmation and redirect work perfectly so perhaps that is the solution i.e. to upgrade WP.
Valdez12: yes, could be a 4.0 issue with ajax calls via admin-ajax.php. Anyway, I will investigate! Thank you!
Can you remove my website address post please George?
I don’t have rights to edit others replies. 🙂
Do you have a redirection URL in plugin settings ?
http://screenshotlink.ru/3705b6066e6a2eff37b1a7d8c4acb64d.png
If yes, then… go to /wp-content/plugins/wp-maintenance-mode/includes/classes/wp-maintenance-mode.php and replace this:
public function redirect() { if (empty($this->plugin_settings['general']['redirection'])) { return NULL; } if ($this->check_user_role()) { return NULL; } if (preg_match('#wp-admin/#', $_SERVER['REQUEST_URI'])) { $redirect_to = stripslashes($this->plugin_settings['general']['redirection']); wp_redirect($redirect_to); } }
With this:
public function redirect() { if (empty($this->plugin_settings['general']['redirection'])) { return NULL; } if ($this->check_user_role()) { return NULL; } if (defined('DOING_AJAX') && DOING_AJAX) { return NULL; } if (preg_match('#wp-admin/#', $_SERVER['REQUEST_URI'])) { $redirect_to = stripslashes($this->plugin_settings['general']['redirection']); wp_redirect($redirect_to); } }
This edit will also be available in version 2.0.4.
Hi, I’m having same problem. Works fine in Chrome but not in Firefox and IE. I have added the above code.
In FF and IE, nothing happens when you click Subscribe. On clicking Contact Us you can enter details and when you click Send the email gets sent but you don’t see a confirmation.
same problem any fix thx
- The topic ‘send button does not work’ is closed to new replies.