What should I do if phpcms v9 cannot pass the duplicate name?
What should I do if phpcms v9 cannot pass with the same name?
Scenario: Solution to PHPSSO’s inability to communicate in phpcms v9 (PHPSSO’s inability to communicate indirectly affects phpcms v9 registered members who cannot pass “duplicate names cannot pass”)
Under normal circumstances , most people do this:
Create a virtual environment locally, install the V9 system using localhost or 127.0.0.1, there is no problem with local communication, so make a local data backup, At that time, the remote installation would be installed through the domain name, and then the local data would be restored directly to the remote server. In this case, it often happened that SSO and the V9 system could not communicate
Due to the data in the backup The link saved is that the URL is localhost or 127.0.0.1 or the local machine 192.168.xxx.xxx, which is inconsistent with the domain name. For example, SSO corresponds to www.lanrensc.com, and the V9 system after data recovery corresponds to localhost or 127.0.0.1 If the two are inconsistent, of course communication will be impossible. This is one of the most common reasons and can generally be solved according to the official methods.
Of course, if you find that the official method cannot solve the problem, it is estimated that you use local V9 to directly overwrite the remote one according to all the source codes in the directory, including the V9Cache and SSO Cache generated due to installation. You need to know The database information recorded in the cache on the local machine and the server is different, especially in Linux systems with strict permission restrictions, so even if the official method is used, communication is usually still impossible.
Reason 2: V9 of the local machine The Cache of Cache and SSO overwrites the corresponding files of the server. This is the second most common reason for failure to communicate. You can try to modify several files in the cache: system in the \caches\configs\ and \phpsso_server\caches\configs directories. .php and database.php, I won’t go into details about the specific modification method. You can check whether the configuration file datebase.php in the cache is the data you need.
In addition to the above two reasons, there are two possibilities:
First, if it is a Linux server, the permissions of the website directory are incorrectly set, which may result in the inability to communicate.
Second, The two domain names with www and without www point to the same server at the same time. When installing V9, if the top-level domain name without www is installed, but the local machine uses www.lanrensc.com, communication will fail in this case
Especially the second reason, many people may have ignored it! Whether you have WWW or not, SSO thinks they are two different applications. Of course, different applications cannot communicate. . .
To avoid communication problems between V9 and SSO, it is recommended to do this:
1. If your local data does not need to be restored to the server, just upload the template file directly. , do not overwrite the remote cache folder
2. If there is data on the local machine that needs to be restored to the server, remember not to save tables containing the three prefixes of v9_admin, v9_member and v9_sso when saving local data. When installing V9 remotely, use a new installation. After the installation is completed, only upload the SQL backup and template package
3 in the \caches\bakup\default\ folder. Remember, many times, with www and no With www, SSO considers them two different applications, even if they point to the same server. If you mainly use www, remember to use it to install V9.
4, Linux server, please pay attention to the permissions of the installation directory of V9. Please use binary upload for FTP upload. If the server is an independent host and you have root permissions, it is not recommended to use an account with root permissions to upload. Instead, use Create The associated account at the site uploads the V9 program.
A new way to solve the SSO communication problem is:
Create a data backup of the table that does not contain the three prefixes of v9_admin, v9_member and v9_sso (local or on the server, it doesn’t matter), then install a brand new V9 on the server (use the install, cache and phpssoserver directories in the latest V9 to overwrite the folder with the same name on the server, and delete the install.lock file in the cache) to ensure this The newly installed V9 communication is successful, so just restore the previous backup.
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of What should I do if phpcms v9 cannot pass the duplicate name?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to jump to the details page in phpcms: 1. Use the header function to generate a jump link; 2. Loop through the content list; 3. Get the title and details page link of the content; 4. Generate a jump link.

PHP CMS is a PHP-based open source content management system for managing website content. Its features include ease of use, powerful functionality, scalability, high security, and free open source. It can save time, improve website quality, enhance collaboration and reduce development costs, and is widely used in various websites such as news websites, blogs, corporate websites, e-commerce websites and community forums.

Title: WeChat Login Integration Guide: PHPCMS in Action In today’s Internet era, social login has become one of the essential functions of a website. As one of the most popular social platforms in China, WeChat’s login function is also used by more and more websites. This article will introduce how to integrate the WeChat login function in the PHPCMS website and provide specific code examples. Step 1: Register a WeChat Open Platform Account First, we need to register a developer account on the WeChat Open Platform and apply for the corresponding development permissions. Log in [WeChat open platform]

phpcms is not completely free. phpcms is an open source cms system, but open source does not mean free. It has two versions: free version and commercial version. The free version is limited to personal non-commercial use, while the commercial version requires purchasing a license; individuals can use it for research, and if it is commercial application , you need to pay a certain fee.

PHPCMS is a free and open source content management system (CMS) that features: open source, modularity, flexibility, user-friendliness and community support. It can be used to create various types of websites, including corporate websites, e-commerce websites, blogs, and community forums. Technical requirements include: PHP 5.6 or higher, MySQL, MariaDB or PostgreSQL database, and Apache or Nginx web server.

There are two well-known versions of phpcms, namely: 1. phpCMS4, which supports custom URL rules. The website management background is beautiful and easy to use, and has many front-end plug-ins, which can freely expand functions; 2. phpCMS2008R1, which supports multi-language, multi-site management, and page The manager is convenient, flexible, very lightweight, and runs fast.

PHPCMS user name security setting strategy revealed In website development, user account security has always been an aspect that developers attach great importance to. The security settings of the username are also crucial, because the username is not only the user's login credentials, but may also expose the user's personal information and even cause security risks. This article will reveal the username security setting strategy in PHPCMS and give specific code examples for developers to refer to. 1. Prevent common usernames. In order to improve the security of usernames, developers should prevent users from using excessive

phpcms uses mysql database. phpcms is a PHP open source website management system, developed using PHP+MYSQL as the technical basis. PHPCMS V9 adopts OOP method to build the basic operating framework. The supported PHP version is PHP5 and above, and the supported MYSQL version is MySql 4.1 and above.
