Drupal 7.5筆記

資料庫轉換可以參考此頁
http://agrozyme-blog.logdown.com/posts/771621


應該是作業環境的關係吧(Godaddy Hosting),目前我還沒轉換成功

https://www.drupal.org/node/2762599

drush utf8mb4-convert-databases (有試過Drush 7.x及8.x)
This will convert all databases defined in settings.php to utf8mb4. Back up your databases before continuing! Continue? (y/n): y
Target MySQL database: default:default
The default:default MySQL database does not support UTF8MB4! Ensure that the conditions listed in settings.php related to innodb_large_prefix, the server version, and the MySQL driver version are met
Converting database: mydb
Converting table: block
Converting table: block_role
Converting table: block_custom
Converting table: cache_block
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error [error]
or access violation: 1071 Specified key was too long; max key length
is 767 bytes' in
/home/godaddy/mysite/includes/database/database.inc:2204

https://mathiasbynens.be/notes/mysql-utf8mb4

http://www.jeffgeerling.com/blog/2016/getting-emoji-and-multibyte-characters-on-your-drupal-7-site-750


另外,昇級到7.5後,如果出現一些紅字的錯誤訊息,可以用 Module Missing Message Fixer
 解決
張貼留言
技術提供:Blogger.