discuz! 6.0 how to upgrade to version 6.1 tutorial

Source: Internet
Author: User
Tags character set config ftp interface mysql php file thread mysql database
The tutorial |discuz is divided into three parts for everyone to explain:

(i) Pre-upgrade preparation

1, download the official version of the discuz!6.1.0 to the local or server, as shown in the following figure:
1.jpg(14.81 KB)
2008-4-21 10:28
2, upgrade to discuz!6.1.0 after the original style will not continue to use, so before upgrading the style back to the default style, as shown in the following figure:
2.jpg(28.58 KB)
2008-4-18 15:31

The Modified method:
Admin Login Forum Background => Basic Settings => interface and display way => default forum style

You can then set other styles that are not available, as shown in the following illustration:
3.jpg(52.9 KB)
2008-4-18 15:31

Modify settings:
Admin Login Forum Background => Forum Management => Interface style

3, the closure of the Forum, backup data (upgrade before you must do a good copy of the data) as shown in the following figure:
4.jpg(16.57 KB)
2008-4-18 15:31

To modify the method:
Admin Login Forum Background => Basic settings

4. Database backup
Standalone host: Direct backup of the database directory can be (note the backup before the MySQL service);

Where the stand-alone host is divided into Windows host and Linux host, the following is a description of the two types of host backup methods
(1) Backup of Windows host:
Stop MySQL service first
As shown in the following illustration:
System Start Menu => run => input cmd
5.jpg(13.14 KB)
2008-4-18 15:31

Click OK to enter the MySQL installation directory, stop the MySQL service, as shown in the following figure:
6.jpg(8.12 KB)
2008-4-18 15:31

Then, in the MySQL data directory, back up the Forum database file, as shown in the following figure:
7.jpg(20.12 KB)
2008-4-18 15:31

(2) Backup of Linux hosts
Start with the root administrator's body to login to the Linux system, stop the MySQL service, and then go to the Forum database directory, the Forum database packaging backup, as shown in the following figure:

8.jpg(22.61 KB)
2008-4-18 15:31

After the backup is good, a compressed package file named Bbs080418bak.tar.gz is generated.

Virtual Host: Background backup or use phpMyAdmin can be

Detailed backup method can refer to here: http://www.discuz.net/thread-744280-1-1.html

5, the Forum program and its accessories backup: The directory of your forum to download or copy all the files to the place you want to back up, if you do not have the Forum program and template made a lot of changes, so long as the backup attachments (annex directory) on it.

We often use the Forum program and its accessories backup method: In the FTP directory in addition to attachments, all other files and directories are moved to a new directory, such as Oldbbs. Of course, you can also move all forum files to the Oldbbs directory for backup.

6, download the config.inc.php file to the local (backup), in order to facilitate the new discuz!6.1.0 config.inc.php control configuration.

7, install Ucenter, (if you have not installed the words)
one of the ucenter of the graphics and text installation tutorials See: http://www.discuz.net/thread-897809-1-1.html

(ii) Considerations in the Upgrade

1, first, in the FTP directory in addition to attachments, all other files and directories are moved to a new Oldbbs directory, as shown in the following figure:

10.jpg(10.14 KB)
2008-4-18 15:40

2, upload discuz!6.1.0 (except attachments file) of all program files to the server cover the original 6.0.0 program. As shown in the following illustration:

11.jpg(38.18 KB)
2008-4-18 15:40

Note: Upload files Please use the binary way to upload.
Take FlashFXP as an example, as shown in the following illustration:

12.jpg(21.48 KB)
2008-4-18 15:40

a description of the binary settings of several common FTP software
http://www.discuz.net/viewthread.php?tid=73393

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

The specific setting method of file permission see: http://www.discuz.net/viewthread.php?tid=487165
3, modify the discuz!6.1.0 config.inc.php file, reset the database account information. The specific settings can be configured according to the original config.inc.php that you downloaded to the local discuz!6.0.0.

About the configuration of database information, as shown in the following illustration:

