• Resolved dunnerz

    (@dunnerz)


    Hi,

    One of my sites
    https://www.southendmusicfestival.co.uk is having a strange issue.

    Upon editing a page (one of note, about us) only about half of the information updates (this happens when I press the update button without any modifications, also note that auto save is stuck at saving to draft). I have to restore from previous revisions.

    So far I have tried:
    Changing theme
    Disable all plugins
    Dump and recreate database
    Check character encoding on all db tables

    Have also checked mod security is not working

    Also, I tried using the export tool, it exports ok, but when trying to import to a different instance it says file incomplete.

    Also noticed that phpmyadmin won’t export it (empty file).

    I guess it’s some sort of character encoding issue, but I can’t see anything obvious (copying text to text editor and back again doesn’t help),

    I have recently upgraded debian, which includes php going to 5.6 and mysql to 5.6 as well.

    Does anyone have any ideas?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Thread Starter dunnerz

    (@dunnerz)

    Hi,

    Thanks – but had already checked that thread.

    Looking at $_POST and php://input the data is truncated at that point too – but using firebug I can see the request is in the payload all okay.

    Cheers.

    Thread Starter dunnerz

    (@dunnerz)

    Not a wordpress issue, please see excert from a chat below:

    Assumed it was encoding issue (had just updated wordpress and database,e tc.)
    Also because JSON in ajax had full content – php://input was truncated
    tldr …. it wasn’t wordpress
    installed dumpio and got raw apache posts
    turns out php sapi was truncating the post
    https://bugs.php.net/bug.php?id=69487
    Although I thought I was on a higher version than that
    In fact, I am – but it still exists
    Somehow, big permissions bug when updating my debian version
    apt-get remove –purge all of apache and php, then it started working

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Posts truncated when editing’ is closed to new replies.