Solution to communication failure between phpcms and phpsso
Solution:
1. Check the domain name configuration and other information in the system.php file in the \caches\configs directory of the site root directory;
2. Check the domain name configuration and other information in the system.php file in the site root directory \phpsso_server\caches\configs directory;
3. Some users have local communication failure, check C:\WINDOWS\ system32\drivers\etc\hosts file, if you use the localhost domain name to access, whether the machine is bound to 127.0.0.1 localhost (remove the # in front of # 127.0.0.1 localhost);
4. Check Check whether the access address of phpsso is correct, and then check whether the application id, interface address, encryption key, version number in Settings->phpsso Settings and the corresponding options in phpsso->Application Management->Edit Application are consistent;
Here is the application ID (the default is 1, if you delete and then add it, it will become something else)
Here you can see the communication key ("Application Address" is the domain name of your website, note that there is a "/" at the end; the communication file is api.php?op=phpsso)
Compare the application ID and encryption key in the above two pictures with the parameters in the phpsso configuration (careful friends look at the "Interface Address" here, there is no "/" at the end, and it is better than the official one The phpcms v9 user manual has an additional directory address "phpsso_server")
Recommended tutorial: phpcms tutorial
The above is the detailed content of Solution to communication failure between phpcms and phpsso. 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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

WebStorm Mac version
Useful JavaScript development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version
Recommended: Win version, supports code prompts!

Zend Studio 13.0.1
Powerful PHP integrated development environment