13.jpg(18.49 KB)
2008-4-21 10:16
14.jpg(19.94 KB)
2008-4-21 10:16

To change the database information above discuz!6.1.0 to the same as discuz!6.0.0.

If you have special requirements for the scope of the cookie, or the forum login is not normal, please modify the cookie variable as shown in the following image:

15.jpg(11.15 KB)
2008-4-21 10:16
16.jpg(11.13 KB)
2008-4-21 10:16

In order not to affect the user login discuz!6.1.0 the best and discuz!6.0.0 cookie prefix settings remain consistent.

About the configuration of the table prefix, as shown in the following illustration:
17.jpg(9.21 KB)
2008-4-21 10:16
18.jpg(8.96 KB)
2008-4-21 10:16

Note: Please see what your original data table prefix is, and modify the $tablepre in the config.inc.php accordingly.

About configuration of character sets:
One of the things you need to focus on when configuring config.inc.php files is the setting of character sets. CharSet for the Forum default character set, you download which version of the forum corresponding to the character set is which, such as you download is Discuz!6.1.0_sc_utf8, then your forum character set (that is, CharSet) is UTF8; For the Forum database's character set, which is the character set of the MySQL database in the Server installation forum, if your forum's database character set is Latin1 (or the database is going to use the latin1 character set), then you need to configure the config.inc.php Dbcharset Fill in the Latin1. To this, I believe a lot of friends have been aware of their own forum why there will be garbled problem, the reason is not set the correct character set, as long as the above to follow the instructions to believe that your forum will not have garbled problems.
As shown in the following illustration:

19.jpg(36.34 KB)
2008-4-21 10:16
20.jpg(37.24 KB)
2008-4-21 10:16

Contrast the discuz!6.1.0 character set to the same as the discuz!6.0.0.
4, upload the downloaded discuz!6.1.0 installation package./utilities/upgrade10.php to the Forum program root, as shown in the following illustration:

21.jpg(41.32 KB)
2008-4-18 16:03

Run the upgrade program in the browser, as shown in the following illustration:

22.jpg(53.26 KB)
2008-4-18 16:03

5, the upgrade steps are as follows:

23.jpg(49.67 KB)
2008-4-18 16:03

Where Ucenter URL: refers to the access address of the ucenter you have installed
Forum URL: Refers to the forum you are now upgrading the access address

Note: The Ucenter administrator account is not modifiable.

Next, start checking the directory permissions for Ucenter, as shown in the following illustration:

24.jpg(24.2 KB)
2008-4-18 16:03

Click Next to see the following image:

25.jpg(20.99 KB)
2008-4-21 09:54

Note:Site contains multiple discuz! The membership ID starting value will play a role in the forum, and the membership of the Forum needs to be merged because from the ForumThe UID is appended to the Main forum, the UID is merged and then modified from the ForumData structure to complete the merge. The starting value of the UID at upgrade can be specified by itself, but the starting member ID must be greater than or equal to 0
if the site has only one forum this value is 0, only in the second forum to fill out more than 0
Detailed considerations can refer to the instructions here:Http://www.discuz.net/thread-885712-1-1.html

Next, start merging the membership data, as shown in the following illustration:

26.jpg(21.35 KB)
2008-4-18 16:07

The upgrade is complete as shown in the following illustration:
27.jpg(31.02 KB)
2008-4-18 16:07

(iii) Some aftercare operations after the upgrade

1, remove the upgrade on the server upgrade10.php
2, with the Administrator account password login to the forum, Access tools, update the cache.
As shown in the following illustration:
28.jpg(21.29 KB)
2008-4-18 16:07

3. Upgrade complete

Note: 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!6.1.0 no problem can be removed Oldbbs.

At this point, discuz!6.0.0-discuz!6.1.0 upgrade success! Now you can open your forum in the background and let it run
As shown in the following illustration:

29.jpg(31.29 KB)
2008-4-18 16:07

Forum upgrade completed!


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.