Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if phpcms v9 phpsso communication fails

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail what to do about the failure of phpcms v9 phpsso communication. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

The solution to the failure of phpcms v9 phpsso communication: 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.

The solution to PHPCMSV9 phpsso communication failure

I.

One of the major reasons for the failure of PHPCMSV9 phpsso communication is the 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, it will be judged as a CC attack by the security dog, thus adding the server IP to the blacklist, which will lead to the communication failure of the single sign-on SSO, and the entire member system will be paralyzed. I don't know if this logic can be regarded as the bugdog of the security dog!

II.

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

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

3. Some users failed to communicate locally. Check the file C:\ WINDOWS\ system32\ drivers\ etc\ hosts. If you use the localhost domain name to access, whether the machine is bound to 127.0.0.1 localhost (remove the # before # 127.0.0.1 localhost).

4. Check whether the access address of phpsso is correct, and then check whether the corresponding options in Settings-> phpsso settings include Application id, API address, encryption key, version number and phpsso- > Application Management-> Edit Apps are consistent.

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

You can see the communication key here ("application address" is the domain name of your website, notice 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 steps with the parameters in the phpsso configuration (careful friends take a look at the "interface address" here, there is no "/" here, there is another directory address "phpsso_server" than the official phpcms v9 user manual)

About phpcms v9 phpsso communication failure how to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report