When YII is installed, an error message "mb_strlen ()" is displayed on the webpage,

Source: Internet
Author: User
Show: Calltoundefinedfunctionyiihelpersmb_strlen () mb_string in php. ini has been turned on, and the PHP-M display is also turned on should not be a problem with the extension library path, because mysqli is used is no problem. I don't know what the problem is! PS: phase... display: Call to undefined function yii \ helpers \ mb_strlen ()

  1. In php. ini, mb_string is enabled and PHP-M is enabled.

  2. It should not be an extension library path problem, because mysqli is no problem.

I don't know what the problem is!

PS: Why does chrome directly download the PHP webpage from FIREFOX with the same url?

The page is just an ECHO.

Reply content:

Show: Call to undefined function yii \ helpers \ mb_strlen ()

  1. In php. ini, mb_string is enabled and PHP-M is enabled.

  2. It should not be an extension library path problem, because mysqli is no problem.

I don't know what the problem is!

PS: Why does chrome directly download the PHP webpage from FIREFOX with the same url?

The page is just an ECHO.

Check whether this function is disabled in php. ini.

Call to undefined function yii \ helpers \ mb_strlen () from this sentence, we can see that you did not use the functions provided by the extension, but tried the functions provided by the yii framework by default. You have never used yii seriously, troubleshoot. For page downloads, this is generally due to server configuration issues. If your Webserver is Nginx, configure the fastcgi item. Google will not repeat it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.