Hi all,
I’m working on getting a site up (at http://projectdaps.org/) and I’m encountering an issue. This is my first time working on a self-hosted Omeka site, rather than omeka.net, so I’m still feeling my way through this.
Which is to say: this is likely a stupid question, and I apologize in advance.
When I have the COinS plugin activated, clicking on “Browse Collections” gives me the following error message:
exception ‘Omeka_View_Exception’ with message ‘A current item variable has not been set to this view.’ in /home/projectd/public_html/application/views/helpers/GetCurrentRecord.php:27
Stack trace:
#0 [internal function]: Omeka_View_Helper_GetCurrentRecord->getCurrentRecord(‘item’, true)
#1 /home/projectd/public_html/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#2 /home/projectd/public_html/application/libraries/globals.php(1854): Zend_View_Abstract->__call(‘getCurrentRecor…’, Array)
#3 /home/projectd/public_html/application/libraries/globals.php(1854): Omeka_View->getCurrentRecord(‘item’, true)
#4 /home/projectd/public_html/plugins/Coins/CoinsPlugin.php(44): get_current_record(‘item’)
#5 [internal function]: CoinsPlugin->hookPublicItemsBrowseEach(Array)
#6 /home/projectd/public_html/application/libraries/Omeka/Plugin/Broker.php(157): call_user_func(Array, Array)
#7 /home/projectd/public_html/application/libraries/globals.php(188): Omeka_Plugin_Broker->callHook(‘public_items_br…’, Array)
#8 /home/projectd/public_html/themes/PDAPS/collections/browse.php(46): fire_plugin_hook(‘public_items_br…’, Array)
#9 /home/projectd/public_html/application/libraries/Omeka/View.php(117): include(’/home/projectd/…’)
#10 /home/projectd/public_html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run(’/home/projectd/…’)
#11 /home/projectd/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(‘collections/bro…’)
#12 /home/projectd/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript(‘collections/bro…’, NULL)
#13 /home/projectd/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /home/projectd/public_html/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /home/projectd/public_html/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /home/projectd/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘browseAction’)
#17 /home/projectd/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /home/projectd/public_html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#19 /home/projectd/public_html/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#20 /home/projectd/public_html/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#21 /home/projectd/public_html/index.php(23): Omeka_Application->run()
#22 {main}
I’ve figured out that turning COinS off makes “browse collections” work fine, but I’m having trouble figuring out what to do to make COinS play well with the site.
Any advice or guidance?