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 fails to communicate with phpsso?

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

Share

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

This article mainly introduces the failure of phpcms and phpsso communication how to do, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Solution:

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

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 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, Interface address, encryption key, version number and phpsso- > Application Management-> Edit Apps are consistent.

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

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 of the above two figures 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)

Thank you for reading this article carefully. I hope it will be helpful for everyone to share what to do when the communication between phpcms and phpsso fails. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

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