ไปเจอกระทู้นี้มา กะว่าจะ backup auto-nkp.com นำมาใช้กับ Localhost ก่อน ลองดู
(เคยอับไปไว้อีกที่แล้ว แจ้งฐานข้อมูลผิดพลาด/error ยังไม่สำเร็จซักกะที...)
$db_type = 'mysql';
$db_server = 'localhost';
$db_name = 'xxxxxx';
$db_user = 'root';
$db_passwd = '1234';
สร้างฐานข้อมูลเป็นชื่อเดียวกันแล้ว เปลี่ยนค่าด้านบนแล้วก็ไม่ได้
$boardurl = ??
$boarddir = ??
$sourcedir = ??
$cachedir = ??
ลองดูกระทู้ปักหมุด
รวมกระทู้-ติดตั้ง-ปรับแต่ง [SMF]
http://www.justusers.net/forum/index.php/topic,988.0.html
หัวข้อ ~ วิธีย้ายเว็บบอร์ด SMF ~ (TinaCat)
http://www.justusers.net/forum/index.php/topic,17.0.html
ได้ครับ กำหนดค่านี้ครับ smf206(เป็น Folder ผมเอาโค๊ตมาใส่นะครับ ถ้าของท่านเป็นชื่ออื่นก็เปลี่ยน)
$boardurl = 'http://localhost/smf206'; # URL to your forum's folder. (without the trailing /!)
$db_type = 'mysql';
$db_server = 'localhost';
$db_name = 'smf206';
$db_user = 'root';
$db_passwd = '1234';
$boarddir = 'C:\\AppServ\\www\\smf206'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'C:\\AppServ\\www\\smf206/Sources'; # Path to the Sources directory.
$cachedir = 'C:\\AppServ\\www\\smf206/cache'; # Path to the cache directory.
หรือคุณสามารถโหลด Repair Settings จาก Link http://download.simplemachines.org/?tools คลายไฟล์แล้วนำไปไว้ที่ root เรียกไฟล์ repair_settings.php ครับ
ถ้าใช้บน windows + appserv จะไม่มีเรื่อง permission ของไฟล์
หรือถ้าเทียบกับ host จริง ก็คือ ทุกไฟล์/โฟลเดอร์ มี permission = 777 คือ อนุญาตให้ "ทุกคน" "ทุกกลุ่ม" "ทำได้ทุกอย่าง" (อ่าน/ประมวลผล/แก้ไข/ลบ)
ขอบคุณมากครับ ท่าน Tcomputer, ท่าน ไก่ขี้เมา[แอท]
วันนี้จะลองทำตามที่ท่านแนะนำครับ
คงเป็น พาท dir อย่างที่ท่านบอกครับ
ใช้งานได้เเล้วครับทำตามที่คุณ เซียวเหล่งนึ่งฯ บอก
ขอบคุณมากครับ
มาจากกระทู้นี้ -->
http://www.justusers.net/forum/index.php/topic,11388.0.html