Failed to connect to: localhost:27017: Previous connection attempts failed, server blacklisted array (
  0 => 
  array (
    'file' => '/home/www/tuugo/htdocs/include/mongo.php',
    'line' => 43,
    'function' => 'db_connect',
    'args' => 
    array (
      0 => 
      MongoConnectionException::__set_state(array(
         'message' => 'Failed to connect to: localhost:27017: Previous connection attempts failed, server blacklisted',
         'string' => '',
         'code' => 71,
         'file' => '/home/www/tuugo/htdocs/include/mongo.php',
         'line' => 39,
         'trace' => 
        array (
          0 => 
          array (
            'file' => '/home/www/tuugo/htdocs/include/mongo.php',
            'line' => 39,
            'function' => '__construct',
            'class' => 'MongoClient',
            'type' => '->',
            'args' => 
            array (
              0 => 'mongodb://localhost:27017',
            ),
          ),
          1 => 
          array (
            'file' => '/home/www/tuugo/htdocs/include/mongo.php',
            'line' => 68,
            'function' => 'db_connect',
            'args' => 
            array (
            ),
          ),
          2 => 
          array (
            'file' => '/home/www/tuugo/htdocs/include/def.php',
            'line' => 52,
            'args' => 
            array (
              0 => '/home/www/tuugo/htdocs/include/mongo.php',
            ),
            'function' => 'require_once',
          ),
          3 => 
          array (
            'file' => '/home/www/tuugo/htdocs/index.php',
            'line' => 12,
            'args' => 
            array (
              0 => '/home/www/tuugo/htdocs/include/def.php',
            ),
            'function' => 'require',
          ),
        ),
         'previous' => NULL,
      )),
    ),
  ),
  1 => 
  array (
    'file' => '/home/www/tuugo/htdocs/include/mongo.php',
    'line' => 68,
    'function' => 'db_connect',
    'args' => 
    array (
    ),
  ),
  2 => 
  array (
    'file' => '/home/www/tuugo/htdocs/include/def.php',
    'line' => 52,
    'args' => 
    array (
      0 => '/home/www/tuugo/htdocs/include/mongo.php',
    ),
    'function' => 'require_once',
  ),
  3 => 
  array (
    'file' => '/home/www/tuugo/htdocs/index.php',
    'line' => 12,
    'args' => 
    array (
      0 => '/home/www/tuugo/htdocs/include/def.php',
    ),
    'function' => 'require',
  ),
)