[wp-testers] Re: wp-testers Digest, Vol 30, Issue 22

Adi Rabinovich adir1 at yahoo.com
Thu Aug 30 19:33:27 GMT 2007


Hi,

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 didn't dig into the code yet, but I doubt this came from any of the plugins.

Anyone else encountered this?

Thanks,
Adi R.
http://adir1.com


----- Original Message ----
From: "wp-testers-request at lists.automattic.com" <wp-testers-request at lists.automattic.com>
To: wp-testers at lists.automattic.com
Sent: Thursday, August 30, 2007 8:01:03 AM
Subject: wp-testers Digest, Vol 30, Issue 22


Send wp-testers mailing list submissions to
    wp-testers at lists.automattic.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.automattic.com/mailman/listinfo/wp-testers
or, via email, send a message with subject or body 'help' to
    wp-testers-request at lists.automattic.com

You can reach the person managing the list at
    wp-testers-owner at lists.automattic.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wp-testers digest..."


Today's Topics:

   1. Re: 2.3 Nightly - Plugin Compatibility (Pixline)


----------------------------------------------------------------------

Message: 1
Date: Thu, 30 Aug 2007 13:23:45 +0200
From: Pixline <supporto at pixline.net>
Subject: Re: [wp-testers] 2.3 Nightly - Plugin Compatibility
To: wp-testers at lists.automattic.com
Message-ID: <AEFB6564-08D5-4F60-A73A-6457FFCBE5D7 at pixline.net>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Il giorno 29/ago/07, alle ore 07:12, Ryan Boren ha scritto:
> I've heard that some plugins included upgrade-functions.php.  Anything
> other file reorgs causing problems?

I can speak for myself, but I think that most plugins would fail just  
for upgade-functions.php

I solved it adding:

if($wp_db_version >= 5540) $page = 'wp-admin/include/upgrade.php';  
else $page = 'wp-admin/upgrade-functions.php';
require_once(ABSPATH . $page);

I'm not sure if there's a better way to include this file, by the  
way... can you please explain if you do?
Thank you!


Paolo / Pixline.net coder
--------------------------------------------
http://linkedin.com/in/paolotresso
http://pixline.net



------------------------------

_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers


End of wp-testers Digest, Vol 30, Issue 22
******************************************


More information about the wp-testers mailing list