WordPress.org

Ready to get started?Download WordPress

Forums

Keep Getting The Error Message 'wp_commentmeta table is missing' In CommentLuv (1 post)

  1. Shan
    Member
    Posted 2 years ago #

    I keep getting that message about every two weeks. I follow the instructions here: http://wordpress.org/support/topic/wp_commentmeta-table-a39xxxx2_blogwp_commentmeta-doesnt-exist?replies=7

    But it seems to only work for a short time. My commemtmeta table looks like this:

    CREATE TABLE $wpdb->commentmeta (
      meta_id bigint(20) unsigned NOT NULL auto_increment,
      comment_id bigint(20) unsigned NOT NULL default '0',
      meta_key varchar(255) default NULL,
      meta_value longtext,
      PRIMARY KEY  (meta_id),
      KEY comment_id (comment_id),
      KEY meta_key (meta_key)
    ) $charset_collate;

    But the instructions show this:

    CREATE TABLE wp_commentmeta (
      meta_id bigint(20) unsigned NOT NULL auto_increment,
      comment_id bigint(20) unsigned NOT NULL default '0',
      meta_key varchar(255) default NULL,
      meta_value longtext,
      PRIMARY KEY  (meta_id),
      KEY comment_id (comment_id),
      KEY meta_key (meta_key)
    )

    And when I went into the schema.php file just now, all that code was already there. What do I do to fix this?

Topic Closed

This topic has been closed to new replies.

About this Topic