Hello Demian,

 

Thanks for following on this issue.

 

Here is the error log saying "connection error"

 


Warning: mysqli::real_connect(): (HY000/1049): Unknown database 'vufind' in C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\Adapter\Driver\Mysqli\Connection.php on line 203

An error has occurred

An error occurred during execution; please try again later.

Please contact the Library Reference Department for assistance
support@myuniversity.edu

Exception:

Message: Connection error

Backtrace:

#0 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\Adapter\Driver\Mysqli\Mysqli.php(205): Zend\Db\Adapter\Driver\Mysqli\Connection->connect()
#1 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\Sql\Sql.php(120): Zend\Db\Adapter\Driver\Mysqli\Mysqli->createStatement()
#2 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\TableGateway\AbstractTableGateway.php(232): Zend\Db\Sql\Sql->prepareStatementForSqlObject(Object(Zend\Db\Sql\Select))
#3 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\TableGateway\AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select))
#4 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\TableGateway\AbstractTableGateway.php(195): Zend\Db\TableGateway\AbstractTableGateway->selectWith(Object(Zend\Db\Sql\Select))
#5 C:\vufind\module\VuFind\src\VuFind\Db\Table\Search.php(80): Zend\Db\TableGateway\AbstractTableGateway->select(Object(Closure))
#6 C:\vufind\module\VuFind\src\VuFind\Controller\AbstractSearch.php(229): VuFind\Db\Table\Search->getSearches('0jupb88s9t7hm9t...', NULL)
#7 C:\vufind\module\VuFind\src\VuFind\Controller\SummonController.php(126): VuFind\Controller\AbstractSearch->resultsAction()
#8 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\Controller\AbstractActionController.php(83): VuFind\Controller\SummonController->searchAction()
#9 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\Controller\AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#14 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#15 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#16 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#17 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#18 C:\vufind\public\index.php(59): Zend\Mvc\Application->run()
#19 {main}  

Previous exceptions:

Zend\Db\Adapter\Exception\ErrorException

Unknown database 'vufind'

#0 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\Adapter\Driver\Mysqli\Mysqli.php(205): Zend\Db\Adapter\Driver\Mysqli\Connection->connect()
#1 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\Sql\Sql.php(120): Zend\Db\Adapter\Driver\Mysqli\Mysqli->createStatement()
#2 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\TableGateway\AbstractTableGateway.php(232): Zend\Db\Sql\Sql->prepareStatementForSqlObject(Object(Zend\Db\Sql\Select))
#3 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\TableGateway\AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select))
#4 C:\vufind\vendor\zendframework\zendframework\library\Zend\Db\TableGateway\AbstractTableGateway.php(195): Zend\Db\TableGateway\AbstractTableGateway->selectWith(Object(Zend\Db\Sql\Select))
#5 C:\vufind\module\VuFind\src\VuFind\Db\Table\Search.php(80): Zend\Db\TableGateway\AbstractTableGateway->select(Object(Closure))
#6 C:\vufind\module\VuFind\src\VuFind\Controller\AbstractSearch.php(229): VuFind\Db\Table\Search->getSearches('0jupb88s9t7hm9t...', NULL)
#7 C:\vufind\module\VuFind\src\VuFind\Controller\SummonController.php(126): VuFind\Controller\AbstractSearch->resultsAction()
#8 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\Controller\AbstractActionController.php(83): VuFind\Controller\SummonController->searchAction()
#9 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\Controller\AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#14 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#15 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#16 C:\vufind\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#17 C:\vufind\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#18 C:\vufind\public\index.php(59): Zend\Mvc\Application->run()
#19 {main}

 

.
안녕하세요.

 

-----Original Message-----
From: "Demian Katz"<demian.katz@villanova.edu>
To: "이장호"<jjjanghop@naver.com>; "vufind-general@lists.sourceforge.net"<vufind-general@lists.sourceforge.net>;
Cc:
Sent: 2013-08-14 (수) 21:20:43
Subject: RE: [VuFind-General] To Activate Summon module

You may find it helpful to turn on development mode (by uncommenting the development line in httpd-vufind.conf and restarting Apache).  This will provide a more detailed error message that may help you with troubleshooting.  Perhaps there is a problem with your Summon credentials.  If you are not sure how to interpret the expanded error message, feel free to share it here.

 

- Demian

 

From: 이장호 [mailto:jjjanghop@naver.com]
Sent: Wednesday, August 14, 2013 6:51 AM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] To Activate Summon module

 

 

Hello,

 

The version of vufind: vufind-2.0.1

OS: Window

 

I am looking for someone who can help me implement Summon module.

 

I am interested in using Summon as a search engine. I don’t need Solr.

 

As described in http://vufind.org/wiki/connecting_to_third-party_content?s[]=summon, I uncommented [Summon] section of config.ini in local folder( I set all to default ).

 

Like this:

[Summon]

apiId        = "xxxxxxxx"

apiKey       = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

 

After this, I expected something happens in http://localhost/vufind/summon/home but, nothing happen like the attachment. Just an error has occurred.

 

Do I have to do anything else?

 

 

.
안녕하세요.