phpcms phpsso verification code error
During the development process of the website, it is likely that the domain name will be modified many times. After logging in to phpsso, it always prompts that the verification code is wrong. How to solve it?
Solution:
1. Modify everything related to the domain name in /caches/configs/system.php and change the old domain name to the new domain name.
2. Enter the background settings –> Site Management, and change the domain name of the corresponding site to the new domain name.
3. Click the "Update Cache" button in the upper right corner of the background to update the system cache.
4. Enter content->Attachment Management->Attachment Address Replacement. Replace attachment addresses in batches with new addresses.
5. Content –>Batch update URL. Update the addresses of all articles.
6. Content->Manage Column->Update Column Cache. Change the link address of the column to the new address.
If your website is a static page, you need to generate the entire site once. If it is a dynamic page, no need.
Open the website and all links have been changed to new addresses.
The phpsso background login verification code problem is also related to this system.php, and the file in phpsso_server/caches/configs must also be changed.
Just update the cache after making the change.
Recommended tutorial: phpcms tutorial
The above is the detailed content of phpcms phpsso verification code error. For more information, please follow other related articles on the PHP Chinese website!