Report any technical problems you discover and discuss solutions.

Uploading sub-template not working

Plus d'informations
il y a 6 ans 5 mois #6336 par tsalyers
Réponse de tsalyers sur le sujet Uploading sub-template not working
I finally managed to find something that looks like it could be relevant in, of all places /var/log/httpd/ssl_error_log. I'm not sure if this is the cause of the problem (my PHP skills are a bit rudimentary), but here goes:

[Wed Feb 19 13:02:32.992672 2020] [php7:notice] [pid 64324] [client 143.167.16.2:57201] Failed to load language file for Xerte - en-GB/editor/js/vendor/jquery-1.9.1.min.js, referer: [xerte_url]management.php

(The actual Xerte URL is in the original error message, but I can't post a URL in here for some reason.)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 5 mois #6337 par tom
Réponse de tom sur le sujet Uploading sub-template not working
Hi,

No, that's not it.

Could you please set $development to true in the config.php file (on line 43) of the xerte installation, retry, change developer back to the original value? Then check the logs again, and also the error_logs/debug.log file?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 5 mois #6338 par tsalyers
Réponse de tsalyers sur le sujet Uploading sub-template not working
Okay, I think I found something actually relevant this time:

[Wed Feb 19 15:41:37.796379 2020] [php7:error] [pid 15935] [client 143.167.16.2:58521] PHP Fatal error: Uncaught Error: Class 'ZipArchive' not found in /var/www/html/website_code/php/management/upload.php:77\nStack trace:\n#0 {main}\n thrown in /var/www/html/website_code/php/management/upload.php on line 77, referer: [Xerte URL]/management.php

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 5 mois #6339 par tom
Réponse de tom sur le sujet Uploading sub-template not working
Yes.... that's probably it. Hold on, will have a look.

In the meantime, can you tell me what OS you're running on? Ubuntu? CentOS?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 5 mois #6340 par tsalyers
Réponse de tsalyers sur le sujet Uploading sub-template not working
Thanks. The system's running CentOS 7.7. (It's an older machine.)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 5 mois #6341 par tom
Réponse de tom sur le sujet Uploading sub-template not working
Hi,

The php-zip extension needs to be installed and enabled.

On Centos you would normally do this with
Code:
yum install php-pecl-zip

On Ubuntu you would use
Code:
sudo apt-install php-zip

After that, don't forget to reload (or restart) the apache2 server:
Code:
service apache2 reload

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.165 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo