In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces how to solve the phpcms background login verification code can not show the problem, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
During the phpcms v9 move, we made a background login in the new space, but found that the background CAPTCHA was not displayed. We used the win host. We know that CAPTCHA generates pictures directly, while in PHP, we must open the gd library to use the picture CAPTCHA. After checking the win host, we really didn't open the gd library and found it under php.ini. Search for extension=php_gd2.dll and remove the previous comment semicolon.
Check that the profile site path is correct
Sometimes during the move, we move the entire site to the blog file in the root directory of the website. At this time, we need to change the directory path of the website, otherwise the verification code will not be displayed. Open the configuration file cache/configs/system.php and look for the following code:
/ / website path 'web_path' = >' / the path where the website is located /'
This is the path to the site installation, which usually defaults to 'web_path' = >' /', but if we change the site directory, such as moving under blog/, we need to set it to 'web_path' = >' / blog/', to be correct.
Check the encoding format of the configuration file
For the coding format problem is actually after our secondary development caused by the verification code does not show the problem, this kind of problem is very rare, mainly check the cache/configs/system.php and api/checkcode.php file encoding is consistent, such as the version of the program for utf-8 version, in our secondary development when saved into the gb2312 version, this time there will be verification code does not show the problem.
Thank you for reading this article carefully. I hope the article "how to solve the problem that the phpcms background login verification code does not show" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.