Farshad
Farshad

Reputation: 1015

mb_substr cant be used on PHP 5.2.6

Fatal error:

Call to undefined function mb_substr()

After moving to my dedicated server (hypervm CP), I got lots of errors.

How do I solve this problem?

Upvotes: 2

Views: 3889

Answers (1)

Pascal MARTIN
Pascal MARTIN

Reputation: 401182

It looks like the mbstring extension, which provides that kind of functions, is not installed or enabled : if it was enabled, you'd have a block "mbstring", in the output of phpinfo().

If you are admin of your server, a first idea might be to check for something like

extension=mbstring

In you php.ini file.

Upvotes: 6

Related Questions