( ! ) 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.0004 | 403272 | {main}( ) | .../index.php:0 |
2 | 0.0098 | 1239408 | IndexView->__construct( ) | .../index.php:10 |
3 | 0.0098 | 1239408 | View->__construct( ) | .../IndexView.php:10 |
4 | 0.0098 | 1239408 | Okay->__get( $name = 'settings' ) | .../View.php:32 |
5 | 0.0101 | 1262344 | Settings->__construct( ) | .../Okay.php:150 |
6 | 0.0107 | 1297624 | Settings->init_settings( ) | .../Settings.php:17 |
7 | 0.0107 | 1297624 | Settings->__get( $param = 'db' ) | .../Settings.php:65 |
8 | 0.0107 | 1297624 | Okay->__get( $name = 'db' ) | .../Settings.php:21 |
9 | 0.0114 | 1370776 | Database->__construct( ) | .../Okay.php:150 |
10 | 0.0114 | 1370832 | Database->connect( ) | .../Database.php:17 |
11 | 0.0116 | 1371320 | trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ) | .../Database.php:42 |