Smooth procedure to upgrade Drupal 4.7.0 beta 3 to beta 4
Since Drupal 4.7.0 beta 4 is available last night, I have just upgraded howforge.com to see the better version. There are many patches was applied to this release. I recommend all you to upgrade as soon as possible. Since I installed lots of modules and themes as well as hot patches during beta 3, the upgrade is not as easily as expect. The most critical problem is I didn"t want to interrupt user by making site off-line for so long. According to the upgrade guide, I have to remove all existing files and extract the new ones. This action is unacceptable for me. That means user might not see the proper message about off-line maintenance or upgrading. Below procedure is what I done today.
- Make a copy of all files
- Extract Drupal 4.7.0 beta 3
- Find differences between the original beta 3 and the copy
- Extract Drupal 4.7.0 beta 4
- Copy .htaccess, additional modules and themes from the copy to beta 4
- Find differences between beta 3 and beta 4
- Look for conflict
- Apply manual customized to beta 4
- Make a patch of the copy and beta 4
- Apply the patch to the running code
- Run update.php
That"s all! Only 1 minute downtime during run update.php. As a result, I have 5 patches to apply in this release as follows.
- sugree's blog
- 1269 reads
Problem with Thai font after upgrading to beta 4
Character set problem
Too bad...
Collation is not charset
ALTER TABLE my_table CONVERT TO CHARACTER SET 'utf8'
Anyway, it seems there is some bug in update.php so the conversion will not be performed if PHP version is older than 5.0. You might try to convert it manually one by one. Could you let me see some sample data in database? I just want to see how it look like to find out how to convert it correctly.Yeah, I did misunderstood the meaning of the terms =.=
double utf-8 encoding
utf8_decode() ?
utf8_decode()
function but in PHP manual it says that the output of the function is iso-8859-1. How can I convert it to utf-8 again?utf8_decode()
^^
Post new comment