🔧 PMS API Debug Tool

ใช้เครื่องมือนี้เพื่อทดสอบ API endpoints และดู response

GET API/simple-test.php
GET Loading.../test
GET API Base/stats
GET API Base/rooms
GET Config/database.php

📊 Connection Status

🛠️ Debugging Steps

  1. ตรวจสอบว่า Apache และ MySQL เปิดอยู่
  2. ตรวจสอบว่าไฟล์ config/database.php สามารถเข้าถึงได้
  3. ตรวจสอบว่าไฟล์ api/index.php สามารถเข้าถึงได้
  4. ตรวจสอบว่าฐานข้อมูล zvdzpszw_pms ถูกสร้างแล้ว
  5. รัน database-schema.sql เพื่อสร้างตารางและข้อมูลตัวอย่าง