Home > CMS Tutorial > PHPCMS > Solution to phpcms v9 phpsso communication failure

Solution to phpcms v9 phpsso communication failure

藏色散人
Release: 2020-07-21 09:35:31
Original
3066 people have browsed it

Solution to phpcms v9 phpsso communication failure: First check the domain name configuration and other information in the "system.php" file in the root directory of the site and modify it; then check the hosts file and remove the "#" symbol; Finally, check whether the access address of phpsso is correct and modify it.

Solution to phpcms v9 phpsso communication failure

For PHPCMSV9 phpsso communication failure solution

1.

For PHPCMSV9 phpsso communication failure One of the main reasons is that frequent access to the api.php?op=phpsso interface (such as a large number of newly registered users), because it is at the host level, will be judged as a CC attack by the security dog, and the server IP will be added to the blacklist. This will As a result, the communication of single sign-on SSO failed and the entire membership system was paralyzed. I wonder if this logic is considered a security dog ​​bug! ! !

Recommended: "phpcms tutorial"

2.

1. Check the system in the site root directory\caches\configs directory. Domain name configuration and other information in the php file.

2. Check the domain name configuration and other information in the system.php file in the \phpsso_server\caches\configs directory of the site root directory.

3. Some users fail to communicate with the local machine. Check the C:\WINDOWS\system32\drivers\etc\hosts file. If the localhost domain name is used for access, whether the localhost is bound to 127.0.0.1 localhost. (Remove the # in front of # 127.0.0.1 localhost)

4. Check whether the access address of phpsso is correct, and then check the application id, interface address, encryption key, and version in Settings->phpsso settings Whether the number is consistent with the corresponding options in phpsso->Application Management->Edit Application.

Here is the application ID (the default is 1, if you have deleted and then added it, it will become something else, please pay attention here as well)

You can see the communication key here ("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)

Configure the application ID and encryption key in the above two steps with phpsso Comparison of parameters in (careful friends look at the "Interface Address" here, there is no "/" at the end, and there is one more directory address "phpsso_server" than the official phpcms v9 user manual)

The above is the detailed content of Solution to phpcms v9 phpsso communication failure. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template