Home CMS Tutorial PHPCMS What should I do if phpcms v9 cannot pass the duplicate name?

What should I do if phpcms v9 cannot pass the duplicate name?

Feb 05, 2020 am 09:57 AM
phpcms

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What framework is phpcms? What framework is phpcms? Apr 20, 2024 pm 10:51 PM

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.

How to jump to the details page in phpcms How to jump to the details page in phpcms Jul 27, 2023 pm 05:23 PM

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.

WeChat Login Integration Guide: PHPCMS Practical Combat WeChat Login Integration Guide: PHPCMS Practical Combat Mar 29, 2024 am 09:18 AM

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]

What does phpcms mean? What does phpcms mean? Apr 20, 2024 pm 10:39 PM

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.

Isn't phpcms free? Isn't phpcms free? Mar 01, 2023 am 10:24 AM

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.

What database does phpcms use? What database does phpcms use? Feb 21, 2023 pm 06:57 PM

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.

The latest phpcms video tutorial recommendations in 2023 (must learn for secondary development) The latest phpcms video tutorial recommendations in 2023 (must learn for secondary development) Oct 25, 2019 pm 03:45 PM

Many webmasters use PHPCMS for secondary development and website building. PHP Chinese website has specially launched a phpcms video tutorial. You can watch the video tutorial for free anytime and anywhere without downloading from Baidu Netdisk, which is very convenient.

How to change the site name in phpcms How to change the site name in phpcms Feb 24, 2023 am 09:29 AM

How to modify the site name in phpcms: 1. Use the administrator to log in to the backend page; 2. Find the "Settings" option in the top menu bar and click it, then find "Site Management" in the menu on the left; 3. Find the item that needs to be modified site, click the modify link to the right of the site domain name; 4. Modify the site name in the pop-up window.

See all articles