Welcome, Guest
Username: Password: Remember me

TOPIC:

0 byte zip export 8 years 6 months ago #3185

  • rbrown
  • rbrown's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 31
  • Thank you received: 0
Hi all

I see there is another topic for this issue, but I'm not sure of the protocol - so rather than hijack someone else topic I'm opening another.

I have created a couple of projects
1) fairly simple set of pages with embedded video (Project size 52.5Mb) - this exports (in Deployment, Archive and Get Offline) fine,but
2) a more complicated project (but generally just text pages but also with embedded video) Project size 438MB - this one produces a 0byte size zip.

Unlike the other similar topic there is no zip being created serverside.

Xerte V3, self hosted, Linux (SLES), PHP V5.2.14

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

0 byte zip export 8 years 6 months ago #3186

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 842
  • Thank you received: 245
Try increasing your server php memory_limit in the relevant php.ini

e.g.
post_max_size = 700M
upload_max_filesize = 500M
memory_limit = 256M

upload_max_filesize needs to be higher than the largest file you wish to upload
post_max_size should be larger than upload_max_filesize
memory_limit or other settings like script timeout can have an impact on the zip creation process.

HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

0 byte zip export 8 years 6 months ago #3188

  • rbrown
  • rbrown's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 31
  • Thank you received: 0
many thanks for getting back to me so quickly

I doubled the memory_limit it is now 512MB..but still exporting 0 byte file

current limits
memory_limit = 512M
upload_max_filesize = 300M
post_max_size = 300M

should I try increasing memory_limit further?

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

0 byte zip export 8 years 6 months ago #3189

  • rbrown
  • rbrown's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 31
  • Thank you received: 0
pushed memory_limit = 1024M ; Maximum amount of memory a script may consume (128MB)

restarted apache..same result (0 byte zip)

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

0 byte zip export 8 years 6 months ago #3191

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 842
  • Thank you received: 245
perhaps try changing max_execution_time too?
Is it one large video file that is preventing the export?
It's not the right solution but you could replace that with a smaller file with the same name then export and replace the file in the zip.
If it is video then the better solution anyway is to upload the video to a streaming service like YouTube or Vimeo or any that provide embed code and embed from there.
For testing purposes I've tested large file exports which work fine so I don't think it's a xerte specific issue. I just tested with a 356MB video included which exported fine.
Any spaces or special characters in filenames? (best avoided)
Try clearing browser cache.
Try a different browser.
Just a few suggestions.
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

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

0 byte zip export 8 years 6 months ago #3193

  • rbrown
  • rbrown's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 31
  • Thank you received: 0
I removed a couple of the larger video files but nothing changed. So I just zapped all the m4v files and which fixed the issue..I'll add them back from the backup and see where we hit the limit

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

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

Search