Report any technical problems you discover and discuss solutions.

Uploading sub-template not working

  • tsalyers
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #6336 by tsalyers
Replied by tsalyers on 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.)

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #6337 by tom
Replied by tom on 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?

Please Log in or Create an account to join the conversation.

  • tsalyers
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #6338 by tsalyers
Replied by tsalyers on 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

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #6339 by tom
Replied by tom on 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?

Please Log in or Create an account to join the conversation.

  • tsalyers
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 5 months ago #6340 by tsalyers
Replied by tsalyers on topic Uploading sub-template not working
Thanks. The system's running CentOS 7.7. (It's an older machine.)

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #6341 by tom
Replied by tom on 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

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.121 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo