sms-master
[Sun Jul 08 07:56:35.132205 2018] [proxy_fcgi:error] [pid 36825:tid 140704994817792] [client 180.180.5.67:58468] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: config in /home/saranart/public_html/sms/Kotchasan/Database.php on line 61\nPHP message: PHP Warning: Invalid argument supplied for foreach() in /home/saranart/public_html/sms/Kotchasan/Database.php on line 61\nPHP message: PHP Fatal error: Uncaught InvalidArgumentException: Database configuration is invalid in /home/saranart/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php:56\nStack trace:\n#0 /home/saranart/public_html/sms/Kotchasan/Database.php(92): Kotchasan\\Database\\PdoMysqlDriver->connect(Object(stdClass))\n#1 /home/saranart/public_html/sms/Kotchasan/Database/Db.php(38): Kotchasan\\Database::create('mysql')\n#2 /home/saranart/public_html/sms/Kotchasan/Model.php(36): Kotchasan\\Database\\Db->__construct('mysql')\n#3 /home/saranart/public_html/sms/Kotchasan/Model.php(68): Kotchasan\\Model->__construct()\n#4 /home/saranart/public_html/sms/Gcms/Login.php(39): Kotchasan\\Model::createQuery()\n#5 /home/saranart/public_html/sms/Gcms/Login.php(76): Gcms\\Login::checkMember(Array)\n#6 /home/saranart/public_html/sms/Kotchasan/Login.php(112): Gcms\\Login->checkLogin(Array)\n#7 /home/saranart/public_html/sms/modules/index/controllers/index.php(41): Kotchasan\\Login::create()\n#8 /home/saranart/public_html/sms/Kotchasan/Router.php...\n',
[Sun Jul 08 10:21:04.377885 2018] [proxy_fcgi:error] [pid 31612:tid 140704814696192] [client 180.180.5.67:59352] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: config in /home/saranart/public_html/sms/Kotchasan/Database.php on line 61\nPHP message: PHP Warning: Invalid argument supplied for foreach() in /home/saranart/public_html/sms/Kotchasan/Database.php on line 61\nPHP message: PHP Fatal error: Uncaught InvalidArgumentException: Database configuration is invalid in /home/saranart/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php:56\nStack trace:\n#0 /home/saranart/public_html/sms/Kotchasan/Database.php(92): Kotchasan\\Database\\PdoMysqlDriver->connect(Object(stdClass))\n#1 /home/saranart/public_html/sms/Kotchasan/Database/Db.php(38): Kotchasan\\Database::create('mysql')\n#2 /home/saranart/public_html/sms/Kotchasan/Model.php(36): Kotchasan\\Database\\Db->__construct('mysql')\n#3 /home/saranart/public_html/sms/Kotchasan/Model.php(68): Kotchasan\\Model->__construct()\n#4 /home/saranart/public_html/sms/Gcms/Login.php(39): Kotchasan\\Model::createQuery()\n#5 /home/saranart/public_html/sms/Gcms/Login.php(76): Gcms\\Login::checkMember(Array)\n#6 /home/saranart/public_html/sms/Kotchasan/Login.php(112): Gcms\\Login->checkLogin(Array)\n#7 /home/saranart/public_html/sms/modules/index/controllers/index.php(41): Kotchasan\\Login::create()\n#8 /home/saranart/public_html/sms/Kotchasan/Router.php...\n'
เข้าระบบเป็นผู้ดูแลระบบ ไม่ได้เลยครับ
[Sun Jul 08 10:21:04.377885 2018] [proxy_fcgi:error] [pid 31612:tid 140704814696192] [client 180.180.5.67:59352] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: config in /home/saranart/public_html/sms/Kotchasan/Database.php on line 61\nPHP message: PHP Warning: Invalid argument supplied for foreach() in /home/saranart/public_html/sms/Kotchasan/Database.php on line 61\nPHP message: PHP Fatal error: Uncaught InvalidArgumentException: Database configuration is invalid in /home/saranart/public_html/sms/Kotchasan/Database/PdoMysqlDriver.php:56\nStack trace:\n#0 /home/saranart/public_html/sms/Kotchasan/Database.php(92): Kotchasan\\Database\\PdoMysqlDriver->connect(Object(stdClass))\n#1 /home/saranart/public_html/sms/Kotchasan/Database/Db.php(38): Kotchasan\\Database::create('mysql')\n#2 /home/saranart/public_html/sms/Kotchasan/Model.php(36): Kotchasan\\Database\\Db->__construct('mysql')\n#3 /home/saranart/public_html/sms/Kotchasan/Model.php(68): Kotchasan\\Model->__construct()\n#4 /home/saranart/public_html/sms/Gcms/Login.php(39): Kotchasan\\Model::createQuery()\n#5 /home/saranart/public_html/sms/Gcms/Login.php(76): Gcms\\Login::checkMember(Array)\n#6 /home/saranart/public_html/sms/Kotchasan/Login.php(112): Gcms\\Login->checkLogin(Array)\n#7 /home/saranart/public_html/sms/modules/index/controllers/index.php(41): Kotchasan\\Login::create()\n#8 /home/saranart/public_html/sms/Kotchasan/Router.php...\n'
เข้าระบบเป็นผู้ดูแลระบบ ไม่ได้เลยครับ
หรือ ลองเปิด DEBUG ดู เผื่อจะมี error
หรือ ลองตรวจสอบดูว่า settings/config.php สามารถเขียนได้หรือไม่