Hi folks:
Here’s an example–
https://specialcollections.raynordslab.org/om/s/gps/media/784
We’re using theme centerrow.
Thanks for any help/ideas!
Seems related to this at Omeka Classic, but doesn’t seem to map to Omeka S, IDK–
Cheers all,
Max
Hi folks:
Here’s an example–
https://specialcollections.raynordslab.org/om/s/gps/media/784
We’re using theme centerrow.
Thanks for any help/ideas!
Seems related to this at Omeka Classic, but doesn’t seem to map to Omeka S, IDK–
Cheers all,
Max
The problem here is that browsers generally can’t display TIFFs natively.
This is going to boil down to a theme issue: the theme shouldn’t be choosing to try to display a TIFF in this way, instead linking to it or using the generated JPEG thumbnails.
Which versions of Omeka S and of Center Row are you using?
Hi there!
Version of Omeka S looks like 3.2.0. & version of Center Row 1.7.4. Thank you for your help here!
Cheers,
Max
This issue should be resolved in the latest version of Center Row, 1.8.0. Let us know if the issue persists after updating.
Another note: upgrading to Center Row 1.8.0 requires the latest version of Omeka S, 4.0.0.
Fabulous!
Thank you very much for this info!
Cheers all,
Max
Hi again folks:
So we updated the app & theme. & things are looking good, but not when we try to view individual item pages, like here: https://specialcollections.raynordslab.org/om/s/gps/item/256. Complete error message here below. When we updated the app, we replaced the application & vendor directories & all solo files at primary directory like index.php with the new directories/files from the new version. We didn’t replace the config, files, logs, modules, or themes directories. Do we need to replace some of them too? Thank you!
Cheers all,
Max
Error message–
TypeError
Omeka\Api\Representation\AbstractResourceEntityRepresentation::displaySubjectValues(): Argument #1 ($options) must be of type array, int given, called in /home/raynords/specialcollections.raynordslab.org/om/themes/centerrow/view/omeka/site/item/show.phtml on line 55
Details:
TypeError: Omeka\Api\Representation\AbstractResourceEntityRepresentation::displaySubjectValues(): Argument #1 ($options) must be of type array, int given, called in /home/raynords/specialcollections.raynordslab.org/om/themes/centerrow/view/omeka/site/item/show.phtml on line 55 and defined in /home/raynords/specialcollections.raynordslab.org/om/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:523 Stack trace: #0 /home/raynords/specialcollections.raynordslab.org/om/themes/centerrow/view/omeka/site/item/show.phtml(55): Omeka\Api\Representation\AbstractResourceEntityRepresentation->displaySubjectValues(1, 25, NULL) #1 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(519): include(‘/home/raynords/…’) #2 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-view/src/View.php(194): Laminas\View\Renderer\PhpRenderer->render(NULL) #3 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-view/src/View.php(222): Laminas\View\View->render(Object(Laminas\View\Model\ViewModel)) #4 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-view/src/View.php(187): Laminas\View\View->renderChildren(Object(Laminas\View\Model\ViewModel)) #5 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(98): Laminas\View\View->render(Object(Laminas\View\Model\ViewModel)) #6 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Laminas\Mvc\MvcEvent)) #7 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-eventmanager/src/EventManager.php(171): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent)) #8 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-mvc/src/Application.php(360): Laminas\EventManager\EventManager->triggerEvent(Object(Laminas\Mvc\MvcEvent)) #9 /home/raynords/specialcollections.raynordslab.org/om/vendor/laminas/laminas-mvc/src/Application.php(341): Laminas\Mvc\Application->completeRequest(Object(Laminas\Mvc\MvcEvent)) #10 /home/raynords/specialcollections.raynordslab.org/om/index.php(21): Laminas\Mvc\Application->run() #11 {main}
This error indicates that you have an old view/omeka/site/item/show.phtml file in your “centerrow” theme folder.
If your intent is to have a “stock” unchanged copy of the theme, and you just dropped the new files on top of the old ones for the theme, you’d have this problem.
To avoid it, what you’d want to do is erase (or move away) the themes/centerrow folder entirely, then upload the new one, so there aren’t any old copies of files from the old theme left around. Of course, if you’ve modified the theme and want to keep those modifications, then you’d have to do things a little differently.
Success!
Many thanks, jflatnes!
Cheers,
Max