Home >CMS Tutorial >PHPCMS >Solution to communication failure between phpcms and phpsso

Solution to communication failure between phpcms and phpsso

王林
王林Original
2019-11-14 14:39:182688browse

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;

Solution to communication failure between phpcms and phpsso

Here is the application ID (the default is 1, if you delete and then add it, it will become something else)

Solution to communication failure between phpcms and phpsso

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)

Solution to communication failure between phpcms and 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more