[wp-testers] comment deletion

Jennifer Hodgdon yahgrp at poplarware.com
Thu Aug 30 21:42:50 GMT 2007


Adi Rabinovich wrote:

> I got the beta installed on my new site, econoville.com, and only got one or two basic plugins installed.
> 
> Everything seemed fine, until I tried to Delete Comment, the default one that comes with WordPress install.
> 
> Got the following error:
> WordPress database error: [Table 'adir1_econ.wp_categories' doesn't exist]
> SELECT c.cat_ID AS ID, MAX(p.post_modified) AS last_mod FROM `wp_categories` c, `wp_post2cat` pc, `wp_posts` p WHERE pc.category_id = c.cat_ID AND p.ID = pc.post_id AND p.post_status = 'publish' AND p.post_type='post' GROUP BY c.cat_id 

I just tried this on my installation of Bleeding Edge From Last Night 
(should be fairly close to the Beta zip file). I went to the Comments 
screen in the admin screens, and clicked on one of the Delete links 
next to a comment. It deleted without any error.

I also looked in the WordPress source code, and there is no query like 
that being generated that I could see (I searched for the string 
"post2cat", and although the string appears in several places, the 
only place it was in queries was in the upgrade.php file).

So you might want to check your plugins after all.
     --Jennifer

-- 
Jennifer Hodgdon

Poplar ProductivityWare * www.poplarware.com
Web Databases/Scripts * Modeling/Analysis/Palm OS Software



More information about the wp-testers mailing list