Supporting each other

Community forums

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

TOPIC:

Error when importing .mp4 files 7 years 2 months ago #4655

  • p.a.xavier@swansea.ac.uk
  • p.a.xavier@swansea.ac.uk's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I've tried importing an .mp4 file (5Mb) for use in the video page. When I select it to import it I get a message saying
error (Array = 1)

I have a similar problem with a larger file (10Mb), that time the error was:
Invalid backend response, Data is not JSON.

I'm running on a local XAMPP server, any ideas what I could try to get this to work? I have no problem with audio files or other file types.

Thanks

Please Inloggen or Create an account to join the conversation.

Error when importing .mp4 files 7 years 2 months ago #4659

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Did you change the default upload limits of XAMPP?

You can change the upload limits (which are determined by php server settings, not Xerte) in the php.ini file.

in XAMPP you can fins this file in the php folder of your xampp installation.

The values you want to change are:
post_max_size = 8M
upload_max_filesize = 2M

Change the number to the largest file you want to be able to upload.
The following user(s) said Thank You: p.a.xavier@swansea.ac.uk

Please Inloggen or Create an account to join the conversation.

Last edit: by tom.

Error when importing .mp4 files 7 years 2 months ago #4664

  • p.a.xavier@swansea.ac.uk
  • p.a.xavier@swansea.ac.uk's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I've changed it to:
post_max_size = 10M
upload_max_filesize = 10M

There were two php.ini files that were similar or the same so I made the change in both.

I'm still getting the error, anything else I can try? I did try uploading a smaller .mp4 of 1.5 Mb and that worked fine so it does look like a filesize issue.

Please Inloggen or Create an account to join the conversation.

Error when importing .mp4 files 7 years 2 months ago #4665

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
Did you restart the apache webserver after the changes?

You can check the values that are used by opening
http(s)://<xerte url>/setup/phpinfo.php

in a browser.

Please Inloggen or Create an account to join the conversation.

Last edit: by tom.
  • Page:
  • 1
Moderators: ronmjultenJohnSmith
Time to create page: 0.083 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search