( ! ) 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 | 403240 | {main}( ) | .../index.php:0 |
2 | 0.0408 | 1239416 | IndexView->__construct( ) | .../index.php:10 |
3 | 0.0408 | 1239416 | View->__construct( ) | .../IndexView.php:10 |
4 | 0.0408 | 1239416 | Okay->__get( $name = 'settings' ) | .../View.php:32 |
5 | 0.0412 | 1262352 | Settings->__construct( ) | .../Okay.php:150 |
6 | 0.0530 | 1297632 | Settings->init_settings( ) | .../Settings.php:17 |
7 | 0.0530 | 1297632 | Settings->__get( $param = 'db' ) | .../Settings.php:65 |
8 | 0.0530 | 1297632 | Okay->__get( $name = 'db' ) | .../Settings.php:21 |
9 | 0.0538 | 1370784 | Database->__construct( ) | .../Okay.php:150 |
10 | 0.0539 | 1370840 | Database->connect( ) | .../Database.php:17 |
11 | 0.0540 | 1371328 | trigger_error( $message = 'Could not connect to the database: Connection refused', $error_type = 256 ) | .../Database.php:42 |