The MU forums have moved to WordPress.org

Error Database.. please help (3 posts)

  1. lisaharman
    Member
    Posted 17 years ago #

    can anyone please explain this error to me. The template is the Suhweet plus widgets and the site is this one http://www.abundancehighway.com

    Wordpress database error: [Table 'webarts_wrdp5.wp_post2cat' doesn't exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID

    Warning: Cannot modify header information - headers already sent by (output started at /home/webarts/public_html/abundancehighway/wp-includes/wp-db.php:160) in /home/webarts/public_html/abundancehighway/wp-includes/pluggable.php on line 390

    WordPress database error: [Table 'webarts_wrdp5.wp_post2cat' doesn't exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID
    WordPress database error: [Table 'webarts_wrdp5.wp_post2cat' doesn't exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID

    Warning: Cannot modify header information - headers already sent by (output started at /home/webarts/public_html/abundancehighway/wp-includes/wp-db.php:160) in /home/webarts/public_html/abundancehighway/wp-includes/pluggable.php on line 390

    thanks in advance

  2. moorezilla
    Member
    Posted 17 years ago #

    A lot of times when you get a "headers already sent" error, it's because you have extra blank lines at the bottom or top of a php file. You might check the php files mentioned for any extra lines at the top of the bottom and remove them if there are any.

    The sql error looks like there is either a missing table or a missing column in a table. If you don't get this error with other templates, there's "an" though not really "the" answer. Someone else will have to help from here. That's all I can do.

  3. lunabyte
    Member
    Posted 17 years ago #

    You are asking about WordPress.

    WordPress support is here:

    http://wordpress.org/support/

About this Topic

  • Started 17 years ago by lisaharman
  • Latest reply from lunabyte