I have same situation.
On test host all worked fine, but now on submit firebug throws errors that data is null.
var ro = $(data.into).find('div.wpcf7-response-output');
Odd error. Seems that it can’t retrieve data via form post.
With regards,
Sergei.
@srumjant – Well I am not an php expert but did you move the database from test server (which contain Contact Form’s records) to a new one?
I managed to make Contact Form send emails. What I did was, downloaded header.php of my theme, removed <?php wp_head(); ?>
then uploaded it back, and then uploaded it once again but with <?php wp_head(); ?>
. Have no idea why it did help.
Unfortunately it didn’t help with Ajax. My page is reloading after submitting and because the form is in a Lightbox it screws my template :<
Ninetou, maybe you are having two different problems. For Ajax issue, please check this doc:
Why isn’t My AJAX Contact Form Working Correctly?
For issue of no sending, there are some topics relating to it on FAQ.
Thanks for quick answer. However it didn’t help me.
Still same error:
data is null
[Break on this error] var ro = $(data.into).find('div.wpcf7-response-output');
Removed plugin and then added it again back. Still same problem.
Takayuki Miyoshi thank you for you reply. I read this article and I think its the most likely because of conflicting JS on my page. As I said whenever I change theme to some simple one, without built-in JS features, form works as it should. The problem is I have not clue which scripts are conflicting. My website
Odd things happen. I copied all files from test server(http://www.ariinfo24.eu/lehed/kaardiekspert/kontakt/saada-paring/)
to working server (http://www.kaardiekspert.ee/kontakt/saada-paring/).
Even this didn’t solve the problem. :S
It works on test server. How is it possible.
Srumjant, maybe there is a problem with absolute patches in database. Basing on my experience with Joomla! patches need to be up-to-date with the sever to avoid problems with plug-ins. You can find some patches in your WordPress database in wp_options table. Try to give it a shot.
Still didn’t succeed in making Ajax work :<