Home  >  Article  >  CMS Tutorial  >  What should I do if the phpcms graphic verification code is not displayed?

What should I do if the phpcms graphic verification code is not displayed?

藏色散人
藏色散人Original
2020-07-18 11:47:264559browse

phpcms graphic verification code is not displayed because the "route.php" file format in the config is "utf8 BOM". The solution is to change this file to the "utf-8" format. That’s it.

What should I do if the phpcms graphic verification code is not displayed?

##phpcms V9 background verification code image does not display

A certain website ran successfully locally. After uploading it to the server, it was found that the verification code image for background login was not displayed.

According to the solutions provided online,

The website path variable web_path is OK;

The configuration paths of database and system are OK;

apache’s GD library is also running normally;

Put the code locally and run it again, and find that the local The verification code did not come out. After troubleshooting one by one, I found that the format of the route.php file in the config was utf8 BOM. After changing this file to utf-8 format, the verification code image appeared.

The above is the detailed content of What should I do if the phpcms graphic verification code is not displayed?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn