object(MongoConnectionException)#164 (7) { ["message":protected]=> string(57) "Failed to connect to: localhost:27017: Connection refused" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(71) ["file":protected]=> string(36) "/home/lavoretti/classes/DB.class.php" ["line":protected]=> int(44) ["trace":"Exception":private]=> array(5) { [0]=> array(6) { ["file"]=> string(36) "/home/lavoretti/classes/DB.class.php" ["line"]=> int(44) ["function"]=> string(11) "__construct" ["class"]=> string(5) "Mongo" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(29) "mongodb://localhost/lavoretti" [1]=> array(1) { ["timeout"]=> string(5) "15000" } } } [1]=> array(6) { ["file"]=> string(36) "/home/lavoretti/classes/DB.class.php" ["line"]=> int(30) ["function"]=> string(11) "__construct" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(36) "/home/lavoretti/classes/DB.class.php" ["line"]=> int(57) ["function"]=> string(11) "getInstance" ["class"]=> string(2) "DB" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(47) "/home/lavoretti/apps/JobActivityAndCity.app.php" ["line"]=> int(2) ["function"]=> string(13) "getCategories" ["class"]=> string(2) "DB" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [4]=> array(4) { ["file"]=> string(29) "/home/lavoretti/www/index.php" ["line"]=> int(98) ["args"]=> array(1) { [0]=> string(47) "/home/lavoretti/apps/JobActivityAndCity.app.php" } ["function"]=> string(7) "include" } } ["previous":"Exception":private]=> NULL }