Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 12:34:06 PM

Pages: [1]   Go Down
  Print  
Author Topic: Joomla Error  (Read 1406 times)
cmilt
Newbie
*
Offline Offline

Posts: 2


« on: February 28, 2010, 05:12:18 PM »

I installed Joomla using Fantastico and get this error when I click on a link

Warning: cannot yet handle MBCS in html_entity_decode()! in /home/username/public_html/miltenbergerlaw/libraries/joomla/application/pathway.php on line 209



Thanks

Chris
« Last Edit: March 01, 2010, 05:16:55 AM by Mitch » Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #1 on: March 01, 2010, 05:18:06 AM »

Please make sure you contact support@lunarpages.com or submit a help desk ticket about this issue.  These forums here are not for server side problems and issues, so this is something you will need to discuss with Lunarpages support 101.  Thanks!
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
MotoScott
Space Explorer
***
Offline Offline

Posts: 6



« Reply #2 on: March 19, 2010, 08:15:29 PM »

I think it may be because you are using php 4.x
Upgrade to php 5

I had that error and this is what I did

Open /libraries/joomla/application/pathway.php

Replace the line at 209 with:
Code:

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 that the whole function looks like:
Code:
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;
   }


This describes the modification:
http://docs.joomla.org/Why_do_I_get_the_message_%22Warning:_cannot_yet_handle_MBCS_in_html_entity_decode%22
« Last Edit: March 19, 2010, 08:21:04 PM by MotoScott » Logged
katrina1
Guest
« Reply #3 on: March 20, 2010, 01:26:03 AM »

It does require PHP5. Enable PHP5 in Cpanel. There is an icon to do so near the bottom or you can add the following lines to .htaccess:

AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
Logged
dthawk
Newbie
*
Offline Offline

Posts: 1


« Reply #4 on: March 23, 2010, 03:19:29 PM »

In my experience it is best to do a joomla install per the cpanel and FTP.  Fantastico is seldom up-to-date in my experience.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: