Upgrade Tutorial: discuz! 7.0 to discuz! 7.2

Source: Internet
Author: User

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

China's leading community platform and service provider sing (Comsenz) 's core products discuz! new version of the official release. New discuz! 7.2 version from the user registration login application, community forum before and after the management of two aspects, to increase and improve more than 30 and community portal operation close to the function and details, the realization of the mailbox landing, classified information retrieval, plate binding domain name and operation of the close application.

This tutorial is divided into three parts to explain the upgrade process: Preparation before the upgrade, the attention in the upgrade and some aftercare operations to be done after the upgrade.

First, the preparation before the upgrade

1, download discuz! 7.2 official version to local or server

Download Address: Http://www.comsenz.com/downloads/install/discuz

Here's the explanation: we've provided 4 different encodings. Including GBK Simplified Chinese version (recommended), UTF-8 Simplified Chinese version, BIG5 Traditional Chinese version (recommended), UTF-8 Traditional Chinese version, according to your use of discuz! 7.0 code, select the appropriate version of the discuz! 7.2 Forum program Download.

This demo is downloaded to the local GBK version for example, extracting three files as shown in the following illustration:

  

Upload all files below this directory are the available program files that we need to upload to the server.

Readme directory for product introduction, authorization, installation, upgrade, conversion, and version update log description;.

The utilities directory includes tools for the forum, including the d70to72.php program that we need to use for this upgrade.

2. Upgrade to discuz! 7.2 After the original style will not continue to use, so before upgrading the style back to the default style, and set other styles are not available with the Administrator login Forum background => Interface => interface Settings => Global: "Forum Default Style" choose "Default Style", as shown:

  

Login with admin forum background => interface => Style management: All other Non-default styles are set to unavailable, as shown in figure:

  

3. Close the Forum

With the Administrator login Forum background => Global => site information => Forum closed: Select Yes, as shown:

  

4, Backup data

1 Backup of the Forum program and its accessories

It is recommended that you download or copy all the directories and files in the forum directory to where you want to back up, and if you have not made great changes to the Forum program and templates, just back up the attachments (attachment directory) and the config.inc.php database configuration file.

Our usual backup methods for forum programs and their attachments are: Create a new directory Oldbbs in the original forum root directory, and then move all other files except attachments and config.inc.php to the Oldbbs directory. Of course, you can also move all forum files to the Oldbbs directory for backup.

Note: If Ucenter is installed in discuz! Forum root, you need to keep the directory, that is, do not need to move the Ucenter program file directory, so that it is still discuz! root directory.

2 Database backup

Standalone host directly to MySQL's data directory copies a copy of the current discuz! 7.0 use of the database can, remember to stop the MySQL service before the copy, otherwise it will cause damage to the backup data.

Virtual host users recommend direct backup in the background of the Forum, with the Administrator login Forum background => Tools => database => Backup: Recommended Backup "Forum all Data", as shown:

  

If you want to make additional demands on the backup data, click on the "More Options" in the diagram above to make your selections as needed:

  

The meaning of the specific options can be referenced in the tutorial: http://www.discuz.net/thread-744280-1-1.html

Ii. Considerations in the Upgrade (demo with the upgrade steps on the virtual host)

1, first of all the FTP directory in addition to attachments and config.inc.php files, all other files and directories all moved to a new Oldbbs directory.

Note: When your ucenter is placed in a folder in the Forum root directory, for example, you find that the forum root directory has a uc_server directory, this directory is Ucenter program, do not move and backup.

  

Description: Keep discuz! The reason for the 7.0 config.inc.php file is that the two versions of this file have not been modified and are reserved for the inconvenience of reconfiguration.

2, Upload discuz! 7.2 All program files in the upload directory (except attachments, install and config.inc.php files) to the server after decompression

  

Note: The virtual host upload file, please use the binary way upload, independent host directly on the server to download the decompression can be.

The binary setting of several common FTP software: http://faq.comsenz.com/viewnews-373

3, set directory permissions

Modify config.inc.php, attachments, Forumdata, and forumdata/* (all folders under Forumdata), templates, and templates/* (templates The Directory property for all folders below is 777; The Windows system has read and write permissions to these directory IIS guests.

About directory permissions modifications can be referred to: http://faq.comsenz.com/viewnews-183

4, upload the download discuz! 7.2 Install package's./utilities/d70to72.php to the Forum program root directory

  

5, in the browser run http://www.domain.com/d70to72.php upgrade program to upgrade (where http://www.domain.com for your forum access address)

  

Click on the "Start Upgrade" button to start the upgrade, the upgrade process is automatic jump, no manual intervention.

  

Notes on the Sing Improvement Program:

  

In order to facilitate our communication with you on the operation strategy, you can leave the usual network contact, you can also click "Next" to skip this step.

Important Function Settings:

  

Important function settings to guide the webmaster to some of the more important features of the priority set, where you can see the introduction of the feature and examples.

You can click "Go to Background settings now" to set the function immediately, or click "Continue next Function" or "skip" to skip the setting of this feature.

Upgrade Complete:

  

Third, after the upgrade of some clean-up operations

1, delete the server upgrade program d70to72.php.

Note: The upgrade is automatically deleted, but if it is not automatically deleted for some reason, please delete it manually.

2, the use of the Administrator login forum, into the background => tools => Update cache.

  

3, open the Forum for registration, login, post and other general tests to see if the operation is normal.

4, if you need a previous picture or file, you can go to the Oldbbs folder to find, of course, if you do not need to determine or discuz!7.2 no problem can be removed Oldbbs.

Thus far, discuz! 7.1 to discuz! 7.2 Upgrade Successful!

  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.