WordPress.org

Support

Support » How-To and Troubleshooting » restoring previous post version

restoring previous post version

  • MrCardinal
    Member

    @mrcardinal

    I was messing around with an existing post, trying to link it to a forum, and I really screwed something up. I am getting errors now when I load the post. I can still edit the text of the post- but I am noticing sometimes when I go to edit the post, it just won’t display, but luckily I had it open in another window and was able to save it back to where it worked. Something is really odd. This is what I see when I load the post:

    WordPress database error: [MySQL client ran out of memory]
    SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_parent = 537 AND wp_posts.post_type = ‘revision’ AND (wp_posts.post_status = ‘inherit’) ORDER BY wp_posts.post_date DESC

    WordPress database error: [Lost connection to MySQL server during query]
    SELECT meta_key, meta_value, meta_id, post_id FROM wp_postmeta WHERE post_id = 537 ORDER BY meta_key,meta_id

    WordPress database error: [MySQL server has gone away]
    SELECT meta_key FROM wp_postmeta WHERE meta_key NOT LIKE ‘\_%’ GROUP BY meta_key ORDER BY meta_id DESC LIMIT 30

    WordPress database error: [MySQL server has gone away]
    SELECT user_id FROM wp_usermeta WHERE meta_key = ‘wp_user_level’ AND meta_value != ‘0’
    Post Author

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_users WHERE ID IN (1) ORDER BY display_name ASC

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_postmeta WHERE post_id=537 AND meta_key=’forumlink’;
    Create Forum Topic

    Select Forum:

    WordPress database error: [MySQL server has gone away]
    SELECT forum_id, usergroup_id, permission_role FROM wp_sfpermissions ORDER BY permission_id

    WordPress database error: [MySQL server has gone away]
    SELECT role_id, role_actions FROM wp_sfroles ORDER BY role_id

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_sfmembers WHERE user_id = 1

    WordPress database error: [MySQL server has gone away]
    SELECT wp_sfgroups.group_id, group_name, group_desc, group_rss, group_icon, forum_id, forum_name, forum_slug, forum_desc, forum_status, forum_icon, post_id FROM wp_sfgroups LEFT JOIN wp_sfforums ON wp_sfgroups.group_id = wp_sfforums.group_id ORDER BY group_seq, forum_seq;

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_sfgroups ORDER BY group_seq

    Any ideas on how to get things back to normal? Is there a way I can roll back to the way it was before I started messing around with it? Is it stored on the FTP server somewhere?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘restoring previous post version’ is closed to new replies.