ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์CMS & Free Scriptบอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ  (อ่าน 1294 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
kidtohome
Newbie
*

พลังน้ำใจ: 0
ออฟไลน์ ออฟไลน์

กระทู้: 2



ดูรายละเอียด
« เมื่อ: 15 กุมภาพันธ์ 2011, 20:31:25 »

ผม copy ทั้ง folder ลงมานะครับ
ส่วน database ก็ใช้ export มา

ปัญหาคือ ตอนนี้ เวลาเข้าเวปบอร์ดหน้าแรกแล้ว link ทุก link จะมี path ผิดหมดเลยครับ
เช่น
http://localhost/board/board/index.php?board=3.0
ของจริงอยู่ที่
http://localhost/board/index.php?board=3.0

อยากทราบว่าผม set อะไรผิดไปครับ หรือว่าต้องไปแก้ที่ไหน

ใน settings.php  มีรายละเอียดดังนี้ครับ
$mbname = 'My Community';      # The name of your forum.
$language = 'thai-utf8';      # The default language file set for the forum.
$boardurl = 'board';      # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]';      # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie439';      # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = 'localhost';
$db_name = 'footballin_board';
$db_user = 'root';
$db_passwd = 'Kitty555';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/footballin/domains/footballinter.com/public_html/board';      # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/footballin/domains/footballinter.com/public_html/board/Sources';      # Path to the Sources directory.
บันทึกการเข้า
Hanuman
Verified Seller
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 383
ออฟไลน์ ออฟไลน์

กระทู้: 3,257



ดูรายละเอียด
« ตอบ #1 เมื่อ: 15 กุมภาพันธ์ 2011, 20:40:54 »

โค๊ด:
$mbname = 'My Community';      # The name of your forum.
$language = 'thai-utf8';      # The default language file set for the forum.
$boardurl = 'http://localhost/board';      # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]';      # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie439';      # Name of the cookie to set for authentication.


โค๊ด:
# Note: These directories do not have to be changed unless you move things.
$boarddir = 'board';      # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = 'board/Sources';      # Path to the Sources directory.

ลองเอาโค้ดนี้ไปใส่แทนดูครับ

ปล.มั้วเอานะ
บันทึกการเข้า
ongying.com
Newbie
*

พลังน้ำใจ: 4
ออฟไลน์ ออฟไลน์

กระทู้: 76



ดูรายละเอียด
« ตอบ #2 เมื่อ: 15 กุมภาพันธ์ 2011, 20:43:40 »

ลองติดตั้ง SMF ในเครื่องแล้วเทียบกันดูก่อน
บันทึกการเข้า

ในเมื่อต้องการเงินเหมือนกัน ทำไมถึงไม่ร่วมมือกันล่ะ
Party
Verified Seller
สมุนแก๊งเสียว
*

พลังน้ำใจ: 133
ออฟไลน์ ออฟไลน์

กระทู้: 987



ดูรายละเอียด
« ตอบ #3 เมื่อ: 15 กุมภาพันธ์ 2011, 21:28:57 »

ผิดตรง
$boardurl = 'board';
โค๊ด:
$boardurl = 'http://localhost/board';	

$boarddir = '/home/footballin/domains/footballinter.com/public_html/board';
$sourcedir = '/home/footballin/domains/footballinter.com/public_html/board/Sources';
ถ้าเป็น AppServ
โค๊ด:
$boarddir = 'C:\\AppServ\\www\\board';
$sourcedir = 'C:\\AppServ\\www\\board/Sources';
บันทึกการเข้า

ใช้ทุนเริ่มต้น $200 เก็บกำไรยาว ๆ
Forex EA | Monster EA | EA Free
kidtohome
Newbie
*

พลังน้ำใจ: 0
ออฟไลน์ ออฟไลน์

กระทู้: 2



ดูรายละเอียด
« ตอบ #4 เมื่อ: 15 กุมภาพันธ์ 2011, 23:40:54 »

ได้แล้วครับ
ขอบคุณทุกๆ คนที่ชี้แนะนะครับ
บันทึกการเข้า
~เผือกสั่งมาลุย++
Newbie
*

พลังน้ำใจ: 0
ออฟไลน์ ออฟไลน์

กระทู้: 1



ดูรายละเอียด
« ตอบ #5 เมื่อ: 16 กุมภาพันธ์ 2011, 10:12:39 »

ขอบคุณความรู้ครับ  wanwan017
บันทึกการเข้า
ganginwpop
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 115
ออฟไลน์ ออฟไลน์

กระทู้: 1,443



ดูรายละเอียด เว็บไซต์
« ตอบ #6 เมื่อ: 16 กุมภาพันธ์ 2011, 10:21:51 »

จริงๆมี tools ตัวนี้ของ smf อยู่ครับ เอาไว้เวลาย้าย host ช่วยได้มากเลยครับ

hxxp://download.simplemachines.org/?tools
บันทึกการเข้า

รับโม ปรับแต่ง ติดตั้ง แก้ไข บอร์ด SMF ผลงาน คลิกที่นี่

อ่านการ์ตูนออนไลน์ ที่ MangaOnlines.com
Auto Pic Post to SMF from Mthai DEMO : MangaOnlines.com

รับทำเว็บไซต์เชียงใหม่ | รับทำเว็บไซต์
~เผือกสั่งมาลุย++
Newbie
*

พลังน้ำใจ: 0
ออฟไลน์ ออฟไลน์

กระทู้: 1



ดูรายละเอียด
« ตอบ #7 เมื่อ: 16 กุมภาพันธ์ 2011, 10:25:24 »

จริงๆมี tools ตัวนี้ของ smf อยู่ครับ เอาไว้เวลาย้าย host ช่วยได้มากเลยครับ

hxxp://download.simplemachines.org/?tools

Tools จะย้ายครบมั้ยนั่น  wanwan017
บันทึกการเข้า
ganginwpop
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 115
ออฟไลน์ ออฟไลน์

กระทู้: 1,443



ดูรายละเอียด เว็บไซต์
« ตอบ #8 เมื่อ: 16 กุมภาพันธ์ 2011, 10:27:52 »

จริงๆมี tools ตัวนี้ของ smf อยู่ครับ เอาไว้เวลาย้าย host ช่วยได้มากเลยครับ

hxxp://download.simplemachines.org/?tools

Tools จะย้ายครบมั้ยนั่น  wanwan017
ก็เกือบครับ ถ้าตัวไหนพลาดเราก็เก็บตกเอาเอง
แต่เท่าที่ใช้ว่า ไม่มีปัญหาครับ Tongue
บันทึกการเข้า

รับโม ปรับแต่ง ติดตั้ง แก้ไข บอร์ด SMF ผลงาน คลิกที่นี่

อ่านการ์ตูนออนไลน์ ที่ MangaOnlines.com
Auto Pic Post to SMF from Mthai DEMO : MangaOnlines.com

รับทำเว็บไซต์เชียงใหม่ | รับทำเว็บไซต์
หน้า: [1]   ขึ้นบน
พิมพ์