| ... | ... |
@@ -41,6 +41,7 @@ if($confirm == "yes") {
|
| 41 | 41 |
dbquery("INSERT INTO `".TABLEPREFIX."fanfiction_panels`(`panel_name`, `panel_title`, `panel_url`, `panel_level`, `panel_hidden`, `panel_type`, `panel_order`) VALUES( 'convert', 'Archive Conversion', '', '1', '0', 'A', '11')");
|
| 42 | 42 |
} |
| 43 | 43 |
// initial UTF-8 conversion |
| 44 |
+ dbquery("ALTER DATABASE $dbname DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;");
|
|
| 44 | 45 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_authorfields ENGINE=INNODB, DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;");
|
| 45 | 46 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_authorinfo ENGINE=INNODB, DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;");
|
| 46 | 47 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_authorprefs ENGINE=INNODB, DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;");
|
| ... | ... |
@@ -96,7 +97,7 @@ if($confirm == "yes") {
|
| 96 | 97 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_settings CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_bin;");
|
| 97 | 98 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_stats CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_bin;");
|
| 98 | 99 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_stories CONVERT TO CHARSET utf8mb4 COLLATE utf8mb4_bin;");
|
| 99 |
- // change collation of certain tables |
|
| 100 |
+ // change collation of certain columns |
|
| 100 | 101 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_authors CHANGE `penname` `penname` VARCHAR(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', CHANGE `realname` `realname` VARCHAR(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';");
|
| 101 | 102 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_categories CHANGE `category` `category` VARCHAR(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';");
|
| 102 | 103 |
dbquery("ALTER TABLE ".TABLEPREFIX."fanfiction_characters CHANGE `charname` `charname` VARCHAR(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';");
|
| ... | ... |
@@ -394,7 +394,7 @@ define ("_HELP_UPDATE", "After uploading eFiction script updates to your archive
|
| 394 | 394 |
define ("_HELP_CATORDER", "This option will fix errors in the numbering of the category order saved in the database. This will <strong>not</strong> change the order of your categories only correct errors in the database numbering.");
|
| 395 | 395 |
define ("_HELP_PANELORDER", "This option will fix errors in the numbering of the panel order saved in the database. This will <strong>not</strong> change the order of your panels only correct errors in the database numbering.");
|
| 396 | 396 |
define ("_HELP_RECALCSTORIES", "Click here to fix the story count for authors.");
|
| 397 |
-define("_HELP_CONVERTMOD", "This converts your current eFiction install to eFiction 3 Mod. This will work to some extent in the latin1 collation as long as you are not using any multibyte characters.");
|
|
| 397 |
+define("_HELP_CONVERTMOD", "This converts your current eFiction install to eFiction 3 Mod. This will work to some extent with a database using the latin1 collation as long as you are not using (or attempting to use) any multibyte characters.");
|
|
| 398 | 398 |
define("_HELP_CONVERTUTF", "This converts your current eFiction 3 Mod install back to supporting Unicode 4.0.");
|
| 399 | 399 |
define("_HELP_CONVERT0520", "This converts your current eFiction 3 Mod install to support Unicode 5.2.");
|
| 400 | 400 |
define("_HELP_CONVERT0900", "This converts your current eFiction 3 Mod install to support Unicode 9.0.");
|