Supporting each other

Community forums

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

TOPIC:

Export - Get Offline Zip : stopped working 1 year 7 months ago #8506

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1275
  • Thank you received: 320
As I fixed it today, it will be included in the zip file tomorrow...

I am actually surprised it works on XAMPP if it is the exact same version. Maybe different version of PHP?
The following user(s) said Thank You: jbijnens

Please Connexion or Create an account to join the conversation.

Export - Get Offline Zip : stopped working 1 year 7 months ago #8507

  • jbijnens
  • jbijnens's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Yes it are different PHP versions.
The Linux one is php-fpm 8.1.
XAMPP is php 7.4
By the way another problem popped up. It is not as "critical" as the export one. I have noticed now that the "Import" function to import archived projects, no longer works. It did work in XOT 3.10.

Please Connexion or Create an account to join the conversation.

Export - Get Offline Zip : stopped working 1 year 7 months ago #8508

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1275
  • Thank you received: 320
It is working for us. Any errors? upload limist to low? The default is 2mb.

I'll check tomorrow with today's changes just to be ablolutel sure I did not break it with that change..
The following user(s) said Thank You: jbijnens

Please Connexion or Create an account to join the conversation.

Export - Get Offline Zip : stopped working 1 year 7 months ago #8509

  • jbijnens
  • jbijnens's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
The upload limit is 50 MB. The zip file is approximately 35 MB.

The apache2 error.log has the following entry after trying to do an import of the file Creo_8_archive.zip

[Sun Mar 05 21:57:56.060048 2023] [proxy_fcgi:error] [pid 38235:tid 139636555216640] [client xxx.xxx.xxx.xxx:63984] AH01071: Got error 'PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /var/www/xerte/config.php on line 262PHP message: PHP Notice: session_start(): Ignoring session_start() because a session is already active in /var/www/xerte/config.php on line 263PHP message: Unable to move uploaded project file to imported file: From: To: /var/www/xerte/import/435378056/1678049876Creo_8_archive.zip', referer: https://myserver/xerte/workspaceproperties.php

Please Connexion or Create an account to join the conversation.

Export - Get Offline Zip : stopped working 1 year 7 months ago #8510

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1275
  • Thank you received: 320
That looks like some configuration problem (In the last message From: is empty, that means the file is not uploaded at all)

I'll have a look to see if I can improve the mesage to see what is actually happening.

Please Connexion or Create an account to join the conversation.

Export - Get Offline Zip : stopped working 1 year 7 months ago #8511

  • jbijnens
  • jbijnens's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Based on what you wrote, I have done some additional testing and I have finally found the cause.
You mentioned before the default upload was 2 MB. I had changed the php.ini file for fpm (upload_max_filesize = 50M). I started to wonder whether this was the only setting that was needed. So I have added LimitRequestBody 52428800 (which means the maximum upload size is 50M) to the site configuration in Apache2. This made no difference. Then I thought perhaps the php code is executed through cgi or cli. So I changed the php.ini for cgi and cli so that it also contained the setting upload_max_filesize = 50M. This solved the problem.
Thank you very much for helping me solve my problem.

Please Connexion or Create an account to join the conversation.

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

Search