I just installed version 1.3of Omeka and downloaded the updated ExhibitBuilder plugin. When I try to browse my exhibits in the admin module, I see only one exhibit per page, two pages total. I have a total of 15 exhibits.
Has anyone else experienced this problem?
ExhibitBuilder 1.0 should always show you 10 exhibits per page.
Since you say it's only making two pages, it's likely that what's actually happening is that there is some error on the page that occurs after the first exhibit's row is displayed.
Can you try to see if there are any PHP errors on that page? We have instructions for doing so on the Codex.
Here is the listing from the error log:
2011-01-11T15:48:33-05:00 ERR (3): Could not find file 'exhibit_layouts/new-image-list-right/layout.css'!
#0 /var/www/html/omeka/application/helpers/AssetFunctions.php(206): web_path_to('exhibit_layouts...')
#1 /var/www/html/omeka/application/helpers/AssetFunctions.php(132): src('layout', 'exhibit_layouts...', 'css')
#2 /var/www/html/omeka/plugins/ExhibitBuilder/helpers/ExhibitFunctions.php(370): css('layout', 'exhibit_layouts...')
#3 /var/www/html/omeka/plugins/ExhibitBuilder/plugin.php(235): exhibit_builder_layout_css()
#4 [internal function]: exhibit_builder_public_header(Object(Zend_Controller_Request_Http))
#5 /var/www/html/omeka/application/libraries/Omeka/Plugin/Broker.php(149): call_user_func_array('exhibit_builder...', Array)
#6 /var/www/html/omeka/application/libraries/Omeka/Plugin/Broker.php(175): Omeka_Plugin_Broker->callHook('public_theme_he...', Array)
#7 [internal function]: Omeka_Plugin_Broker->__call('public_theme_he...', Array)
#8 [internal function]: Omeka_Plugin_Broker->public_theme_header(Object(Zend_Controller_Request_Http))
#9 /var/www/html/omeka/application/libraries/globals.php(198): call_user_func_array(Array, Array)
#10 /var/www/html/omeka/application/helpers/PluginFunctions.php(157): fire_plugin_hook('public_theme_he...', Object(Zend_Controller_Request_Http))
#11 /var/www/html/omeka/themes/santa-fe/common/header.php(50): plugin_header()
#12 /var/www/html/omeka/application/libraries/Omeka/View.php(112): include('/var/www/html/o...')
#13 /var/www/html/omeka/application/libraries/Zend/View/Abstract.php(831): Omeka_View->_run('/var/www/html/o...')
#14 /var/www/html/omeka/application/libraries/Zend/View/Helper/Partial.php(103): Zend_View_Abstract->render('common/header.p...')
#15 [internal function]: Zend_View_Helper_Partial->partial('common/header.p...', Array)
#16 /var/www/html/omeka/application/libraries/Zend/View/Abstract.php(340): call_user_func_array(Array, Array)
#17 [internal function]: Zend_View_Abstract->__call('partial', Array)
#18 /var/www/html/omeka/application/helpers/Functions.php(55): Omeka_View->partial('common/header.p...', Array)
#19 /var/www/html/omeka/application/helpers/Functions.php(68): common('header', Array)
#20 /var/www/html/omeka/plugins/ExhibitBuilder/views/public/exhibits/show.php(1): head(Array)
#21 /var/www/html/omeka/application/libraries/Omeka/View.php(112): include('/var/www/html/o...')
#22 /var/www/html/omeka/application/libraries/Zend/View/Abstract.php(831): Omeka_View->_run('/var/www/html/o...')
#23 /var/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(903): Zend_View_Abstract->render('exhibits/show.p...')
#24 /var/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(924): Zend_Controller_Action_Helper_ViewRenderer->renderScript('exhibits/show.p...', NULL)
#25 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(212): Zend_Controller_Action_Helper_ViewRenderer->render('show', NULL, false)
#26 /var/www/html/omeka/plugins/ExhibitBuilder/controllers/ExhibitsController.php(192): Zend_Controller_Action->render('show')
#27 /var/www/html/omeka/plugins/ExhibitBuilder/controllers/ExhibitsController.php(146): ExhibitBuilder_ExhibitsController->renderExhibit(Array)
#28 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(513): ExhibitBuilder_ExhibitsController->showAction()
#29 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('showAction')
#30 /var/www/html/omeka/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#31 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#32 /var/www/html/omeka/application/libraries/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#33 /var/www/html/omeka/application/libraries/Omeka/Core.php(157): Zend_Application->run()
#34 /var/www/html/omeka/index.php(30): Omeka_Core->run()
I have copied new-image-list-right/layout.css to the the file exhibit_layouts directory.
Thanks for your help.
After sending the above error report, I suspect that it relates to a previous error, which related to the display of specific exhibit pages, and not to my current problem. It doesn't appear that any errors are generated, but the admin exhibit browse page is not rendering correctly.
Here is a link to what the screen looks like. As you can see, only the last exhibit is listed:
Another thing I notice is: that page appears to be displaying without images. There should be an image by the "Add Exhibit" button, by the Edit link...
Do your other admin pages look similar to this one?
Just to be sure, did you also do the "display_errors" step in the link I posted above? Some errors don't appear in the Omeka error log, but are instead printed directly to the page, as long as "display_errors" is enabled in your .htaccess.
This still looks like a PHP error occurring when this page is displayed.
I just did the "display_errors" step. Here is the error message:
Fatal error: Call to undefined function delete_button() in /var/www/html/omeka/plugins/ExhibitBuilder/views/admin/exhibits/browse.php on line 69
delete_button function was added in Omeka 1.3, and if you're running Omeka 1.3, you shouldn't see this error.
It seems you had some problem when unzipping or uploading Omeka 1.3, and some files got omitted.
Make sure that you included all the files in the zip when you upgraded Omeka.
You shouldn't have to actually re-install version 1.3, but you should replace your Omeka files with a clean, newly-unzipped copy.
You generally want to follow the upgrade instructions on the Codex.
Although, please note: if the
application/helpers/FormFunctions.php file was a file that you had previously modified and then copied over to your upgraded installation, that would explain this problem you're seeing.
I had modified the FormFunctions.php file. I have replaced this file that contained in Omeka 1.3 and the problem is resolved.