SemenaOpt.com
info@semenaopt.com

An error occurred

An error occurred during execution; please try again later.


Additional information:

MongoConnectionException

File:
/var/www/user11/zend2/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Connection.php:285
Message:
Failed to connect to: localhost:27017: Connection refused
Stack trace:
#0 /var/www/user11/zend2/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Connection.php(285): MongoClient->__construct('mongodb://local...', Array)
#1 /var/www/user11/zend2/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Connection.php(430): Doctrine\MongoDB\Connection->Doctrine\MongoDB\{closure}()
#2 /var/www/user11/zend2/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Connection.php(286): Doctrine\MongoDB\Connection->retry(Object(Closure))
#3 /var/www/user11/zend2/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Connection.php(361): Doctrine\MongoDB\Connection->initialize()
#4 /var/www/user11/zend2/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php(306): Doctrine\MongoDB\Connection->selectDatabase('doctrine')
#5 /var/www/user11/zend2/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php(340): Doctrine\ODM\MongoDB\DocumentManager->getDocumentDatabase('Application\Doc...')
#6 /var/www/user11/zend2/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Query/Builder.php(339): Doctrine\ODM\MongoDB\DocumentManager->getDocumentCollection('Application\Doc...')
#7 /var/www/user11/zend2/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/Query/Builder.php(96): Doctrine\ODM\MongoDB\Query\Builder->setDocumentName('Application\Doc...')
#8 /var/www/user11/zend2/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php(374): Doctrine\ODM\MongoDB\Query\Builder->__construct(Object(Doctrine\ODM\MongoDB\DocumentManager), 'Application\Doc...')
#9 /var/www/user11/zend2/module/Application/src/Application/Model/Articles.php(36): Doctrine\ODM\MongoDB\DocumentManager->createQueryBuilder('Application\Doc...')
#10 /var/www/user11/zend2/module/Application/src/Application/Controller/ArticlesController.php(33): Application\Model\Articles->getArticle('9', 0, Object(Zend\View\Helper\Url), Array)
#11 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Application\Controller\ArticlesController->indexAction()
#12 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#13 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#14 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#16 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#17 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#18 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#19 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#20 /var/www/user11/zend2/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#21 /var/www/user11/zend2/public/index.php(52): Zend\Mvc\Application->run()
#22 {main}