This module worked for me last year when I created a resource template to auto-suggest options for property fields such as a Language, Subject and Rights. But this year, it no longer works as intended.
I tried a couple different troubleshooting options:
updating versions, modules and themes (Omeka-S version: 4.1.1, Value Suggest version: 1.17.1, Theme: Thanks, Roy version 1.2.2 )
deactivating modules such as CSV Import and IIIF server
upgrading PHP to 8.3
and following the suggestions of that old post linked above
I also contacted Reclaim Hosting for additional support and they tried the following:
disabling the IIIF server by changing the name of the folder in the modules folder
checking the box next to Disable file validation to allow all MIME types
So far, nothing has worked. Anyone have other advice or solutions I should try? Right now, I have just removed the Value Suggest data type and used Text + URI instead.
What Value Suggest data types are you trying to use? It could be a problem with the service. Open the console in your browser’s development tools and try getting a suggestion. Are there any errors?
For language, LC: ISO639-2 Languages
For subject, LC: Subject Heading
For rights, RightsStatements.org: Rights statements for online cultural heritage
For Spatial coverage, Geonames: The GeoNames geographical database
When checking the console, the following error appears:
valuesuggest.js:1 Failed to load resource: the server responded with a status of 404 ()Understand this error
add:1 Refused to execute script from '.../modules/ValueSuggest/asset/js/valuesuggest.js?v=1.20.0' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
I can’t reproduce the error, and it’s not one I’ve seen before with this module. The server is returning a 404 Not Found page instead of JavaScript when requesting modules/ValueSuggest/asset/js/valuesuggest.js. Is it possible that file is missing?