@collectiveaccess Good Morning. I have finally got my doc viewer working properly - my gmagick-php extension was not working correctly . I can now get page previews for .doc files but when I try to upload .xls or .ppt files (using media upload in the object editor) the ca editor screen disappears and this message appears
Notice: Undefined offset: 0 in /var/www/html/providence/app/lib/core/Db.php on line 267
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /var/www/html/providence/app/lib/core/Parsers/PHPExcel/PHPExcel/Reader/Excel2007.php:94 Stack trace: #0 /var/www/html/providence/app/lib/core/Plugins/Media/Office.php(331): PHPExcel_Reader_Excel2007->canRead('/tmp/phpW7UfF2....') #1 /var/www/html/providence/app/lib/core/Plugins/Media/Office.php(193): WLPlugMediaOffice->isWordExcelorPPTdoc('/tmp/phpW7UfF2....') #2 /var/www/html/providence/app/lib/core/Media.php(190): WLPlugMediaOffice->divineFileFormat('/tmp/phpW7UfF2....') #3 /var/www/html/providence/app/lib/core/BaseModel.php(4187): Media->divineFileFormat('/tmp/phpW7UfF2....') #4 /var/www/html/providence/app/lib/core/BaseModel.php(2479): BaseModel->_processMedia('media', Array) #5 /var/www/html/providence/app/lib/core/BaseModelWithAttributes.php(474): BaseModel->insert(Array) #6 /var/www/html/providence/app/lib/ca/BundlableLabelableBaseModelWithAttributes.php(249): BaseModelWithAttributes->insert(Array) #7 /var/www/html/providence/app/models/ca_object_represen in /var/www/html/providence/app/lib/core/Parsers/PHPExcel/PHPExcel/Reader/Excel2007.php on line 94
I get a similar error message when trying to upload .ppt files.
I am using ubuntu 16.04 ,1.7 dev schema 143 and php7
Any suggestions on how to fix this would be most welcom
apt install php-zip.
php.ini, and you can increase that incrementally to see how long you need for the request to finish. Ensure that you restart apache / php-fpm after changing
hastype will work for this?
We have some trouble in displaying interstitial data by using display templates in pawtucket2.
We have a field ‘Author’ with element code ‘marc700’, which consists of a container with element code ‘marc700_line1’, this container subsequently consists of an element with code ‘marc7009’ of type ‘Text’. This field is bounded to ‘object<=>entity’ relationship. We use ‘Author’ to fill in relationship data on a relationship screen (interstitial). When we access this field on object detail page in Pawtucket2 nothing appears, although data is shown correctly in Collective Access (version 1.6.1).
In Pawtucket2 object detail page (\views\Details\ca_objects_default_html.php) we use the following display :
<unit relativeTo="ca_entities" restrictToRelationshipTypes="aut" delimiter="<br>">
<unit relativeTo="ca_objects.related" delimiter=", ">
Type restriction “aut” (restricting results to a particular author type) is working and preferred labels of entities are displayed correctly. However, the second ‘<unit>’ tag gives no results. With this tag we want to show the ‘Author’ interstitial information. We tried various combinations in ‘relativeTo’ attribute but no success. We used examples given in the documentation, but nothing worked. Any help to solve this problem?