Zend_Db_Adapter_Exception

This is an internal Application exception. Please consult the documentation for assistance with solving this issue.

An exception of type Zend_Db_Adapter_Exception was thrown, but did not get caught during the execution of the request. You will find information provided by the exception along with a stack trace below.

SQLSTATE[08006] [7] could not connect to server: Connection refused
Is the server running on host "scb02lp.mc.vanderbilt.edu" and accepting
TCP/IP connections on port 5432?

Stack Trace

  1. at exception origin
    in _/app001/www/labnodes/production/tags/vri-2.6.1/library/Zend/Db/Adapter/Pdo/Abstract.php line 144
    1.              * @see Zend_Db_Adapter_Exception
    2.              */
    3.             // require_once 'Zend/Db/Adapter/Exception.php';
    4.             throw new Zend_Db_Adapter_Exception($e->getMessage(), $e->getCode(), $e);
    5.         }
    6.  
    7.     }
  2. at Zend_Db_Adapter_Pdo_Abstract->_connect()
    in _/app001/www/labnodes/production/tags/vri-2.6.1/library/Zend/Db/Adapter/Pdo/Pgsql.php line 87
    1.             return;
    2.         }
    3.  
    4.         parent::_connect();
    5.  
    6.         if (!empty($this->_config['charset'])) {
    7.             $sql "SET NAMES '" $this->_config['charset'] . "'";
  3. at Zend_Db_Adapter_Pdo_Pgsql->_connect()
    in _/app001/www/labnodes/production/tags/vri-2.6.1/library/Zend/Db/Adapter/Abstract.php line 460
    1.     public function query($sql$bind = array())
    2.     {
    3.         // connect to the database if needed
    4.         $this->_connect();
    5.  
    6.         // is the $sql a Zend_Db_Select object?
    7.         if ($sql instanceof Zend_Db_Select) {
  4. at Zend_Db_Adapter_Abstract->query('SELECT … ument_manager.document_id', 'drtc')
    in _/app001/www/labnodes/production/tags/vri-2.6.1/library/Zend/Db/Adapter/Pdo/Abstract.php line 238
    1.         }
    2.  
    3.         try {
    4.             return parent::query($sql$bind);
    5.         } catch (PDOException $e) {
    6.             /**
    7.              * @see Zend_Db_Statement_Exception
  5. at Zend_Db_Adapter_Pdo_Abstract->query('SELECT … ument_manager.document_id', 'drtc')
    in _/app001/www/labnodes/production/tags/vri-2.6.1/library/Zend/Db/Adapter/Abstract.php line 756
    1.         if ($fetchMode === null) {
    2.             $fetchMode $this->_fetchMode;
    3.         }
    4.         $stmt $this->query($sql$bind);
    5.         $result $stmt->fetch($fetchMode);
    6.         return $result;
    7.     }
  6. at Zend_Db_Adapter_Abstract->fetchRow('SELECT … ument_manager.document_id', 'drtc', NULL)
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Labnodes/src/Database/Adapter/Pdo/Pgsql.php line 76
    1.      */
    2.     public function fetchRow($sql$bind = [], $fetchMode null)
    3.     {
    4.         $row parent::fetchRow($sql$bind$fetchMode);
    5.         if (false === $row) {
    6.             return null;
    7.         }
  7. at Labnodes\Database\Adapter\Pdo\Pgsql->fetchRow('SELECT … ument_manager.document_id', 'drtc')
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Labnodes/src/Community/Manager.php line 415
    1.                 LEFT JOIN document_manager
    2.                   ON community.photo_id = document_manager.document_id";
    3.  
    4.         return $db->fetchRow($sqlstrtolower($acronym));
    5.     }
    6.  
    7.     /**
  8. at Labnodes\Community\Manager->getCommunityByAcronym('drtc')
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Labnodes/view/drtc/index.phtml line 21
    1. $cm $this->getCommunityManager();
    2. $rm $this->getResourceManager();
    3.  
    4. $community $cm->getCommunityByAcronym('drtc');
    5.  
    6. $this->leaders $this->getAffiliationManager()
    7.     ->getOrderedLeadersByCommunityId($community['community_id']);
  9. at include('/app001/www/labnodes/prod … des/view/drtc/index.phtml')
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/View/Renderer/RenderView.php line 58
    1.  
    2.                 try {
    3.  
    4.                     include $this->path();
    5.  
    6.                     return ob_get_clean();
    7.  
  10. at Labnodes\View\Renderer\Renderer->Framework\View\Renderer\{closure}()
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/View/Renderer/RenderView.php line 74
    1.             $model
    2.         );
    3.  
    4.         return $render();
    5.     }
    6. }
  11. at Labnodes\View\Renderer\Renderer->__invoke([object Labnodes\View\View])
    in unknown
  12. at call_user_func_array([[object Labnodes\View\Renderer\Renderer], '__invoke'], [[object Labnodes\View\View]])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Service/Resolver/Signal.php line 83
    1.             $matched[] = null;
    2.         }
    3.  
    4.         return call_user_func_array($function ?: [$config$method], $params $matched $args);
    5.     }
    6. }
  13. at Framework\View\Render\Render->signal([object Labnodes\View\Renderer\Renderer], ['event' => [object Framework\View\Render\Render], 'model' => [object Labnodes\View\View]], [object Framework\View\Manager\Manager])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Service/Resolver/EventSignal.php line 31
    1.      */
    2.     public function __invoke(callable $callable, array $args = [], callable $callback null)
    3.     {
    4.         return $this->signal($callable$this->args() + $args$callback);
    5.     }
    6. }
  14. at Framework\View\Render\Render->__invoke([object Labnodes\View\Renderer\Renderer], [], [object Framework\View\Manager\Manager])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Event/Manager/Events.php line 48
    1.      */
    2.     protected function emit($event, callable $listener, array $args = [], callable $callback null)
    3.     {
    4.         return is_callable($event) ? $event($listener$args$callback) : $this->invoke($listener$args$callback);
    5.     }
    6. }
  15. at Framework\View\Manager\Manager->emit([object Framework\View\Render\Render], [object Labnodes\View\Renderer\Renderer], [], [object Framework\View\Manager\Manager])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Event/Generator/EventGenerator.php line 39
    1.  
    2.         foreach($this->queue($event) as $listener) {
    3.  
    4.             $result $this->emit($event$listener$args$callback);
    5.  
    6.             if ($event instanceof Event && $event->stopped()) {
    7.                 break;
  16. at Framework\View\Manager\Manager->generate([object Framework\View\Render\Render], [], [object Framework\View\Manager\Manager])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Event/Manager/ManageEvent.php line 56
    1.      */
    2.     public function trigger($event, array $args = [], callable $callback null)
    3.     {
    4.         return $this->generate($this->event($event), $args$callback);
    5.     }
    6. }
  17. at Framework\View\Manager\Manager->trigger(['View\\Render', [object Labnodes\View\View]], [], [object Framework\View\Manager\Manager])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/View/Manager/Manager.php line 40
    1.      */
    2.     public function render(ViewModel $model, array $args = [])
    3.     {
    4.         return $this->trigger([Render::VIEW$model], $args$this);
    5.     }
    6. }
  18. at Framework\View\Manager\Manager->render([object Labnodes\View\View])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/View/Manager/ManageView.php line 53
    1.      */
    2.     public function render(ViewModel $model)
    3.     {
    4.         return $this->vm->render($model);
    5.     }
    6.  
    7.     /**
  19. at Framework\Mvc\View\Renderer->render([object Labnodes\View\View])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Mvc/View/Renderer.php line 36
    1.  
    2.         try {
    3.  
    4.             $response->setContent($this->render($model));
    5.  
    6.         } catch(Exception $exception) {
    7.  
  20. at Framework\Mvc\View\Renderer->__invoke([object Labnodes\Response\HttpResponse], [object Labnodes\View\View])
    in unknown
  21. at call_user_func_array([[object Framework\Mvc\View\Renderer], '__invoke'], [[object Labnodes\Response\HttpResponse], [object Labnodes\View\View]])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Service/Resolver/Signal.php line 83
    1.             $matched[] = null;
    2.         }
    3.  
    4.         return call_user_func_array($function ?: [$config$method], $params $matched $args);
    5.     }
    6. }
  22. at Framework\Mvc\Mvc->signal([object Framework\Mvc\View\Renderer], ['event' => [object Framework\Mvc\Mvc], 'response' => [object Labnodes\Response\HttpResponse], 'route' => [object Framework\Route\Config], 'model' => [object Labnodes\View\View], 'controller' => [object Labnodes\Drtc\IndexController]], [object Labnodes\Application\App])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Mvc/Mvc.php line 47
    1.      */
    2.     public function __invoke(callable $callable, array $args = [], callable $callback null)
    3.     {
    4.         $response $this->signal($callable$this->args() + $args$callback);
    5.  
    6.         if ($response instanceof Route) {
    7.             $this->setRoute($response);
  23. at Framework\Mvc\Mvc->__invoke([object Framework\Mvc\View\Renderer], [], [object Labnodes\Application\App])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Event/Manager/Events.php line 48
    1.      */
    2.     protected function emit($event, callable $listener, array $args = [], callable $callback null)
    3.     {
    4.         return is_callable($event) ? $event($listener$args$callback) : $this->invoke($listener$args$callback);
    5.     }
    6. }
  24. at Labnodes\Application\App->emit([object Framework\Mvc\Mvc], [object Framework\Mvc\View\Renderer], [], [object Labnodes\Application\App])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Event/Generator/EventGenerator.php line 39
    1.  
    2.         foreach($this->queue($event) as $listener) {
    3.  
    4.             $result $this->emit($event$listener$args$callback);
    5.  
    6.             if ($event instanceof Event && $event->stopped()) {
    7.                 break;
  25. at Labnodes\Application\App->generate([object Framework\Mvc\Mvc], [], [object Labnodes\Application\App])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Event/Manager/ManageEvent.php line 56
    1.      */
    2.     public function trigger($event, array $args = [], callable $callback null)
    3.     {
    4.         return $this->generate($this->event($event), $args$callback);
    5.     }
    6. }
  26. at Labnodes\Application\App->trigger([object Framework\Mvc\Mvc], [], [object Labnodes\Application\App])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Framework/src/Service/Resolver/Resolver.php line 83
    1.         });
    2.  
    3.         if ($plugin instanceof Event) {
    4.             return $this->trigger($plugin$args$callback ?: $this);
    5.         }
    6.  
    7.         foreach($config as $name) {
  27. at Labnodes\Application\App->call('web', [], NULL)
    in _/app001/www/labnodes/production/tags/vri-2.6.1/src/Labnodes/src/Application/Web.php line 30
    1.      */
    2.     public function __invoke(array $args = [], callable $callback null)
    3.     {
    4.         return (new App($this->config))->call(self::WEB$args$callback);
    5.     }
    6. }
  28. at Labnodes\Application\Web->__invoke()
    in unknown
  29. at call_user_func([object Labnodes\Application\Web])
    in _/app001/www/labnodes/production/tags/vri-2.6.1/public/index.php line 21
    1. /**
    2.  *
    3.  */
    4. call_user_func(new Web(include __DIR__ '/../config/labnodes' APPLICATION_ENV_CONFIG_DIR '/application.php'));
    5.  
    6. /**
    7.  *

Version Information

PHP:
5.5.14
System:
Linux scb01lp 2.6.32-504.12.2.el6.x86_64 #1 SMP Sun Feb 1 12:14:02 EST 2015 x86_64