Home CMS Tutorial PHPCMS Solution to phpcms v9 phpsso communication failure

Solution to phpcms v9 phpsso communication failure

Jul 21, 2020 am 09:35 AM

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)