Drupal
Drupal 6.4 and 5.10 released
Drupal 5.9 released
Drupal 6.3 and 5.8 released
Drupal 6.2 fixing security issues Released
Drupal 6.1 fixing security issues Released
Script to Migrate PHPNuke to Drupal - UTF8 to UTF8
Update (Feb 25, 08): New Version 0.04w that included 2 lines of code below can be downloaded -> HERE .
I need to port a website in PHPNuke 7.8 to Drupal 5.7. I've searched all over and found a script to do that from this website. The latest version on that website is 0.02w. The script works great but with a problem, the language that is not English didn't import correctly. All those non-english characters show as "?" So, that imported data can't be used.
Then, I continue looking for more information and found a newer version which is 0.03w from this website. This newer version gave me the same problem.
I, then, looked into the script, checked my database. I found that the data on my temporary PHPNuke database is UTF8. (It has been converted when I imported into MySQL.) So, what I need to do is to import data from UTF8 to UTF8. The migration script didn't write to do that. So, I put these two lines into the script line 280 (in Migration Script version 0.03w) :
$result = mysql_query("SET NAMES utf8", $link); $result = mysql_query("SET CHARACTER SET utf8", $link);
The script near line 280 (With 2 more lines of code) will look like below :
//Connect to MySQL $connected = true; $link = @mysql_connect($host, $username, $password); if (!$link) { failure("Connection to MySQL could not be made. Edit this file and make sure that the database settings are correct."); echo " Error returned by MySQL (if any): (" . mysql_errno() . ") " . mysql_error() . " \n"; $connected = false; if (isset($_GET["section"])) { exit(); } } $result = mysql_query("SET NAMES utf8", $link); $result = mysql_query("SET CHARACTER SET utf8", $link); // if you have php5 and the "tidy" module, this will clean up user text for you. function tidyhtml($str) {
Test the migration script and it works perfectly now.
Note 1: You can convert MySQL data in PHPNuke to UTF8 using import feature under phpMyAdmin. (When import, select "Character set of the file" to what it original is.) After imported, those data will be UTF8. Then, use script with 2 more lines above to convert data to Drupal.
Note 2: My tested computer runs on Windows XP with the following software installed
- phpMyAdmin 2.11.0
- MySQL 5.0.45
- Apache 2.2
- PHP 5.2.4
Note 3: What I did is to import users and stories, not forum or anything else. That means I didn't test the script if it works with those functions or not.
Drupal 6.0 released
After one year of development we are ready to release Drupal 6.0 to the world. Thanks to the tireless work of the Drupal community, over 1,600 issues have been resolved during the Drupal 6.0 release cycle. These changes are evident in Drupal 6's major usability improvements, security and maintainability advancements, friendlier installer, and expanded development framework. Further, from bug fix to feature request, these issues follow-through on the Drupal project's continued commitment to deliver flexibility and power to themers and developers.
What's new
The Drupal 6.0 release contains many improvements, some visible from the first click, and others hidden beneath the hood. While the complete list of changes is too lengthy to list here, we have included just a few of the reasons we're so excited about Drupal 6.
Drupal 6 RC4 is now available
Drupal 6 RC4 is now available HERE
Drupal 6 RC4 Release Note
We are proud to present the fourth release candidate of Drupal 6.0. Building on the extensive testing of the third release candidate, we have discovered and fixed a number of critical issues, including errors during search indexing in languages with accented characters, the display of unpublished content in menus and book outlines, and localized menu data being saved into the database. Thanks to the cooperation between the jQuery and Drupal communities, we have also updated the version of jQuery to be included with Drupal 6 to the latest 1.2.3 release. I want to publicly thank jQuery's John Resig and his team for providing a new jQuery release in time for Drupal 6!
Although I had hoped that the third release candidate would be our last before Drupal 6's official release, our priority is to ensure that Drupal 6 is the fastest, most stable, and feature-filled version of Drupal yet. We've translated your experiences with the previous release candidates (including my own upgrade of drupal.hu) into a number of bug fixes, and will be watching closely for any other last-minute issues. I'm again hopeful that this will be the final release candidate before the official release of Drupal 6.0.
Drupal 6 RC3 is now available
- Will the router get the Openvpn as a client option?5 years 5 months ago
- cancellation5 years 7 months ago
- Router ASUS RT-N12 D1 tomatoes passwort falsch7 years 2 months ago
- WPS button = 30/30/30 hard reset button7 years 2 months ago
- Save my day!7 years 9 months ago
- How to7 years 11 months ago
- Can i still access my modem (the one with the ISP provided)?7 years 11 months ago
- A saving step!8 years 4 months ago
- Problem with Asus n12e-c18 years 5 months ago
- don't use Hostgator8 years 7 months ago