-
Notifications
You must be signed in to change notification settings - Fork 11
Omeka 3.1.2 incompatible? #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am sorry to hear that the plugin is not running properly. To start, what is the PHP version on your instance? |
* here's more than you'd ever want to know about our instance. Thanks for the note!
…________________________________
From: Dickson Law ***@***.***>
Sent: Monday, March 4, 2024 3:36 PM
To: utlib/IiifItems ***@***.***>
Cc: Brian Stevens ***@***.***>; Author ***@***.***>
Subject: Re: [utlib/IiifItems] Omeka 3.1.2 incompatible? (Issue #28)
Please be cautious
This email was sent from outside of your organization
________________________________
I am sorry to hear that the plugin is not running properly. To start, what is the PHP version on your instance?
—
Reply to this email directly, view it on GitHub<#28 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAC46DIFRNRKKCSEOJF3GULYWTLLBAVCNFSM6AAAAABEB35PUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZXGQYDSNZQGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I am not able to see the information in the email or on GitHub. Please try posting it in plain text form. |
Omeka | 3.1.2 Regular | apache2handler, calendar, Core, ctype, date, dom, exif, FFI, fileinfo, filter, ftp, gettext, hash, iconv, json, libxml, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zlib ArchiveRepertory | 2.15.8 avantgarde | 1 |
I tried replicating your Omeka (3.1.2), PHP (8.0.29), and MySQL (8.0.36) on a local Docker Compose setup, but I could not produce any errors from installing or uninstalling IIIF Toolkit 1.1.0. Your plugin listing is also missing Here is the Docker Compose setup that I used: iiifitems-github28.zip You can set it up with |
Here's what I have from my notes. See the Omeka forum for more information: https://forum.omeka.org/t/corrupted-iiif-toolkit-plugin/19267
[Thursday 1:56 PM] Brian Stevens
Fatal error: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Migration/0_0_1_7.php:17 Stack trace: #0 /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Migration/0_0_1_7.php(17): join() #1 /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Integration/System.php(68): IiifItems_Migration_0_0_1_7->up() #2 /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Integration/System.php(21): IiifItems_Integration_System->__addMediaPlaceholders() #3 /var/www/html/omeka/plugins/IiifItems/IiifItemsPlugin.php(44): IiifItems_Integration_System->install() #4 /var/www/html/omeka/application/libraries/Omeka/Plugin/Broker.php(142): IiifItemsPlugin->hookInstall() #5 /var/www/html/omeka/application/libraries/Omeka/Plugin/Installer.php(126): Omeka_Plugin_Broker->callHook() #6 /var/www/html/omeka/application/controllers/PluginsController.php(100): Omeka_Plugin_Installer->install() #7 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): PluginsController->installAction() #8 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch() #9 /var/www/html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch() #10 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(106): Zend_Controller_Front->dispatch() #11 /var/www/html/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #12 /var/www/html/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run() #13 /var/www/html/omeka/admin/index.php(28): Omeka_Application->run() #14 {main} thrown in /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Migration/0_0_1_7.php on line 17
And...
[Thursday 11:42 AM] Stacy Haponik
[Thu Feb 29 11:34:37.782906 2024] [php:warn] [pid 2839296] [client 10.144.25.41:28401] PHP Warning: compact(): Undefined variable $linkProps in /var/www/html/omeka/themes/hvd-dh-omeka-theme-master/exhibit-builder/exhibit_layouts/gallery/layout.php on line 38, referer: https://www.google.com/
[Thu Feb 29 11:36:31.214610 2024] [php:error] [pid 2839870] [client 10.128.25.241:49987] PHP Fatal error: Uncaught Error: Call to a member function delete() on null in /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Integration/Files.php:38\nStack trace:\n#0 /var/www/html/omeka/plugins/IiifItems/IiifItemsPlugin.php(57): IiifItems_Integration_Files->uninstall()\n#1 /var/www/html/omeka/application/libraries/Omeka/Plugin/Broker.php(142): IiifItemsPlugin->hookUninstall()\n#2 /var/www/html/omeka/application/libraries/Omeka/Plugin/Installer.php(152): Omeka_Plugin_Broker->callHook()\n#3 /var/www/html/omeka/application/controllers/PluginsController.php(334): Omeka_Plugin_Installer->uninstall()\n#4 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): PluginsController->uninstallAction()\n#5 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()\n#6 /var/www/html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()\n#7 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(106): Zend_Controller_Front->dispatch()\n#8 /var/www/html/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#9 /var/www/html/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run()\n#10 /var/www/html/omeka/admin/index.php(28): Omeka_Application->run()\n#11 {main}\n thrown in /var/www/html/omeka/plugins/IiifItems/libraries/IiifItems/Integration/Files.php on line 38, referer: https://archives.library.wcsu.edu/omeka/admin/plugins/uninstall
[Thu Feb 29 11:39:52.663672 2024] [php:warn] [pid 2840843] [client 10.144.25.41:36898] PHP Warning: compact(): Undefined variable $linkProps in /var/www/
…________________________________
From: Dickson Law ***@***.***>
Sent: Tuesday, March 5, 2024 1:19 PM
To: utlib/IiifItems ***@***.***>
Cc: Brian Stevens ***@***.***>; Author ***@***.***>
Subject: Re: [utlib/IiifItems] Omeka 3.1.2 incompatible? (Issue #28)
Please be cautious
This email was sent from outside of your organization
________________________________
I tried replicating your Omeka (3.1.2), PHP (8.0.29), and MySQL (8.0.36) on a local Docker Compose setup, but I could not produce any errors from installing or uninstalling IIIF Toolkit 1.1.0. Your plugin listing is also missing IiifItems, which should be there if IIIF Toolkit is present (unless you explicitly deleted it at the file level). Do you have any logged error messages from when you first encountered the HTTP 500 errors?
Here is the Docker Compose setup that I used: iiifitems-github28.zip<https://github.com/utlib/IiifItems/files/14499677/iiifitems-github28.zip>
You can set it up with ./setup.sh, then run it with docker compose up -d.
—
Reply to this email directly, view it on GitHub<#28 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAC46DJST5NUXFCH2IRQNX3YWYEEHAVCNFSM6AAAAABEB35PUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGM3TIMRUHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The first issue should be resolved by this upcoming commit: 2f2c37e I will look into the uninstall routines of the plugin to make it more defensive in case of an installation error. Among other changes, I will aim for a versioned update as soon as I can. |
The defensive uninstall routines are in: c43a532 If you don't mind testing it out on your setup, please download the current |
That worked!
https://archives.library.wcsu.edu/omeka/items/show/7874
Thanks very much. When you release a new version, will you post in the Omeka forum? if not, I will.
…________________________________
From: Dickson Law ***@***.***>
Sent: Wednesday, March 6, 2024 3:48 PM
To: utlib/IiifItems ***@***.***>
Cc: Brian Stevens ***@***.***>; Mention ***@***.***>
Subject: Re: [utlib/IiifItems] Omeka 3.1.2 incompatible? (Issue #28)
Please be cautious
This email was sent from outside of your organization
________________________________
@StevensBrian<https://github.com/StevensBrian>
The defensive uninstall routines are in: c43a532<c43a532>
If you don't mind testing it out on your setup, please download the current master branch, and let me know if the issues that you described persist.
—
Reply to this email directly, view it on GitHub<#28 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAC46DJ3KBOCOW3WEIOTD7LYW56IPAVCNFSM6AAAAABEB35PUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRG42TINJSGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I am glad to hear that the patched setup works for you. My colleagues at work would like to test this on some existing setups before moving forward with the 1.2.0 patch release. Please feel free to post on the Omeka forums about it. |
Just tested it (b391715) on Omeka v3.1.2 with PHP 8.2.19 and it works for some (Among other examples, the one from the wiki https://iiif.harvardartmuseums.org/manifests/object/320567). But we have another instance (same version) where the same example just instant failed. |
When we first installed the IIIF plugin, we got a 500 error, but when refreshing the plugin showed up among the installed Omeka plugins. When using the plugin, there were many errors thrown, and the embed wasn't displaying, so I decided to just uninstall it from the server end and reinstall it. It won't uninstall and throws the 500 error, and when activated, items/collections won't open on the public side. The Omeka folks sent me here. Note that we successfully installed the IIIF tookit and toolkit embed on our test server that runs a previous version of Omeka classic (3.0.3). Our problems came when we tried to implement it on our production server running 3.1.2.
The text was updated successfully, but these errors were encountered: