Archive for May 18th, 2008

Cooling device for my Macbook Pro

Sunday, May 18th, 2008
dsc00068.jpg
Currently i’m using Notepal by Cooler Master.

(more…)

Popularity: 100% [?]

Popularity Contest Plugins activation error

Sunday, May 18th, 2008

Today I’m make a decision to install Alex King’s Popularity Contest. After i download the file and copy to my /plugins,I try to activate the plugins but got this error ‘Plugin could not be activated because it triggered a fatal error’. So the solution is :

  1. Open popularity-contest.php find (’../../wp-blog-header.php’) and replace with (’../wp-blog-header.php’)
  2. Create 2 tables, must do it manually. I means using your phpMyadmin. You’ll need to run the following SQL queries.

CREATE TABLE IF NOT EXISTS `wp_ak_popularity` (
`post_id` int(11) NOT NULL,
`total` int(11) NOT NULL,
`feed_views` int(11) NOT NULL,
`home_views` int(11) NOT NULL,
`archive_views` int(11) NOT NULL,
`category_views` int(11) NOT NULL,
`single_views` int(11) NOT NULL,
`comments` int(11) NOT NULL,
`pingbacks` int(11) NOT NULL,
`trackbacks` int(11) NOT NULL,
`last_modified` datetime,
KEY `post_id` (`post_id`)
) ENGINE=MyISAM;

CREATE TABLE IF NOT EXISTS `wp_ak_popularity_options` (
`option_name` varchar(50) NOT NULL,
`option_value` varchar(50) NOT NULL
) ENGINE=MyISAM;

It’s work…you can see at each of my post. If you had a problem like me..try applied solution that i write…

Popularity: 33% [?]