WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple History] Filter and Pagination returning no results

[Resolved] [Plugin: Simple History] Filter and Pagination returning no results

Viewing 8 replies - 1 through 8 (of 8 total)
  • ernscht

    @ernscht

    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)

    Plugin Author Pär Thernström

    @eskapism

    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… :/

    ernscht

    @ernscht

    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

    php: 5.3.13
    wordpress: 3.4.2
    browser: Firefox 15.0.1
    Not getting any WordPress debug errors
    I hope that helps
    Best

    Plugin Author Pär Thernström

    @eskapism

    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!

    ernscht

    @ernscht

    Version 1.0.1 -> Problem has gone.
    Works like a charm.
    Thanks a lot.

    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

    Plugin Author Pär Thernström

    @eskapism

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Simple History] Filter and Pagination returning no results’ is closed to new replies.