Lỗi kết nối: 14.225.238.164
Notice (1024): Failed to connect to: localhost:27017: No route to host [APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 206]Code Contextecho 'Lỗi kết nối: '.$_SERVER['SERVER_ADDR'];
$this->error = $e->getMessage();
trigger_error($this->error);
$host = 'mongodb://phutungototoyota:z3114slHC4P6n1X@localhost:27017/phutungototoyota' $e = object(MongoConnectionException) { [protected] message => 'Failed to connect to: localhost:27017: No route to host' [protected] code => (int) 71 [protected] file => '/home/pttoyota/domains/phutungototoyota.com/public_html/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' [protected] line => (int) 202 }MongodbSource::connect() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 206 MongodbSource::isConnected() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 333 AppController::setup() - APP/Controller/AppController.php, line 87 PluginsController::index() - APP/Controller/PluginsController.php, line 170 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - APP/webroot/index.php, line 109