WordPress.org

Forums

DB error (3 posts)

  1. Mark (podz)
    Support Maven
    Posted 10 years ago #

    I save a post - either save and continue or just save - and this appears in the post preview window:
    "Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
    SELECT post_content FROM wp_posts WHERE id=
    "
    Everything still works fine, and I assume I've slipped up somewhere when poking around, but any clues as to which file I need to look in would be cool.
    (I've got all the originals, but I've not the slightest clue how to run a 'diff' on them)

  2. welsper
    Member
    Posted 10 years ago #

    If you're using *nix, just do a man diff...
    If you're using Windows, try this program:
    http://www.scootersoftware.com/

  3. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Thanks welsper !
    And XP here ..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.