การย้ายกระดานสนทนา smf รุ่น tis-620 เปลี่ยนเป็น utf-8 ทำอย่างไร หรือการย้าย smf ไปที่ server ใหม่ทำอย่างไร
smf tis-620 ระบบเก่าที่รองรับ ภาษาไทย ช่วงเริ่มต้นระบบ
smf utf-8 ระบบใหม่ รองรับ ภาษาไทย ใช้งานอยู่ปัจจุบัน
smf ที่ผมลงทับใหม่เป็นเวอร์ชัน 2.0.11 ของเก่า เป็น 2.0.3 rc1 (ใช้ tis-620)
การแก้ไขตาราง phpmyadmin ใน smf (กรณีย้าย hosting เข้า junjao.com)
(junjao.com เปลี่ยนเป็นชื่อเว็บของคุณ)
smf_setting
attachmentUploadDir
C:\inetpub\vhosts\junjao.com\httpdocs\board/attachments (ระบบ plesk 12.5)
------------------------------------------
smf_themes
theme_url
http://junjao.com/board/Themes/default
images_url
http://junjao.com/board/Themes/default/images
theme_dir
C:\inetpub\vhosts\junjao.com\httpdocs\board/Themes/default (ระบบ plesk 12.5)
การ dump ฐานข้อมูลไม่ได้ให้ใช้การ copy แล้วนำมาวางแทนก็ได้ (มีความแตกต่างกันมาก หรือข้อมูลเยอะมาก จะไม่ผ่าน)
ตรวจสอบไฟล์ setting.php ได้ตามนี้ด้วย
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = 'C:\\inetpub\\vhosts\\junjao.com\\httpdocs\\board'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'C:\\inetpub\\vhosts\\junjao.com\\httpdocs\\board/Sources'; # Path to the Sources directory.
$cachedir = 'C:\\inetpub\\vhosts\\junjao.com\\httpdocs\\board/cache'; # Path to the cache directory.
เมื่อทำการแก้ไขเสร็จให้ ทำการ install.php ทับใหม่
โดยการเลือก utf-8 ในการติดตั้ง
ตัวอย่าง http://junjao.com/board มาจาก tis-620 เป็น utf-8 แล้ว
สรพล
jun_jao2000@hotmail.com