Error 500

Server Error

Exception Traces

This will only be displayed in DEVELOPMENT_MODE.
Error Message SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: The requested name is valid, but no data of the requested type was found.
File C:\laragon\www\regis\std2564\app\models\PDODb.php On Line 299
Stack Trace 1 C:\laragon\www\regis\std2564\app\models\PDODb.php(299): PDO->__construct('mysql:host=db.snru.ac.th;dbname=curr', 'funrun', 'iuIXPKHH28', Array)
2 C:\laragon\www\regis\std2564\app\models\PDODb.php(1506): PDODb->connect()
3 C:\laragon\www\regis\std2564\app\models\PDODb.php(1526): PDODb->pdo()
4 C:\laragon\www\regis\std2564\app\models\PDODb.php(671): PDODb->prepare()
5 C:\laragon\www\regis\std2564\app\models\PDODb.php(1039): PDODb->buildQuery(Array)
6 C:\laragon\www\regis\std2564\app\controllers\Ttmp_datastudent64Controller.php(64): PDODb->get('ttmp_datastudent64', Array, Array)
7 C:\laragon\www\regis\std2564\system\Router.php(196): Ttmp_datastudent64Controller->index()
8 C:\laragon\www\regis\std2564\system\Router.php(109): Router->run('ttmp_datastudent64')
9 C:\laragon\www\regis\std2564\index.php(106): Router->init()