Problem with blogroll after upgrading to WP2.1.1
-
Hi,
after upgrading from WP209 to WP211 I got the typical error with the table wp_link2cat:
WordPress database error: [Table ‘XXXX.wp_link2cat’ doesn’t exist] SELECT category_id FROM wp_link2cat WHERE link_id = 11 ORDER BY category_id
So, I created the table using this code:
CREATE TABLE
wp_link2cat
(
rel_id
bigint(20) NOT NULL auto_increment,
link_id
bigint(20) NOT NULL default ‘0’,
category_id
bigint(20) NOT NULL default ‘0’,
PRIMARY KEY (rel_id
),
KEYlink_id
(link_id
,category_id
)
) TYPE=MyISAM AUTO_INCREMENT=9 ;After that, I assigned all the links in blogroll to one category (I get just 3 categories for the links, and instead for the posts I have 15 ones…I don’t know why).
Anyway, now I’m getting this error:
WordPress database error: [Unknown column ‘link_’ in ‘order clause’]
SELECT * , IF (DATE_ADD(link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated , UNIX_TIMESTAMP(link_updated) AS link_updated_f FROM wp_links WHERE 1=1 AND link_visible = ‘Y’ ORDER BY link_ ASCas you can see here: https://www.iccc.es (under “Enlaces”, you should select the text to see this error).
Please, since I just have a little idea about sql, I appreciate any kind of help.
Thank you.
- The topic ‘Problem with blogroll after upgrading to WP2.1.1’ is closed to new replies.