Recommended tutorial: Empire cms tutorial
Notes
1. If the background website security firewall is turned on, turn it off first, and then upgrade.
2. Check whether the /e/config/config.php
file and the /e/data/
directory have read and write permissions.
1: Backup procedure
1. Back up the following files and directories: /e/
That is, back up the entire "e "Table of contents.
2. Back up database data. (You can use phpmyadmin for small data; use "Empire Backup King" for big data; if you are using background backup, remember to choose hexadecimal to back up the data;)
3. The time taken for this upgrade is closely related to the amount of information. It is recommended to upgrade during a period when the server load is low.
2: Set permissions and firewall
1. Before upgrading, please check whether the permissions of the following directories are 777 (including subdirectories ), in case of upgrade errors: /e/config/config.php
, /e/data/
2. If the background website security firewall is turned on , please close it first and then upgrade. (Restart after the upgrade is completed) Login to the background>System>System Settings>Website Firewall: Close.
3. The new version of the upgrade program supports setting upgrade password verification, which is not verified by default. If you need to add verification, setting method: (Note: UTF-8 cannot be modified with Notepad, otherwise the file content will be converted to GBK. It is recommended to use editing tools such as Dreamweaver or Editplus to modify it. ) Can be modified /e/update/setconfig.php
file configuration in the upgrade package.
Three: Upgrade steps
1. If you have changed the directory name of "e/admin
", please first Change the directory name back to "e/admin
"; (Change it back after the upgrade is complete)
2. Delete the following 2 directories to prevent old version editor files Redundancy: /e/admin/ecmseditor/
and /e/data/ecmseditor/
3. Upload or copy the files in the upload directory of the upgrade package to the local In the Empire CMS system directory, overwrite existing files;
4. Set the permissions of the following directories and files to 777; (Permissions must be applied to all subdirectories and files) /ecachefiles/
, /e/template/public/checklevel/info1.php
5. Run the /e/update/index.php
file in the browser and follow the prompts Upgrade;
6. Delete all files in the /e/update/
directory;
7. Log in to the background>Users>User Management>Manage User Groups , modify the user group: set the user group permissions; (the new version does not display the menu if the functions added do not have permissions)
8. The upgrade is completed.
Four: Member interface upgrade instructions
1. If you have integrated the Ucenter interface, you need to download the 7.5 version ucenter interface package for upgrade (There are upgrade instructions in the interface package).
2. If you integrate the pass interface, you need to download the 7.5 version of the pass interface to cover the files in the bbs directory and configure the pass interface parameter file.
5: Re-upgrade instructions If the server fails due to an accident and the upgrade fails, you can re-upgrade as follows
1. First delete the current empire in the database All datasheets for CMS. (Prevent the table from already existing)
2. Restore the backed up database.
3. Restore the backed up /e/config/config.php
file.
4. Close the original browser window, reopen the new browser window and upgrade again.
The above is the detailed content of How to upgrade empire cms. For more information, please follow other related articles on the PHP Chinese website!