Report any technical problems you discover and discuss solutions.

Uploading sub-template not working

  • tsalyers
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
6 jaren 5 maanden geleden #6336 door tsalyers
Beantwoord door tsalyers in topic 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.)

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 5 maanden geleden #6337 door tom
Beantwoord door tom in topic 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • tsalyers
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
6 jaren 5 maanden geleden #6338 door tsalyers
Beantwoord door tsalyers in topic 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

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 5 maanden geleden #6339 door tom
Beantwoord door tom in topic 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • tsalyers
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
6 jaren 5 maanden geleden #6340 door tsalyers
Beantwoord door tsalyers in topic Uploading sub-template not working
Thanks. The system's running CentOS 7.7. (It's an older machine.)

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 5 maanden geleden #6341 door tom
Beantwoord door tom in topic 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

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.154 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo