Exhibit Builder page medata returns "no layout.gif" error

This has happened twice and I uninstalled an reinstalled Exhibit Builder and it resolved. Now it's back.

When I go to add a page or view page metadata in order to change the layout of an existing page, I get:
Error:Could not find file 'exhibit_layouts//layout.gif'!

I'm not exactly sure. Is this on your local machine?

Are you seeing thumbnail images of any of the page layouts?

Each of the exhibit layouts has a layout.gif which is that thumbnail drawing of the layout of that page template. I'm not sure why the installation isn't finding that file.

Can you check to see if you have a layout.gif for each of the layouts found in the plugin's directory: yourinstallation/plugins/ExhibitBuilder/views/shared/exhibit_layouts/gallery-full-left/)? (Check for all of the layouts there.)

Then, you can copy those missing files into your server installation from the downloaded zip of the Exhibit Builder.

thanks, Sheila, but that's not it. All the gifs are there. It seems like the php is not passing the information about *which* directory has the layout.gif in it. Any other suggestions?

Tanya, you've stumped me.

Do you have PHP v. 5.2.4 or higher?

It could be something with the configuration of your MAMP, but that isn't something that support. Others who have it running, though, might be able to help.

Anyone else out there run into this issue running Exhibit Builder on their MAMP?

I too am having problems of this sort. I thought perhaps it was an invalid path; however, a new install of Omeka 1.3 didn't solve the issue; but changed it from

it being unable to find

(with the double slash)


Could not find file 'exhibit_layouts/layout/layout.gif'!

(and that's a direct quote)

this really looks like a bad path somewhere; but I'm unable to get this working. Going to try reinstalling again.

Could you post the results of running the command ls -a in your Exhibit Builder exhibit_layouts directory?

I think this problem might be resulting from having a stray directory or file in that folder.


This is the information collected on php debug

exception 'Exception' with message 'Could not find file 'exhibit_layouts/layout/layout.gif'!' in /var/www/sara_testing/omeka/application/helpers/AssetFunctions.php:246
Stack trace:
#0 /var/www/sara_testing/omeka/plugins/ExhibitBuilder/helpers/ExhibitFunctions.php(329): web_path_to('exhibit_layouts...')
#1 /var/www/sara_testing/omeka/plugins/ExhibitBuilder/views/admin/exhibits/page-metadata-form.php(72): exhibit_builder_exhibit_layout('layout')
#2 /var/www/sara_testing/omeka/application/libraries/Omeka/View.php(112): include('/var/www/sara_t...')
#3 /var/www/sara_testing/omeka/application/libraries/Zend/View/Abstract.php(831): Omeka_View->_run('/var/www/sara_t...')
#4 /var/www/sara_testing/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(903): Zend_View_Abstract->render('exhibits/page-m...')
#5 /var/www/sara_testing/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(924): Zend_Controller_Action_Helper_ViewRenderer->renderScript('exhibits/page-m...', NULL)
#6 /var/www/sara_testing/omeka/application/libraries/Zend/Controller/Action.php(212): Zend_Controller_Action_Helper_ViewRenderer->render('page-metadata-f...', NULL, false)
#7 /var/www/sara_testing/omeka/plugins/ExhibitBuilder/controllers/ExhibitsController.php(481): Zend_Controller_Action->render('page-metadata-f...')
#8 /var/www/sara_testing/omeka/application/libraries/Zend/Controller/Action.php(513): ExhibitBuilder_ExhibitsController->addPageAction()
#9 /var/www/sara_testing/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('addPageAction')
#10 /var/www/sara_testing/omeka/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /var/www/sara_testing/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#12 /var/www/sara_testing/omeka/application/libraries/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#13 /var/www/sara_testing/omeka/application/libraries/Omeka/Core.php(157): Zend_Application->run()
#14 /var/www/sara_testing/omeka/admin/index.php(42): Omeka_Core->run()
#15 {main}


Been trying to make this work for a while now...

escondido:/var/www/sara_testing/omeka/plugins/ExhibitBuilder/views/shared/exhibit_layouts# ls -a
. ._gallery-thumbnails ._image-list-left ._image-list-right-thumbs ._text-image-right
.. gallery-thumbnails image-list-left image-list-right-thumbs text-image-right
._gallery-full-left ._gallery-thumbnails-text-bottom ._image-list-left-thumbs text
gallery-full-left gallery-thumbnails-text-bottom image-list-left-thumbs ._text
._gallery-full-right ._gallery-thumbnails-text-top ._image-list-right ._text-image-left
gallery-full-right gallery-thumbnails-text-top image-list-right text-image-left

Those folders you have listed there that start with a dot are the problem. ExhibitBuilder is fairly sensitive to the contents of that directory.

The easiest way to fix this would probably be to delete your ExhibitBuilder directory (or just the exhibit_layouts folder), and unzip a fresh copy of the plugin.

None of those folders with the dots and underscores should be there.

disclosure as well, my mucking about has involved symlinking layout to gallery-full-left, because something to that extent was mentioned above.

I also tried copying layout.gif to the exhibit_layouts folder. I just removed them before I did that ls -a...

in case that helps.

Thanks! That did the trick!