WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT ID, COUNT( comment_ID ) AS ccount FROM wp_str8_posts LEFT JOIN wp_str8_comments ON ( comment_post_ID = ID AND comment_approved = '1') WHERE post_status = 'publish' AND ID IN (5437) GROUP BY ID

STR8BLOGGIN » 2012 » September

Archive for September, 2012

The baffling situation involving Express 3.0 + Hogan

Thursday, September 13th, 2012

It seems like almost no one really understands how to get Express 3.0 partials working with Hogan, a new remarkably fast template system developed by Twitter.

Here’s the secret sauce:

And an example of how to use it:

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(comment_ID) FROM wp_str8_comments WHERE comment_post_ID = 5437 AND comment_approved = '1';

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(*) FROM wp_str8_comments WHERE comment_post_ID = '5437' AND comment_approved = '1'

No Comments »