Hi ,
especially @Daniel_KM I guess.
I am anxious to try out the Annotate and Cartograpy modules, but have currently ran intro troubles that I would like to share:
Some time ago I did some personel updates on the Annotate 3.1.3.5 module to get it working in OmekaS v3.0.1 (Zend renaming and some strict type fixes) and after installing first the DataTypeGeometry and CustumVocab modules (dont know versions at the moment). I used Generic 3.3.26 I believe. And then it installed fine and WORKED OKE, as far as I could see for over 2 months.
Now I thought yesterday, its time to try out the Cartography module too.
So I downloaded the Cartography-3.3.3.6-beta (from github) and tried installing it.
This gave errors:
TypeError: Return value of Generic\InstallResources::createResourceTemplate() must be an instance of Generic\ResourceTemplateRepresentation, instance of Omeka\Api\Representation\ResourceTemplateRepresentation returned in /usr/local/www/oms/modules/Generic/InstallResources.php:410
So I thought lets update Generic (to 3.3.27) went OK and Annotate(to your 3.3.3.6-beta). But helas, there it all went wrong, with error:
PHP Notice: Undefined index: o:data in /usr/local/www/oms/Generic-3.3.27/InstallResources.php
and further:
TypeError
array_values() expects parameter 1 to be array, null given
Details:
TypeError: array_values() expects parameter 1 to be array, null given in /usr/local/www/oms/Generic-3.3.27/InstallResources.php:600
Stack trace:
#0 /usr/local/www/oms/Generic-3.3.27/InstallResources.php(600): array_values(NULL)
#1 /usr/local/www/oms/Generic-3.3.27/InstallResources.php(402): Generic\InstallResources->flagValid(Array)
#2 /usr/local/www/oms/Generic-3.3.27/InstallResources.php(153): Generic\InstallResources->createResourceTemplate('/usr/local/www/...')
#3 /usr/local/www/oms/Generic-3.3.27/AbstractModule.php(158): Generic\InstallResources->createAllResources('Annotate')
#4 /usr/local/www/oms/Generic-3.3.27/AbstractModule.php(86):
Actually about the same error happened when I tried to install the CartoGraphy module a few hours ago when Annotate was still installed, before I decided to upgrade Annotate
So for me this is rather bad: Annotate does not work anymore, reverting back (to Generic 3.3.26 and my Annotate 3.1.3.5v3 )seems not an option because I than get other errors (some stringpos() and/or array_values() things). But anyhow I would really like to stay using Generic 3.3.27 as it seems needed with your latest IiifServer or ImageServer I think.
Please give some advice about how I should go about. At least getting Annotate to work again.
Thanks John