Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem that phpcms v9 background does not display CAPTCHA

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to solve the problem that the CAPTCHA is not displayed in the background of phpcms v9. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Phpcms v9 background does not display CAPTCHA

Recently, some friends have encountered the problem that the login CAPTCHA of the management background does not show after the migration of the website. Today, I would like to summarize the solution that the login CAPTCHA of Phpcms V9 management background does not show. I hope it will be useful for friends who learn phpcms.

Method 1: check the host environment to see if the gd library has been opened.

You can use the probe, or check the php.ini file, search for extension = php_gd2.dll, check if there is a comment symbol in front of it, and remove it.

Method 2: check whether the configuration file is correct.

Open the configuration file: cache/configs/system.php, and check where the path settings are:

/ / website path 'web_path' = >' / the path where the website is located /'

If the website is installed in the root directory (such as virtual hosts www, public_html, htdocs, etc.), it should be set to: 'web_path' = >' /'; if installed in the directory / blog/, it should be set to: 'web_path' = >' / blog/'.

Method 3: check the encoding format of the configuration file.

Mainly check whether the cache/configs/system.php and api/checkcode.php files are encoded all the time, for example, if the program version is utf-8, then choose the utf-8 encoding format when saving.

When modifying these files, it is recommended that you use professional text editors such as editplus, EmEditor, Sublime Text, etc., and avoid using the text default text editor. At the same time, pay attention to whether there is a BOM signature, you need to remove some of the editor's default BOM signature.

On phpcms v9 background does not show how to solve the CAPTCHA to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 217

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report