|
หัวข้อ: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: kidtohome ที่ 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. หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: Hanuman ที่ 15 กุมภาพันธ์ 2011, 20:40:54 โค๊ด: $mbname = 'My Community'; # The name of your forum. โค๊ด: # Note: These directories do not have to be changed unless you move things. ลองเอาโค้ดนี้ไปใส่แทนดูครับ ปล.มั้วเอานะ หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: ongying.com ที่ 15 กุมภาพันธ์ 2011, 20:43:40 ลองติดตั้ง SMF ในเครื่องแล้วเทียบกันดูก่อน
หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: Party ที่ 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'; หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: kidtohome ที่ 15 กุมภาพันธ์ 2011, 23:40:54 ได้แล้วครับ
ขอบคุณทุกๆ คนที่ชี้แนะนะครับ หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: ~เผือกสั่งมาลุย++ ที่ 16 กุมภาพันธ์ 2011, 10:12:39 ขอบคุณความรู้ครับ :wanwan017:
หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: ganginwpop ที่ 16 กุมภาพันธ์ 2011, 10:21:51 จริงๆมี tools ตัวนี้ของ smf อยู่ครับ เอาไว้เวลาย้าย host ช่วยได้มากเลยครับ
hxxp://download.simplemachines.org/?tools หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: ~เผือกสั่งมาลุย++ ที่ 16 กุมภาพันธ์ 2011, 10:25:24 จริงๆมี tools ตัวนี้ของ smf อยู่ครับ เอาไว้เวลาย้าย host ช่วยได้มากเลยครับ hxxp://download.simplemachines.org/?tools Tools จะย้ายครบมั้ยนั่น :wanwan017: หัวข้อ: Re: บอร์ด smf ผม ย้ายจาก server มาลงในเครื่อง notebook แล้วมีปัญหา ช่วยบอกทีครับ เริ่มหัวข้อโดย: ganginwpop ที่ 16 กุมภาพันธ์ 2011, 10:27:52 จริงๆมี tools ตัวนี้ของ smf อยู่ครับ เอาไว้เวลาย้าย host ช่วยได้มากเลยครับ hxxp://download.simplemachines.org/?tools Tools จะย้ายครบมั้ยนั่น :wanwan017: แต่เท่าที่ใช้ว่า ไม่มีปัญหาครับ :P |