Fatal error: Call to undefined function mb_detect_encoding

Status
Not open for further replies.

chenchen

New Member
Messages
5
Reaction score
0
Points
0
Fatal error: Call to undefined function mb_detect_encoding() in /home/chenchen/public_html/includes/php-gettext/gettext.inc on line 100

how to solve?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
mb_detect_encoding is part of the mbstring extension, which is not installed by default. One of the server admins will probably need to install it. To do it yourself, you'd need to:
  • get the PHP source
  • build mbstring
  • install the mbstring in the PHP extensions directory
  • load mbstring in php.ini
Chances are you don't have permission to perform at least one of those tasks.

With shell access & appropriate permissions, there may be an easier way using a package manager (yum will do it). While this approach is easier, it still requires the same access permissions.
 
Status
Not open for further replies.
Top