Jump to content

Recommended Posts

Hello Everybody,

 

I use Scuttle script here : http://my.templora.com

 

It tells :

Fatal error: Call to undefined function mb_detect_encoding() in /home/templora/public_html/my/includes/php-gettext/gettext.inc on line 101

 

I checked the PHP Manual and mb_detect_encoding() is a function in PHP5

I have PHP5 and it gives me this error.

 

It also gave the same error for mb_convert_encoding() in the same file.

 

 

Please Help.

 

 

Thanks,

Link to comment
https://forums.phpfreaks.com/topic/42088-solved-scuttle-undefined-function/
Share on other sites

Make sure you have enabled the mbstring extension in the php.ini

 

For Windows:

open the php.ini and remove the semi-colon (;) infront of the following line:

extension=php_mbstring.dll

 

Also insure the extension_dir directive is set up too. It should be pointing to PHP 's extension folder, eg  C:/PHP/ext

 

Any changes you make to the php.ini save and restart your server (Apache, IIS or whaterver).

 

For Unix (Mac, Linux etc) you will have to recompile PHP with the --enable-mbstring command whilst compiling.

 

Read the manual on using Multibyte String Functions here - Scoll down to the Installation sub heading

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.