Bug ระบบ SMS (database.sql ไม่มีคำสั่งสร้างตาราง language)
database.sql ไม่มีคำสั่งสร้างตาราง language
เมื่อทำการไปที่หน้า ตั้งค่า/จัดการภาษา จะเกิด error
--------------------------------------------------------------------------------------------------------------------------------------------
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test_sms.rp_language' doesn't exist' in /home/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php:352 Stack trace: #0 /home/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php(352): PDO->query('SELECT * FROM (...') #1 /home/public_html/sms/Kotchasan/Database/Driver.php(165): Kotchasan\Database\PdoMysqlDriver->doCustomQuery('SELECT * FROM (...', Array) #2 /home/public_html/sms/Kotchasan/Database/Driver.php(246): Kotchasan\Database\Driver->customQuery('SELECT * FROM (...', true, Array) #3 /home/public_html/sms/Kotchasan/Database/QueryBuilder.php(168): Kotchasan\Database\Driver->execQuery(Array, Array) #4 /home/public_html/sms/Kotchasan/Database/QueryBuilder.php(239): Kotchasan\Database\QueryBuilder->ex in /home/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php on line 365
------------------------------------------------------------------------------------------------------------------
เมื่อทำการไปที่หน้า ตั้งค่า/จัดการภาษา จะเกิด error
--------------------------------------------------------------------------------------------------------------------------------------------
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test_sms.rp_language' doesn't exist' in /home/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php:352 Stack trace: #0 /home/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php(352): PDO->query('SELECT * FROM (...') #1 /home/public_html/sms/Kotchasan/Database/Driver.php(165): Kotchasan\Database\PdoMysqlDriver->doCustomQuery('SELECT * FROM (...', Array) #2 /home/public_html/sms/Kotchasan/Database/Driver.php(246): Kotchasan\Database\Driver->customQuery('SELECT * FROM (...', true, Array) #3 /home/public_html/sms/Kotchasan/Database/QueryBuilder.php(168): Kotchasan\Database\Driver->execQuery(Array, Array) #4 /home/public_html/sms/Kotchasan/Database/QueryBuilder.php(239): Kotchasan\Database\QueryBuilder->ex in /home/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php on line 365
------------------------------------------------------------------------------------------------------------------
คงอีกสักพักครับ ผมถึงจะอัปเดทให้ได้