Report any technical problems you discover and discuss solutions.

Error when importing .mp4 files

  • p.a.xavier@swansea.ac.uk
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 8 ans 11 mois #4655 par p.a.xavier@swansea.ac.uk
Error when importing .mp4 files a été créé par p.a.xavier@swansea.ac.uk
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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 ans 11 mois - il y a 8 ans 11 mois #4659 par tom
Réponse de tom sur le sujet Error when importing .mp4 files
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:
Code:
post_max_size = 8M upload_max_filesize = 2M

Change the number to the largest file you want to be able to upload.
Dernière édition: il y a 8 ans 11 mois par tom.
Les utilisateur(s) suivant ont remercié: p.a.xavier@swansea.ac.uk

Connexion ou Créer un compte pour participer à la conversation.

  • p.a.xavier@swansea.ac.uk
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 8 ans 10 mois #4664 par p.a.xavier@swansea.ac.uk
Réponse de p.a.xavier@swansea.ac.uk sur le sujet Error when importing .mp4 files
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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 8 ans 10 mois - il y a 8 ans 10 mois #4665 par tom
Réponse de tom sur le sujet Error when importing .mp4 files
Did you restart the apache webserver after the changes?

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

in a browser.
Dernière édition: il y a 8 ans 10 mois par tom.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.134 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo