OHMS xml file not loading in cachefile directory

We are using Omeka 2.7.1 and have installed the OHMS Viewer as well as the plugins OHMSImport and OHMSObject.

We can successfully import the zipped OHMS xml sample file from the UKentucky site, but only the metadata imports: the sample XML file does not load into the cachefile directory. When we manually add the xml file into the cachefile directory, everything works perfectly (video and transcription show in the viewer), so we are pretty sure of the repository name and the path.

Our Apache logs show the following error:

AH01071: Got error ‘PHP message: PHP Notice: Undefined variable: mediaurl in /data/rbscp/plugins/OhmsImport/controllers/IndexController.php on line 127\n’, referer: https://rbscpexhibitsdev.lib.rochester.edu/admin/ohms-import

Environment:
Ubuntu 18.04
Apache 2.4
Php 7.2
Omeka 2.7.1
OHMS Viewer 3.8.3

Hoping someone can point out if we’ve missed a step–we seem so close!
Thanks–

Hello,

What you are describing is how the OHMS xml import works. It offers a rapid process for getting your basic OHMS metadata into Omeka via OHMS xml. However, it does not manage the cachefile directory for your OHMS Viewer install. That is set in the OHMS Viewer config and managed outside of Omeka.

–Eric

Oh! That’s a relief to hear–it’s “magic” but not “Magic”! (Bear in mind that I don’t actually think of programming and code as magic–it represents knowledge and hard work, especially when it is open source and benefits a broad community.)

So we will always need to manually place the .xml file(s) in the cachefile folder–is that correct?

Thank you so much for your quick response and so kindly pointing out our misunderstanding.
Melissa