This error was introduced with version 1.0
The request to /wp-admin/admin-ajax.php returns a 500 Internal Server Error.
(WP 3.4.2)
Ok, apparently something is broken. The plugin works fine on my sites, but there must be an incompatibilty with some version of PHP or JavaScript.
If you are one of the users having this problem, can you please post your php version, wordpress version browser version and also the error php reports (if you have access to the error log).
Thanks! And sorry for the inconvenience… :/
PHP Version 5.2.17 & 5.3.4
WP 3.4.1 & 3.4.2
the problem is related to the response header change in the json answer.
disabling the line
[380] //header(“text/json”);
fixes the problem.
WP_DEBUG printed out:
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:2758) in <b>/wp-content/plugins/simple-history/index.php</b> on line <b>380</b>
{“status”:”ok”,”error”:””,”items_li”:”<li class=’ simple-history-has- …
:::
thanks for your useful plugin
Thread Starter
lukehm
(@lukehm)
php: 5.3.13
wordpress: 3.4.2
browser: Firefox 15.0.1
Not getting any WordPress debug errors
I hope that helps
Best
Thanks for the help.The problem probably has to do with the way I use the header()-function. It misses the content-type string. Guess I was really tired when I wrote that part :/ Thanks for pointing me in the right direction. New version will probably be available later today. Let me know if that version works then!
Version 1.0.1 -> Problem has gone.
Works like a charm.
Thanks a lot.
Thread Starter
lukehm
(@lukehm)
Version 1.0.1 all working well
Thanks
One for the wish list.
I view history on its own page under the dashboard
I’d really like to show more than 5 items at a time, any chance to add something in settings
Best
Good to hear that it works again 🙂
@lukehm: I’ll add that to the wish-list. Should be pretty easy to add an option for that on the options page.