In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the solution to the failure of phpcms V9 communication, which is very detailed and has a certain reference value. Interested friends must read it!
What if phpcms v9 communication fails? Phpcms v9 failed to communicate with Phpsso. What if the member cannot register and cannot log in?
A friend said this:
The other configuration of the server is correct, and the reason for the failure of communication has been found:
Because the server with firewall is generally port mapping, the external network can access the website normally through the domain name, while the internal network cannot access the website through the domain name. The address of the communication interface between v9 and phpsso is linked through the domain name, which always leads to communication failure. This is a problem with v9's own flaw, which developers have not fully taken into account.
I hope the authorities will repair this BUG as soon as possible.
Some friends also said:
There is no such file in the official download of the phpsso_server file in the installation package. So the solution is to copy it from the v9 phpcms/libs/classes/ folder, and then create a sessions directory under the phpsso_server/caches/ file, otherwise the file cannot be written.
Of course, there is also a method on the Internet to put line 21 sentence session_start () in the session_mysql.class.php file before it, so that it can be solved, but v9 will not use database storage, but will only use file storage, and the storage location of session is not stored in accordance with the location set in system.php. It will be saved to the directory set in the php.ini file.
Provide a solution:
Put line phpcms\ modules\ member\ classes\ client.class.php 361
$fp = @ fsockopen (($ip? $ip: $host), $port, $errno, $errstr, $timeout)
Change to
$fp = stream_socket_client ("tcp://". ($ip? $ip: $host). ":". $port, $errno, $errstr, $timeout)
After testing, you can log in successfully.
Many friends encounter this problem, but under Linux Apache, this problem is relatively rare.
The above are all the solutions to the failure of phpcms V9 communication, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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: 270
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.