Closed koumts closed 5 years ago
Any update?
I did install the latest omeka 2.6.1 and i did something similar. The url is http://diogeneia.library.upatras.gr/items/play/701
and on chrome i am getting the following. Apparently the image is not loaded. Any suggestion is much appreciated.
bundle.min.js:4 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (
thanks Regards K
If i get a trace i can see the following on the header
150.140.152.107 - - [08/Oct/2018:10:47:47 +0300] "GET /plugins/UniversalViewer/views/shared/javascripts/uv/lib/bundle.min.js HTTP/1.1" 200 345939 "http://diogeneia.library.upatras.gr/plugins/UniversalViewer/views/shared/javascripts/uv/app.html?isHomeDomain=true&isOnlyInstance=true&manifestUri=%CE%93%CE%B9%CE%AC%CE%BD%CE%BD%CE%B7%CF%82%20%CE%94%CE%B7%CE%BC%CE%B1%CE%BA%CF%8C%CF%80%CE%BF%CF%85%CE%BB%CE%BF%CF%82%2C%20%CE%9A%CE%B1%CE%B8%CE%B7%CE%B3%CE%B7%CF%84%CE%AE%CF%82%20%CE%A4%CE%BC%CE%AE%CE%BC%CE%B1%CF%84%CE%BF%CF%82%20%CE%A7%CE%B7%CE%BC%CE%B9%CE%BA%CF%8E%CE%BD%20%CE%9C%CE%B7%CF%87%CE%B1%CE%BD%CE%B9%CE%BA%CF%8E%CE%BD&embedScriptUri=http://diogeneia.library.upatras.gr/plugins/UniversalViewer/views/shared/javascripts/uv/lib/embed.js&embedDomain=diogeneia.library.upatras.gr&domain=diogeneia.library.upatras.gr&isLightbox=false&locale=en-GB:English%20(GB),fr:French&config=/plugins/UniversalViewer/views/public/universal-viewer/config.json&xdm_e=http%3A%2F%2Fdiogeneia.library.upatras.gr%2Fitems%2Fplay%2F701&xdm_c=default5555&xdm_p=4" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"
Should it be an issue with locale/encoding?
thanks regards K.
I further troubleshoot this and i am getting the following once i request the manifest file.
2018-10-08T14:05:08+00:00 ERR (3): exception 'Exception' with message 'Failed to get resolution of image #29947 ("https://library.upatras.gr/diogeneia2/omeka-2.6.1/files/thumbnails/a948e7b90694e93a3bb31579049a73d7.jpg").' in /var/www/html/diogeneia2/omeka-2.6.1/plugins/UniversalViewer/views/helpers/IiifManifest.php:988 Stack trace:
it seems that the plugin is not able to get the resolution of image. Any idea? thanks
Yes, you find the issue. Have you php extensions exif, gd or imagemagick installed on your server?
This issue was related to the server.
Hello
I have installed the latest version on Omeka 2.4.1 and on all items/collections, i am getting a black box. For example http://diogeneia.library.upatras.gr/items/play/701
The chrome console returns the following:
701:144 Uncaught TypeError: Omeka.dropDown is not a function at HTMLDocument. (701:144)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
(anonymous) @ 701:144
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
bundle.min.js:4 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 1
at JSON.parse ()
at Function.Deserialiser.parse (bundle.min.js:4)
at Object.create (bundle.min.js:5)
at Bootstrapper._loaded (bundle.min.js:9)
at bundle.min.js:9
Could you please help me?
thanks Regards K