Do you see any POST request to https://yoursite.example/wp-admin/admin-ajax.php on your browser’s network inspection? There should be such a n AJAX request returning XML. Do you see any JavaScript errors in the browser’s console?
Thread Starter
cdorob
(@cdorob)
Yes, there is a call to admin-ajax.php and some data returning. I say some data because it looks like there is only the first part of the XML. No errors…
Can you post the (redacted) response here?
I’ve got the same issue after updating from 14.6 to current version. After deactivating Ajax, everything works fine. But that’s not the solution. 😉
I receive an POST lib_ajax.php 301 Moved Permanently
Fatal error: Cannot redeclare get_cforms_entries() (previously declared in /****/wp-content/plugins/cforms2/lib_aux.php:387) in /****/wp-content/plugins/cforms/lib_aux.php on line 718
As the current version of the plugin is located at /cforms2/ and not at /cforms/ (which I deleted before!), this perhaps could guide you to the solution.
I really hope, you can fix this bug.
Sincerely,
Mike
update:
Perhaps, I hadn’t deleted the old /cforms/ folder before I received the message above.
Now, it’s deleted. I’ve also erased all former data and then installed a clean cforms2 plugin. After that, I imported a backup of all data and receive the following network error:
POST lib_ajax.php 404 Not Found
The interesting thing is, that the above mentioned error still refers to /wp-content/plugins/cforms/lib_ajax.php – and NOT to /cforms2/.
This could be the solution …
If I upload the cforms2 plugin – in addition – in a folder /cforms/, the answer of this POST request is:
<b>Fatal error</b>: Call to undefined function plugin_dir_path() in <b>/***/wp-content/plugins/cforms/lib_ajax.php</b> on line <b>23</b>
@mikey79 your 2nd and 3rd posts sound like a caching issue. There are no POST requests to lib_ajax.php in cformsII 14.12. You should check that the cforms.admin.js and cforms.js you receive in your browser are the same as the files on your host. Maybe you have some caching plugin installed that messes up.
I would expect the fatal errors in your other posts in the described scenarios.