Home > CMS Tutorial > PHPCMS > body text

How to solve phpcms login and registration failure

angryTom
Release: 2020-02-19 15:15:00
Original
2166 people have browsed it

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);
Copy after login

to

$fp = stream_socket_client("tcp://".($ip ? $ip : $host).":".$port, $errno, $errstr, $timeout);
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template