In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what to do about the failure of the operation of phpcms registered members, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
Reason for failure:
Because the space service provider turned off the fsockopen () function.
Solution:
Find line 361 of phpcms/modules/member/classes/client.class.php and replace fsockopen with pfsockopen.
The workaround when the fsockopen () function is disabled:
If the server also disables fsockopen pfsockopen, replace it with other functions, such as stream_socket_client (). Note: the parameters of stream_socket_client () and fsockopen () are different.
Specific operations:
Search for the string fsockopen in the program (replace it with stream_socket_client (), then delete the port parameter "80" from the original fsockopen function and add it to $host.
Examples are as follows:
Before modification:
$fp = fsockopen ($host, 80, $errno, $errstr, 30)
Or
$fp = fsockopen ($host, $port, $errno, $errstr, $connection_timeout)
After modification:
$fp = stream_socket_client ("tcp://". $host. "80", $errno, $errstr, 30)
Or
$fp = stream_socket_client ("tcp://". $host. ":. $port, $errno, $errstr, $connection_timeout). This is all about the failure of phpcms registered members. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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: 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.
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.