This error “Cannot yet handle MBCS in html_entity_decode()……” happens when you are using php4, WP-PostRatings Plugin version 1.31 and less, and you are using “UTF-8″ for your “Content-Type” Meta Tag in your WordPress Blog. It happens to one of my gaming site, GamesFreez.com and I have corrected it using the following solution:
1. Open WP-PostRatings.php
2. Find
$text = html_entity_decode($text, ENT_QUOTES, get_option(’blog_charset’));
3. Replace with
if(( version_compare( phpversion(), ‘5.0′ ) < 0 ) && (strtolower(get_option(’blog_charset’)) == ‘utf-8′)) {
$trans_tbl = get_html_translation_table (HTML_ENTITIES);
$trans_tbl = array_flip ($trans_tbl);
$text = strtr ($source, $trans_tbl);
$text = utf8_encode($text);
}else{
// url decode (phpversion =< 5.0 or get_option(’blog_charset’)!= utf-8 )
$text = @html_entity_decode($text, ENT_QUOTES, get_option(’blog_charset’));
}
I have also posted at Lester Chan’s Forum, so hopefully I do not have to face the same problem again when he released the new version of WP-PostRatings Plugin
Update: WP-PostRatings 1.31 Plugin confirmed has the above problem. Try the above solution.
Popularity: 3% [?]
As mentioned in my previous blog post “SiteMap For WordPress MU“, not only did I claimed to get the sitemap for WordPress MU working, I also show you my WordPress Mu at NewsFreez.com.
Now I am going to reveal the steps to get the SiteMap For WordPress MU working for you. Here are the steps:
Read the rest of this entry
Popularity: 6% [?]
After spending more than 6 hours surfing from morning to afteroon, I feel quite excited about getting Richard Palace Dot Com Mobile Friendly.
I went from searching for a Mobile Browser for my Cell Phone LG KS20 as the Microsoft Internet Mobile Browser, that comes with the Window Mobile 6, does not perform up to my expectation. I think it is rather slow.
Richard Palace Dot Com originally installed WordPress Mobile Plugin 2.1 from Alex King since my post on WordPress 2.51 installed on 27th April 2008. However after some testing and searching, I found another WordPress Mobile Plugin, by Andy Moore, more attractive. Here are some nice features:
* Easy to install, one file. WURFL not required
* Automatic mobile phone & PDA detection
* Post & upload from your mobile
* Supports display and posting of comments
* Supports AdMob mobile advertising
* SEO friendly titles and H1 tags
* Highly configurable & easy to customise
* Adheres to W3C & mTLD dotMobi standards
* Released by dotMobi Certified Developer
I will be using this WordPress Mobile Plugin till there is a better one out there. As this WordPress Mobile Plugin automatically detect the browser, the mobile site share the same address as the classic one and you will notice the differences only if you used Mobile Browser.
If you have any problem accessing my site using Mobile Browser from your pda, iphone, smartphone, mobile phone, cell phone or your classic browser like Opera, FireFox, Safari, MSIE, kindly let me know so I can rectify the problem as soon as possible.
Popularity: 5% [?]
If you upgraded WordPress to 2.5 and above, you will most likely encounter the Fatal Error problem when trying to activate the Popularity Contest Plugin by Alexa King even if you downloaded the latest version (currently 1.3b3).
Here is the fix for the fatal error:
1. Open popularity-contest.php
2. Scroll down to line 59.
3. Find require(’../../wp-blog-header.php’);
4. Replace with require(’../wp-blog-header.php’);
If you activated it and it displayed the wp_ak_popularity does not exists error, go to your MyPHPAdmin in your control panel for your server, 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;
Verify the 2 tables exist and try to activate the plugin again. It should work now.
Popularity: 4% [?]
WP-Cache Plugin is one of the top 10 plugin for WordPress Blog. Basically, it speeds up your site and if your blog has high traffic, it is recommended that you have it installed. Remember to delete cache if you edit your wordpress theme.
WP-Cache is an extremely efficient WordPress page caching system to make you site much faster and responsive. It works by caching Worpress pages and storing them in a static file for serving future requests directly from the file rather than loading and compiling the whole PHP code and the building the page from the database. WP-Cache allows to serve hundred of times more pages per second, and to reduce the response time from several tenths of seconds to less than a millisecond.
WP-Cache started from the ”’Staticize Reloaded”’ by matt and billzeller. Most of their recommendations also apply to WP-Cache. Current version, WP-Cache2, is a huge improvement over previous versions of WP-Cache.
WP-Cache is composed of two parts:
- Two-phases Wordpress hooks. The first is called at the very begining –wp-cache-phase1.php– when just few code has been compiled. The second –wp-cache-phase2.php– after all plugins have been executed. The first phase checks if the requested URL is already cached, if so it serves from the static file and finishes. The second phase stores the generated page in a static file for further request.
- The WP-Cache plugin. This plugin configures and manages the whole process. It is easy to use and self-documented. It allows yoy to enable or disable cache, define expiration time for static pages, define rules for rejecting and accepting which URLs and php files can be cached, and shows and delete pages in cache.
Current version is 2.1.2 updated on 2007-09-21
Click here to stay updated with the latest version.
Popularity: 4% [?]
Akismet Plugin is the most popular anti-spam plugin. It checks your comments against the Akismet web service to see if they look like spam or not. You need a WordPress.com API key to use it. You can review the spam it catches under “Comments.” To show off your Akismet stats just put <?php akismet_counter(); ?> in your template.
Current version is 2.1.4 updated on 2008-2-12
Click here to stay updated with the latest version
Popularity: 3% [?]
Google XML Sitemaps Plugin is highly recommend. This plugin will create a Google sitemaps compliant XML-Sitemap of your WordPress blog. It supports all of the WordPress generated pages as well as custom ones. Everytime you edit or create a post, your sitemap is updated and all major search engines that support the sitemap protocol, like ASK.com, Google, MSN Search and YAHOO, are notified about the update.
Current version is 3.0.3 updated on 2007-12-30
Click here to stay updated with the latest version.
Popularity: 3% [?]
All in One SEO Pack Plugin is highly recommend. It optimizes your Wordpress blog for Search Engines. Your blog post will rank higher as the title tag and meta description are Search Engine optimized.
Here are the features.
- Automatically optimizes your titles for search engines
- Generates META tags automatically
- Avoids the typical duplicate content found on Wordpress blogs
- For Wordpress 2.3 you don’t even have to look at the options, it works out-of-the-box. Just install.
- You can override any title and set any META description and any META keywords you want.
- You can fine-tune everything
- Backward-Compatibility with many other plugins, like Auto Meta, Ultimate Tag Warrior and others.
Current version 1.4.5.9 updated on 2008-2-17.
Click here to stay updated with the latest version.
Popularity: 3% [?]