Home >CMS Tutorial >PHPCMS >phpcms v9 member login failed

phpcms v9 member login failed

angryTom
angryTomOriginal
2019-11-09 10:41:582234browse

phpcms v9 member login failed

phpcms v9 member login failed

Problem: After logging in, it prompts that the operation failed, and the registration prompts that the operation failed

Cause: Caused by the phpsso module.

Processing and troubleshooting:

● Location 1: /caches/configs/system.php

'phpsso' => '1',//是否使用phpsso
'phpsso_appid' => '1',//应用id
'phpsso_api_url' => 'http://shawnv9.com/phpsso_server',//接口地址
'phpsso_auth_key' => 'fr6FWSzrnttQwd54ekusoLPXFIqQ4fCO', //加密密钥
'phpsso_version' => '1', //phpsso版本

What should be noted in this location is php_api_url, The interface address it specifies must be the address of the cms system. For example, I have an online system and an offline system, but the offline system uses the online database for registration. At this time, I need to change the php_api_url Change the content to the online interface address.

The following two are the phpsso_server module

●Position 2: /phpsso_server/caches/configs/database.php

Database file, this location cannot be registered if the configuration is not good

● Location three: /phpsso_server/caches/configs/system.php

'app_path' => 'http://shawnv9.com/phpsso_server/',

This and Same as above.

Recommended tutorial: phpcms tutorial

The above is the detailed content of phpcms v9 member login failed. 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