ติดต่อลงโฆษณา [email protected]

แสดงกระทู้

ส่วนนี้จะช่วยให้คุณสามารถดูกระทู้ทั้งหมดสมาชิกนี้ โปรดทราบว่าคุณสามารถเห็นเฉพาะกระทู้ในพื้นที่ที่คุณเข้าถึงในขณะนี้


แสดงหัวข้อ - blueranchu

หน้า: [1]
1
เซ็ต smtp ยังไง กรณี ดาต้าเบสอยู่คนละที่กับไฟล์อ่ะครับ
แล้วถ้าใช้ google app ด้วยอ่ะครับ ยังเช็ตด้วยวิธีเดียวกันได้ป่าวครับ


Mail type   
   SMTP server   
   SMTP port   
   SMTP username   
   SMTP password
(confirm)   

ใช้ php default แล้วส่งเมลไม่ไปครับ

2
วิธีแก้ปัญหา วัน - เดือน ไม่แสดงผลเป็นภาษาไทยใน Thai SMF (UTF-8)

ผมแก้ได้แล้วตามวิธีคนนี้เลยครับ
ขอบคุณครับ
ให้แก้ตามนี้ครับ

File : Themes/default/languages/index.thai.php

แก้
โค้ด: [เลือก]
$txt['lang_locale'] = 'th_TH';
เป็น
โค้ด: [เลือก]
$txt['lang_locale'] = 'th_TH.UTF-8';
สาเหตุน่าจะเป็นเพราะ php เวอร์ชั่นใหม่มี locale ภาษาไทยหลายตัว (ของผมเวอร์ชั่น 5.2.1)
แล้ว default charset ของ locale ภาษาไทย(th_TH)  ไม่ใช่ UTF-8
ดังนั้นเราจึงต้องกำหนดให้ใช้ charset เป็น UTF-8 ครับ

หวังว่าคงช่วยหลายๆ คนที่มีปัญหาเหมือนผมได้ครับ  8) 8)

3
 

thaiaqua.awardspace.com
พอจะติดตั้งโดยไปสร้างดาต้าเบส
แล้วบนเวป
สร้างได้โดยมี user มาให้ด้วย
แล้ว up smf 1.1 rc2 ผ่าน ftp ลงไปบนเวปไปไว้ใน folder /tosaporn78.awardspace.com/  แล้วตั้งชื่อ folder ว่า webboard
chmod เป็น 777 ทั้งfolder โดยใช้ flashfxp ให้ chmod ในทุก subfolder แล้วด้วย
พอรัน
thaiaqua.awardspace.com/webboard/install.php  ผ่าน ie ก็ติด  Error 500: Script Execution Failure

พอลองใหม่ chmod 775 เฉพาะที่ folder webboard และ ตัว  install.php เท่านั้นก็สามารถ install ได้ถึง step2
มันให้กำหนด user เรียบร้อยพอคลิ๊กดู forums ที่ติดตั้งใหม่ มันก็ขึ้นแบบข้างล่างนี่แหละครับ ลองหลายรอบแล้วอ่ะครับ
มันเกิดจากอะไรครับ

[thaiaqua.awardspace.com] [Fri Aug 04 06:52:22 2006] [error] [client 58.10.102.234] Premature end of script headers: index.php | (null) 
Error 500: Script Execution Failure
Description: The server encountered an internal error or misconfiguration and was unable to complete your request.

Most common reasons for returning this error message are:


• File Upload Mode
When you upload Perl, CGI scripts via FTP you should use always ASCII mode. If you get "Error 500: Script Execution Failure" you should check whether your FTP client uses ASCII mode when uploading your scripts, because if it uses BINARY mode to upload your scripts they won't work on the server. The problem caused by wrong upload mode is associated with the way different operating systems handle the "end of line" character. Unix system uses a "line-feed" (LF), Windows uses a "carriage-return" (CR) and "line-feed" (LF) pair. That's why it is very important that you set the uploading mode to ASCII.

• File Permissions
When you upload scripts via FTP the file permissions are set by default to 755. If you get "Error 500: Script Execution Failure" you should check whether your scripts have 755 permissions. Otherwise your scripts have lower level of permissions and does not support execution upon request. The octal representation of the 755 permission is equal to the following textual format: -rwxr-xr-x
Most FTP clients support the CHMOD command which is used for setting file permissions. In case you have set improper permissions to your scripts, use your FTP client and set "Read, Write, Execute" permissions for the owner, "Read, Execute" permissions for the group and everyone else.

• Script Errors
This is the third well known reason for getting "Error 500: Script Execution Failure" upon execution of your scripts. Check your scripts for any obvious syntax or programming errors to make sure your code is not broken.


Remember: When you get a "Error 500: Script Execution Failure", you should always check for any file uploading problems (ASCII/BINARY) and the executable permission settings. Once those are checked and verified, it looks like there is a syntax error or some other problem in the script.


[ไฟล์แนบถูกลบโดยผู้ดำเนินการ]

หน้า: [1]