Home  >  Article  >  CMS Tutorial  >  How to solve phpcms login and registration failure

How to solve phpcms login and registration failure

angryTom
angryTomOriginal
2020-02-19 15:15:002038browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn