My site has a number of exhibits that used customized themes designed by students, based on the Basic Theme. When I upgraded the site to 1.4.1, they all broke with an "Omeka has encountered an error message."
I tried to turn on the error messages, but I don't seem able to edit the config.ini file per the web instructions at http://omeka.org/codex/Retrieving_error_messages I'm not seeing the debug.exceptions line to change.
For the time being I edited most of them to use the default theme, but I wanted the work that they did on their themes to remain viewable.
Thanks for any help you have!
That line should be in your
If you don't have a
debug.exceptions line in that file, you can add one:
debug.exceptions = true
Without seeing the specific error, it's pretty much impossible to tell what's going wrong. Sharing the exhibits show.php from one of the themes that's no longer working could potentially help, though.
Hmm. I got the errors to show:
Exception: Could not find file 'css/print.css'!
The backtrace is viewable at:
Here is the show.php from that exhibit's theme. I don't see a css/print.css file in that theme's directory.
<?php exhibit_builder_exhibit_head(array('bodyclass' => 'exhibits')); ?>
<h2><?php echo html_escape($page->title); ?></h2>
<div class="previous"><?php echo exhibit_builder_link_to_previous_exhibit_page(); ?></div>
<div class="next"><?php echo exhibit_builder_link_to_next_exhibit_page(); ?></div>
<?php exhibit_builder_render_exhibit_page(); ?>
<?php exhibit_builder_exhibit_foot(); ?>
The offending line is number 2 in your backtrace:
Since you're seeing this problem, I'm assuming your themes don't actually contain 'css/print.css' files, so you should be able to just remove that line. If there is a print stylesheet you intended to have for those themes, you could include it in the 'css' folder.
Thanks! I have fixed them all.