Drupal download error
Submitted by garethtucker on Fri, 11/20/2015 - 04:21
Hi,
I've recently installed Drupal 7 and H5P on a shared host for testing purposes. The installation seemed to go well, including adding the content type libraries. I can create and view h5p content on the site - however trying to download the .h5p file I don't get a file to download - instead weird encoding replaces the activity.
http://garethtucker.com.au/h5p
I'm having embed issues too but I believe that is because I'm trying to embed a non-secure (http://) iframe in a secure (https://) site.
falcon
Fri, 11/20/2015 - 11:07
Permalink
When you go to http:/
gerberda
Tue, 07/26/2016 - 15:38
Permalink
upload error
Hi! I'm getting this same issue at http://longhornlearning.us at the Naming Files link. Any outcome on this? The only error I am getting is a tmp delete error, and I'm guessing it is because the download file isn't created in the first place... Any ideas?
icc
Tue, 07/26/2016 - 16:26
Permalink
This is because the web
This is because the web server does not say what content it's returning and browser thinks it's text so it tries to display it to the user. I see that you're both using NGINX. Adding the following to your /etc/nginx/mime.types file should fix the issue:
application/x-h5p h5p;
gerberda
Thu, 07/28/2016 - 04:15
Permalink
Eureka!
Thanks icc! That did the trick. My cpanel hosting required it to be entered under Mime Tyoes.
icc
Thu, 07/28/2016 - 09:29
Permalink
I'm glad you managed to solve
I'm glad you managed to solve the issue :-)