( ! ) 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 | 402232 | {main}( ) | .../index.php:0 |
2 | 0.0096 | 1238608 | IndexView->__construct( ) | .../index.php:10 |
3 | 0.0096 | 1238608 | View->__construct( ) | .../IndexView.php:10 |
4 | 0.0096 | 1238608 | Okay->__get( $name = 'settings' ) | .../View.php:32 |
5 | 0.0099 | 1261544 | Settings->__construct( ) | .../Okay.php:150 |
6 | 0.0106 | 1296824 | Settings->init_settings( ) | .../Settings.php:17 |
7 | 0.0106 | 1296824 | Settings->__get( $param = 'db' ) | .../Settings.php:65 |
8 | 0.0106 | 1296824 | Okay->__get( $name = 'db' ) | .../Settings.php:21 |
9 | 0.0115 | 1369976 | Database->__construct( ) | .../Okay.php:150 |
10 | 0.0115 | 1370032 | Database->connect( ) | .../Database.php:17 |
11 | 0.0117 | 1370520 | trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ) | .../Database.php:42 |