


What should I do if the verification code error is displayed in the phpcms background?
What should I do if the verification code error appears in the phpcms background?
The reason why the login verification code of PHPCMS v9 keeps prompting the error (the verification code is wrong)
After changing the local modified PHPCMS v9 to the server, I log in to the management background and the verification code keeps prompting mistake.
PHPCMS official website suggestion (there is no way to solve my problem):
You can try to modify "/caches/configs/system.php":
'session_storage' => 'mysql',
Change it to
'session_storage' => 'files',
and try again.
I tried this method, but it didn’t work for me. I still can’t log in.
So here is my own method.
Then check the source code in the browser, you will find that the address of the verification code is the local address: 127.0.0.1.
Now you have discovered the problem~ I am using the simplest and most direct method. Find the file and change the address.
First find the background login file.
In the login.tpl.php file inside X:\phpcms\modules\admin\templates, find the code inside:
Replace directly with my domain name address: http://www .xxxcom
Original:
Changed to this:
Save. Refresh the browser a few more times and preferably clear the browser cache. Then log in and it's successful.
Tips: When changing the domain name server, remember to modify the contents of 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.
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What should I do if the verification code error is displayed in the phpcms background?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Zend Studio 13.0.1
Powerful PHP integrated development environment

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
