Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.

TOPIC: Uploading sub-template not working

Uploading sub-template not working 8 months 1 week ago #6336

  • tsalyers
  • tsalyers's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
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.

Uploading sub-template not working 8 months 1 week ago #6337

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 996
  • Thank you received: 211
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.

Uploading sub-template not working 8 months 1 week ago #6338

  • tsalyers
  • tsalyers's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
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.

Uploading sub-template not working 8 months 1 week ago #6339

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 996
  • Thank you received: 211
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.

Uploading sub-template not working 8 months 1 week ago #6340

  • tsalyers
  • tsalyers's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Thanks. The system's running CentOS 7.7. (It's an older machine.)

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

Uploading sub-template not working 8 months 1 week ago #6341

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 996
  • Thank you received: 211
Hi,

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

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

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

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

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

Moderators: jultenjjs
Time to create page: 0.047 seconds
Copyright © 2020 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search