Class 'ZipArchive' not found

76 views
Skip to first unread message

Mercedes Jiménez Bolívar

unread,
Mar 15, 2024, 4:17:25 AMMar 15
to AtoM Users
¡Buenos días!
Hemos hecho una actualización a AtoM 2.8.0. Estoy analizando si funciona correctamente y me encuentro el problema de que no puedo exportar fondos y colecciones en CSV. El mensaje de error es "Class 'ZipArchive' not found". Los informáticos que están realizando la instalación dicen que sí existe esta clase en PHP. Entonces, ¿Dónde podría estar el problema?

Mensajes de error:
[err] [2024-03-15 01:05:49] Job 89653 "CSV export": Exception: Class 'ZipArchive' not found [err] [2024-03-15 01:05:49] Job 89653 "CSV export": File: /var/www/html/atom/lib/job/arZipFileDownload.class.php [err] [2024-03-15 01:05:49] Job 89653 "CSV export": Line: 148
Muchas gracias por vuestra atención.
Mercedes

Dan Gillean

unread,
Mar 15, 2024, 8:17:42 AMMar 15
to ica-ato...@googlegroups.com
Hi Mercedes, 

A quick search confirms that there is in fact a PHP zipArchive class: 
In any case, we will need to be reminded of more information about your installation to be able to provide suggestions. For example: 
  • Can you tell me the FULL version number, as listed in Admin > Settings, or returned when you run php symfony tools:get-version ?
  • I can tell from the file path that you are using Apache instead of Nginx for your webserver. What other changes have you made from the recommended installation instructions?
  • What version of PHP do you have installed?
  • Does your AtoM installation meet the recommended minimum hardware requirements listed here? How much memory does your installation have?
Meanwhile, I recently created a roundup guide for resolving common 500 error issues. It includes a subsection on errors following an upgrade, that your team should review. See: 
As noted there, the most common causes we have seen strange errors after upgrading are:
  1. Did not read the upgrade instructions at all and attempted to just "upgrade in place" by loading a new AToM tarball version on top of the old one
  2. Forgot to upgrade some dependencies (generally related to 1)
  3. Forgot to drop and recreate the database BEFORE loading the previous version's database dump
  4. Forgot to run the upgrade task AFTER loading the previous database dump
Please review the suggestions provided in that subsection. If those suggestions do not help you to resolve the issue, then hopefully with more information (i.e. the answers to the questions above) we can provide some additional suggestions to help get things working again! 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/4960a5ee-d55c-4f74-a127-c9e94ebddbf5n%40googlegroups.com.

Mercedes Jiménez Bolívar

unread,
Mar 20, 2024, 8:00:01 AMMar 20
to AtoM Users
Hola, Dan. S
Muchas gracias por tus respuestas. 
Estamos en el proceso de instalación de la  2.8.0. Como comentas en tu correo, utilizamos Apache en vez de Nginx. Estamos documentando todo el proceso de instalación. Cuando terminemos la revisión que estamos haciendo, que nos sirve para detectar problemas como el que te comentaba en el correo anterior, te comunicaremos cómo lo hemos hecho, por si le sirve a alguien de este foro. 

En cuanto al problema concrteo que te comentaba en el correo, se arregló antes de que llegara tu contestación. Pero muchas gracias.

Seguimos en contacto, 
Mercedes
Reply all
Reply to author
Forward
0 new messages