-
AuthorPosts
-
hinatasnape Friend
hinatasnape
- Join date:
- February 2009
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
March 8, 2010 at 10:56 am #149290Hello,
I have a problem with this template :
I have this message
Warning: cannot yet handle MBCS in html_entity_decode()! in /homez.170/thetrues/www/libraries/joomla/application/pathway.php on line 209
You can see in my siteweb :
http://thetruestoryofseverussnape.com/index.php
And click on the title of the first news
Thanks for your help
lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
March 8, 2010 at 11:19 am #335311Download lastest Joomla 1.5.15 and Unzip it
Use FTP upoad (overwrite) folder /libraries/ to your host.
Thankshinatasnape Friendhinatasnape
- Join date:
- February 2009
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
March 8, 2010 at 11:33 am #335314But I have install this template directly with “Template/Quickstart”
lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
March 8, 2010 at 11:50 am #335317check it
Why do I get the message “Warning: cannot yet handle MBCS in html entity decode”
From Joomla! Documentation
Jump to: navigation, searchThis message is caused by a bug in PHP version 4 and a change made for Joomla! version 1.5.15. For version 1.5.15, we fixed tracker issue 18493 to correct a problem where UTF-8 (non-ASCII) characters did not display correctly in the breadcrumbs module. However, this bug fix used a feature that doesn’t work correctly in some older versions of PHP.
To correct this problem, upgrade your server to use PHP version 5. If that is not possible, you can make a change to line 209 of the file libraries/joomla/application/pathway.php. In version 1.5.15, this line is as follows:
$item->name = html_entity_decode($name, ENT_COMPAT, 'UTF-8');To fix this problem on a site running PHP 4.x, change line 209 to:
$item->name = html_entity_decode($name);
If you like, you can make the following code change instead of the one above. This will allow the function to correctly display UTF-8 if the site is running PHP 5.x. Replace line 209 with the following lines:
if((version_compare( phpversion(), '5.0' ) < 0)) {
$item->name = html_entity_decode($name);
} else {
$item->name = html_entity_decode($name, ENT_COMPAT, 'UTF-8');
}So the entire function will now be as follows:
function _makeItem($name, $link)
{
$item = new stdClass();
if((version_compare( phpversion(), '5.0' ) < 0)) {
$item->name = html_entity_decode($name);
} else {
$item->name = html_entity_decode($name, ENT_COMPAT, 'UTF-8');
}
$item->link = $link;
return $item;
}
hinatasnape Friendhinatasnape
- Join date:
- February 2009
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
March 8, 2010 at 12:37 pm #335320Thanks so much !!!!!
Its good now 🙂
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by hinatasnape 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum