Fixing Popularity Contest
27 December 2008
No Comment
Guide to fix popularity contest, a very popular WP Plugin!
Open popularity-contest.php and scroll down to line 59. Replace require(’../../wp-blog-header.php’); with require(’../wp-blog-header.php’);
If you get the following error:
wp_ak_popularity_options’ doesn’t exist on line: 124, then you will have to add the tables manually:
CREATE TABLE IF NOT EXISTS `PREFIX_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 `PREFIX_ak_popularity_options` ( `option_name` varchar(50) NOT NULL, `option_value` varchar(50) NOT NULL ) ENGINE=MyISAM;
Enjoy the holidays!
Like our posts? Then subscribe via Mail:
Similar Posts:
- Emergency Plan B – Wordpress Mass Attack
- Multilingual Wordpress
- Trailing Slash and SEO URL’s
- SQL: Select table entries with the same value
- Apache “Under Construction” with exceptions
Socialize:
|
|











Leave your response!