( ! ) 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 | 402168 | {main}( ) | .../index.php:0 |
2 | 0.0665 | 1238504 | IndexView->__construct( ) | .../index.php:10 |
3 | 0.0665 | 1238504 | View->__construct( ) | .../IndexView.php:10 |
4 | 0.0665 | 1238504 | Okay->__get( $name = 'settings' ) | .../View.php:32 |
5 | 0.0669 | 1261440 | Settings->__construct( ) | .../Okay.php:150 |
6 | 0.0675 | 1296720 | Settings->init_settings( ) | .../Settings.php:17 |
7 | 0.0675 | 1296720 | Settings->__get( $param = 'db' ) | .../Settings.php:65 |
8 | 0.0675 | 1296720 | Okay->__get( $name = 'db' ) | .../Settings.php:21 |
9 | 0.0683 | 1369872 | Database->__construct( ) | .../Okay.php:150 |
10 | 0.0683 | 1369928 | Database->connect( ) | .../Database.php:17 |
11 | 0.0685 | 1370416 | trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ) | .../Database.php:42 |