Home >CMS Tutorial >PHPCMS >How to solve phpcms login and registration failure
How to solve phpcms login and registration failure
1. The first step:
Check phpsso_server\caches\ Configuration of the two files database.php and system.php under configs
2. Step 2:
Check whether the fsockopen pfsockopen function is disabled
3. Third Step:
Change line 361 of phpcms\modules\member\classes\client.class.php
$fp = @fsockopen(($ip ? $ip : $host), $port, $errno, $errstr, $timeout);
to
$fp = stream_socket_client("tcp://".($ip ? $ip : $host).":".$port, $errno, $errstr, $timeout);
After testing, hehehehe
For more phpcms tutorials, please pay attention to the PHP Chinese website for phpcms learning.
The above is the detailed content of How to solve phpcms login and registration failure. For more information, please follow other related articles on the PHP Chinese website!