Jump to content

การแก้ไขปัญหา 500 Internal Server Error


kerokid

Recommended Posts

หากว่า เกิดปัญหา ในการใช้งานที่ prestashop
ผมพบปัญหานี้ ตอนที่ เลือก ธนาคารที่จะโอนเงิน เป็น module bankwirethai ของคุณ nokaek (ขออภัยที่เอ่ยชื่อ)
เลยเอามาเป็นข้อมูล เวลาที่ ท่านพบปัญหานี้

error ที่เกิดขึ้น

****************************************************************************************

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/4.4.9 mod_perl/2.0.4 Perl/v5.8.8 Server at www.kerokid.com Port 80



****************************************************************************************

ส่วนใหญ่จะเกิดจากการกำหนดสิทธิ์ (Permissions) ให้กับ folder และไฟล์ต่างๆ
ให้ทำการตรวจสอบทุกไฟล์และโฟลเดอร์ของคุณว่า ตั้งค่า (chmod) เป็นอะไรไว้
หากตั้งค่าเป็น 777 ให้กำหนดค่าให้เป็น 755

เพราะระบบ server จะทำการ block ไฟล์ php ที่ตั้งค่า(chmod) เป็น 777
และจะแสดงข้อผิดพลาดเป็น 500 internal server error นั่นเอง

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...