Error: | Failed to connect to database. Invalid connection data. mysqli_sql_exception: No such file or directory in /home/iodji703/jmuz.net/app/core/database.php:32 Stack trace: #0 /home/iodji703/jmuz.net/app/core/database.php(32): mysqli->__construct() #1 /home/iodji703/jmuz.net/app/core/database.php(18): App\Core\DataBase->__construct() #2 /home/iodji703/jmuz.net/app/core/model.php(20): App\Core\DataBase::getInstance() #3 /home/iodji703/jmuz.net/app/model/song.php(30): App\Core\Model->__construct() #4 /home/iodji703/jmuz.net/app/controller/site/song.php(14): App\Model\Song->__construct() #5 /home/iodji703/jmuz.net/app/core/route.php(48): App\Controller\Site\Song->__construct() #6 /home/iodji703/jmuz.net/app/core/route.php(21): App\Core\Route::getResult() #7 /home/iodji703/jmuz.net/debug.php(17): App\Core\Route::start() #8 /home/iodji703/jmuz.net/debug.php(32): Debug::app() #9 /home/iodji703/jmuz.net/index.php(28): Debug::start() #10 {main} |
Code: | 0 |
File: | /home/iodji703/jmuz.net/app/core/database.php |
Line: | 34 |
Trace: Array ( [0] => Array ( [file] => /home/iodji703/jmuz.net/app/core/database.php [line] => 18 [function] => __construct [class] => App\Core\DataBase [type] => -> ) [1] => Array ( [file] => /home/iodji703/jmuz.net/app/core/model.php [line] => 20 [function] => getInstance [class] => App\Core\DataBase [type] => :: ) [2] => Array ( [file] => /home/iodji703/jmuz.net/app/model/song.php [line] => 30 [function] => __construct [class] => App\Core\Model [type] => -> ) [3] => Array ( [file] => /home/iodji703/jmuz.net/app/controller/site/song.php [line] => 14 [function] => __construct [class] => App\Model\Song [type] => -> ) [4] => Array ( [file] => /home/iodji703/jmuz.net/app/core/route.php [line] => 48 [function] => __construct [class] => App\Controller\Site\Song [type] => -> ) [5] => Array ( [file] => /home/iodji703/jmuz.net/app/core/route.php [line] => 21 [function] => getResult [class] => App\Core\Route [type] => :: ) [6] => Array ( [file] => /home/iodji703/jmuz.net/debug.php [line] => 17 [function] => start [class] => App\Core\Route [type] => :: ) [7] => Array ( [file] => /home/iodji703/jmuz.net/debug.php [line] => 32 [function] => app [class] => Debug [type] => :: ) [8] => Array ( [file] => /home/iodji703/jmuz.net/index.php [line] => 28 [function] => start [class] => Debug [type] => :: ) ) |