Code Context } catch(MongoException $e) {
$this->error = $e->getMessage();
trigger_error($this->error);
$host = 'mongodb://localhost:27017'
$e = object(MongoConnectionException) {
[protected] message => 'Failed to connect to: localhost:27017: Connection refused'
[protected] code => (int) 71
[protected] file => '/home/ohta/www/new_bloc_site/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php'
[protected] line => (int) 194
}
MongodbSource::connect() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 218
MongodbSource::isConnected() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 302
MongodbSource::listSources() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 386
Model::setSource() - CORE/Cake/Model/Model.php, line 1112
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3247
Model::find() - CORE/Cake/Model/Model.php, line 2700
Sponsor::getAllActiveData() - APP/Model/Sponsor.php, line 10
PagesController::beforeFilter() - APP/Controller/PagesController.php, line 112
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 248
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 184
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 110