Barnoid’s Knowledge Base

Bits of Collected Wisdom

November 29th, 2006

WordPress Stopped Working?

If your WordPress blog has stopped working with an “It doesn’t look like you’ve installed WP yet. Try running install.php” error and you’re using mysql, make sure you didn’t accidentially upgrade from mysql 4.x to 5.x. Starting with version 5, mysql does no longer trim spaces from varbinary fields, however, WordPress expects that (incorrect) behavior.

Until the WordPress guys fix the table structure (i.e. use varchar instead of varbinary fields for string fields), you’ll have to go with mysql 4.x.

November 29th, 2006

Korean Text Not Displayed Correctly

If your Korean fonts look fugly, such as in this example here, make sure to remove the unicode USE flag from media-fonts/baekmuk-fonts

# echo "media-fonts/baekmuk-fonts -unicode" >> /etc/portage/package.use

and re-emerge them

# emerge -av baekmuk-fonts

Thanks to the guys at gentoo.or.kr for helping me with that one.