LT:installation

From Kb_JMY(晉明夷)

Jump to: navigation, search
  • LifeType: Installation


Changing Subdmain Access to Subdirectory Access

  • Assumes: "lifetype-1.2.5_r6015.tar.gz"
-> Installation by http://blog.mysite.com
-> LT is installed in the server folder "public_html/blog"
-> but later want to access the site by http://www.mysite.com/blog


  • Methods:
Step1: Correct the settings in the admin backend
Step2: Correct the "RewriteBase" settings in ".htaccess" file under "public_html/blog"

Bugs & Errors

Chinese Blog Content displayed as garbage

  • Assumes: "lifetype-1.2.5_r6015.tar.gz"
  • Ref: GreenHost support ticket 2007/11/09 11:45
-> title: Problems in Display of Chinese Blog Content in LifeType!


  • Question: I have selected "utf-8" as the default encoding during installation (zh_TW is selected as the default locale)
-> Chinese menu items are displayed correctly
-> but not the blog title and content!
-> check that the collations of all the database tables are "latin1_swedish_ci"
  • Solution:
-> change the collations of all the database tables to "utf8_general_ci"


-> This can be done by: 使用phpmyadmin匯出資料庫, 然後使用文字編輯器打開文件, 再取代文件中所有latin1的字轉為utf8, 然後再匯入
(Note: 因為資料庫本身是utf8編碼, 您使用的文字編輯器應該要支援utf8才可以, 否則打開的文件會亂碼. 但因為我本身使用linux關係, 不清楚windows內的記事本情況, 這個您要自行測試.)


-> 如想直接於phpmyadmin內轉換collations & character set, 可以試用這個命令:
* ALTER TABLE `table_name1` COLLATE utf8_general_ci;
* ALTER TABLE `table_name2` COLLATE utf8_general_ci;



Personal tools