( ! ) Fatal error: Could not connect to the database: Connection refused in /home/restserv/public_html/api/Database.php on line 42 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0003 | 403512 | {main}( ) | .../index.php:0 |
2 | 0.0272 | 1239648 | IndexView->__construct( ) | .../index.php:10 |
3 | 0.0272 | 1239648 | View->__construct( ) | .../IndexView.php:10 |
4 | 0.0272 | 1239648 | Okay->__get( $name = 'settings' ) | .../View.php:32 |
5 | 0.0275 | 1262584 | Settings->__construct( ) | .../Okay.php:150 |
6 | 0.0281 | 1297864 | Settings->init_settings( ) | .../Settings.php:17 |
7 | 0.0281 | 1297864 | Settings->__get( $param = 'db' ) | .../Settings.php:65 |
8 | 0.0281 | 1297864 | Okay->__get( $name = 'db' ) | .../Settings.php:21 |
9 | 0.0289 | 1371016 | Database->__construct( ) | .../Okay.php:150 |
10 | 0.0289 | 1371072 | Database->connect( ) | .../Database.php:17 |
11 | 0.0290 | 1371560 | trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ) | .../Database.php:42 |