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

The solution of displaying CAPTCHA error in the background of phpcms

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article is about how to resolve phpcms background display Captcha errors. Xiao Bian thinks it is quite practical, so share it for everyone to make a reference. Let's follow the editor and have a look.

phpcms background display Captcha error how to do?

PHPCMS v9 background login Captcha always prompt the reason for error (Captcha error)

After changing the local PHPCMS v9 server, log in to the management background, and always prompt Captcha error.

PHPCMS official website advice (for my problem, there is no way to solve):

You can try this by modifying "/caches/configs/system.php":

'session_storage' => 'mysql',

change it to

'session_storage' => 'files',

Try again.

This method, I tried, at least for me no effect, or landing does not enter.

So here's my own way.

Then look at the source code in your browser and you will find that the address of the Captcha is the local address: 127.0.0.1.

This time I found out where the problem was ~ I used the simplest and most direct method. Find the file, change the address.

First find the background login file.

In X:\phpcms\modules\admin\templates login.tpl.php file, find the code inside:

Change directly to my domain address: http://www.xxxcom

Original:

Change it to this:

Preservation. Refresh the browser a few more times, preferably clearing the browser cache. And then landing, it was successful.

Tip: Change the domain name server. Remember to modify the database.php and system.php files under the corresponding caches\configs folder and phpsso_server\caches\configs folder. Modify the corresponding website domain name.

Thank you for reading! About phpcms background display Captcha error solution to share here, I hope the above content can be of some help to everyone, so that we can learn more knowledge. If you think the article is good, you can share it so that more people can see it!

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.

Share To

Servers

Wechat

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

12
Report