• I recieve the following errors when I post an entry:
    Database error: [Unknown column ‘post_excerpt’ in ‘field list’]
    INSERT INTO movies_posts (ID, post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, post_modified, post_modified_gmt) VALUES (‘0’, ‘1’, ‘2004-05-16 16:49:31’, ‘2004-05-16 20:49:31’, ‘This is the really really really super duper really really really really super duper really really really really super duper really really really really super duper really really really really super duper really really really really super duper really really really really super duper really really super duper long description of the movie.’, ‘Movie Title’, ”, ‘publish’, ‘open’, ‘open’, ”, ‘movie-title’, ”, ‘2004-05-16 16:49:31’, ‘2004-05-16 20:49:31’)
    Warning: Cannot modify header information – headers already sent by (output started at /home/faithful/public_html/ara/movies/wp-includes/wp-db.php:77) in /home/faithful/public_html/ara/movies/wp-admin/post.php on line 139
    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 ‘AND category_id = 1’ at line 1]
    SELECT * FROM movies_post2cat WHERE post_id = AND category_id = 1
    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 to_ping FROM movies_posts WHERE ID =
    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 pinged FROM movies_posts WHERE ID =
    Does anyone know how I might fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • ara,
    This is my best guess, so please bear with me…try taking a peek at your wp-config.php file, and make sure that there are no extra spaces or returns anywhere. Especially make sure that there is nothing after the closing PHP tag – ?>
    HTH.
    Craig.

    ara, if you upgraded from a previous version of WP to a newer version, you have to have run upgrade.php which creates new tables etc if needed. Have you run that file? Try running it anyways, doesn’t harm 🙂
    wp-admin/upgrade.php

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors when publishing’ is closed to new replies.