WordPress.org

Ready to get started?Download WordPress

Forums

Error message - what does it mean (3 posts)

  1. adga
    Member
    Posted 7 years ago #

    I am completely new (less than a week) to WordPress and I don't know what the following error message means or what I can/should do about it. It comes up about a third of the times I upload something but I have not yet found a consistent pattern. I don't think there is anything wrong with my connection.

    WordPress database error: [Lost connection to MySQL server during query]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES ('11','_pingme','1')

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/12/d83843876/htdocs/word/wp-includes/wp-db.php:102) in /homepages/12/d83843876/htdocs/word/wp-admin/post.php on line 128

    Hope someone can help

  2. pauljohns
    Member
    Posted 7 years ago #

    I'm not a guru, but I would try this:
    ftp into your host and go to this file: wp-admin/post.php.
    go to line 128. copy that line and paste it in here and we can all see if we can figure out the issue. if you know what php is supposed to look like as far as syntax, you could check for extra whitespace and delete it. if you're not sure, just post that line here.

    By the way, what are you trying to upload?

  3. adga
    Member
    Posted 7 years ago #

    Thanks. I know virtually noting about php except that everything to the right of the two obliques is a comment. I don't know what spaces should be in the first part. the message comes up when I am publishing an ordinary post, nothing fancy just text with a few links. It happens sometimes but not others and the post is still uploaded. Here is line 128.

    header ('Location: ' . $location); // Send user on their way while we keep working

Topic Closed

This topic has been closed to new replies.

About this Topic