


Summary of frequently asked questions about upgrading Imperial CMS 6.6 to 7.0
This article summarizes the frequently asked questions about upgrading Imperial CMS 6.6 to 7.0 in more detail. Share it with everyone for your reference. The specific analysis is as follows:
1. Upgrade precautions:
1. If the background website security firewall is turned on, turn it off first, and then upgrade.
2. It is best to check whether the records in the phome_enewsinfovote table contain non-existent column ID (classid field) or information ID (id field) records. If so, please delete the records and then upgrade.
2. Upgrade FAQs:
1. Prompt when upgrading:
Duplicate entry '0' for key 1 alter table ***_enewsinfovote add PRIMARY KEY(pubid);
Cause: The phome_enewsinfovote table has a record of non-existent column ID or information ID.
Solution: Use phpmyadmin to check the records in the table, find out the non-existent information records, delete them, and then follow the "re-upgrade instructions" steps in the upgrade instructions to solve the problem.
Recommended to study "Empire cms tutorial"
When the above error is prompted during the upgrade process, you can find the SQL statement of the technique of finding non-existent information in the upgraded table:
The code is as follows:
select * from phome_enewsinfovote where pubid=0;
Record the non-existent information so that redundant records can be deleted after restoring the database.
2. Prompt when upgrading:
Table 'phome_ecms_news_index' already exists
Reason: 7.0 The table already exists because the original 7.0 beta version was installed without deleting the 7.0 table before directly installing Empire 6.6, resulting in the table being left behind.
Solution: After restoring the database, compare the 6.6 version data table and delete the redundant 7.0 table , and then follow the "Re-upgrade instructions" steps in the upgrade instructions to re-upgrade to solve the problem.
3. During the data conversion process during the upgrade, the prompt "Cann't connect to DB!"
Reason : The spatial database is unstable, causing the database to fail to connect from time to time during the upgrade process.
Solution: If the space is relatively average, you can change the number of conversions for each group and the conversion interval settings in the upgrade configuration file /e/update/upconfig.php, and then upgrade.
4. Upgrade prompt "The upgrade program cannot be run repeatedly"
Cause: Run the upgrade program repeatedly or upgrade from multiple versions all the way.
Solution: Close the current window , open a new window and run.
5. Why don’t you see the new function menu after upgrading?
Cause: Your user group permissions are not turned on, so the menu is not displayed.
Solution: Modify the user group to enable the corresponding permissions.
6. Refresh the page after the upgrade prompt:
Unknown column 'checked' in 'where clause'
Reason: The prompt that the checked field does not exist, because version 7.0 SQL mode calling information no longer requires the checked field.
Solution: Modify the calling SQL statement and delete the checked=1 condition to solve the problem.
7. After the upgrade, when submitting comments, members, and mall forms, it prompts "The link you came from does not exist."
Reason: The comment, member, and mall form submission address is changed from the original "/e/ enews/index.php" were changed to "/e/pl/doaction.php", "/e/member/doaction.php", and "/e/ShopSys/doaction.php" respectively.
Solution: Modify the form submission address in the template and change the submission address to the corresponding address above.
8. After upgrading, the modified member always prompts "Please fill in the information completely" .
Reason: Some fields were renamed in 7.0.
Solution: Backend>User>Member Management>Manage Member Form>Modify the member form, no need to set anything, just click submit below to solve the problem.
Hope this article The above will be helpful to everyone’s Imperial CMS website building.
The above is the detailed content of Summary of frequently asked questions about upgrading Imperial CMS 6.6 to 7.0. 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

AI Hentai Generator
Generate AI Hentai for free.

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



The Empire CMS sitemap can be found by accessing the config.inc.php file and checking the dositemap settings. If set to "on", sitemap is enabled. The sitemap path is located in the sitemapurl setting and can be accessed via a browser or downloaded via FTP.

The mobile settings of Empire CMS are located in the "Mobile Template" of the "Template Management" module. The specific steps include: enabling the template, selecting the application channel, editing the template content, and saving the settings.

The ideal location for the Empire CMS template file is /e/template/default/skin/default/. Secondly, it can also be placed in /e/data/skins/ and /e/skin/. You need to pay attention to maintaining the folder structure and setting file permissions. and regular backups.

The Imperial CMS database configuration file is located in the website root directory e/config/db.inc.php. It contains the following configuration information: $dbhost: database server address $dbuser: database user name $dbpass: database password $dbname: database name $dbport :Database port $dbcharset: Database character set

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

The automatic publishing interface of Empire CMS is located at /e/api/web/postinfo.php. The usage steps are as follows: visit /e/api/web/postinfo.php address and use HTTP POST to submit the article title, column ID, category ID, author and article The content and other data interfaces will return a response in JSON format, which contains the publishing results and article ID.

Yes, Empire CMS is a free and open source content management system (CMS). It is a lightweight CMS that is feature-rich and easy to use. Empire CMS is licensed under the GNU General Public License (GPL), which means it is free to download, install and use. For commercial use, it offers a paid version that offers additional features and support such as ad management, online payments, and premium technical support.

The imperial cms Baidu active push plug-in is located in the root directory /e/api/baidu/push.php. The specific configuration steps are as follows: 1. Upload the plug-in file to the specified path. 2. Configure the "Baidu Active Push" option in the Imperial CMS background, including push address, API Key and push interval. 3. Get Baidu push information: Push address: https://data.zz.baidu.com/urls?site=YOUR_SITE&token=YOUR_API_KEY, API Key: log in to Baidu search resource platform to obtain. 4. Update the API Key regularly and set a reasonable push interval.
