I want to upload scorm zip file on moodle. The zip file was just only 7MB but when I tried to upload the file. The loading status will reset to 1% after a while. Until it give an error of:
ERROR: Invalid JSON string
But when I checked my php.ini file. All is set higher than the uploaded file size.
Any help will be much appreciated. Thank you.
btw: I'm using IIS, PHP 5, moodle 3.1.5
The most common problem is site errors messing up output of json response. Did you turn off the error message output? In the Administration menu find Debugging section and set error selectbox to NONE. See if problem persists
Related
This is not a quick failure, I have spent a totally of 5 completely full days trying to figure this out. Initially I was limited by file size and then file type; in which I removed the Wordpress restrictions and am now "capable" of uploading my 177MB .glb file to Wordpress.
However when doing so, I receive the following error:
retriever.glb
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.
I was on the phone with GoDaddy Specialists for 2.5 hours yesterday ensuring that this was not a Server issue or restriction on their side.. they confirmed that it was not. We pretty much ended the conversation that it is something I must figure out with me, myself, and I.
I went ahead and uploaded my .glb to the server through panel, everything worked fine. In fact I have a location for it here: https://www.tattiniboots.com/wp-content/uploads/2020/07/retriever.glb
However, this does not make the file discoverable to the 3D viewer plugins I have installed on the site through the media location.
I truly don't know where to go from here
I changed the name of the file to .png and attempted an upload and received the following error:
Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.
I just tried to update a normal .mov file that is 150MB and received the following error; really making me think this is something to do with file size:
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.
Yes, normal images are uploading just fine (2MB-ish)
I just attempted to deactivate all plugins with consideration that maybe "Smush" or another was imposing issues: I then received the issue that the file type is not supported (even with the allow all file types code in my wp-config)
Is this just the case that glb is not allowed at all?
This must be a server thing. probably a run time error
Whoever supported you just doesn't know it. GoGoDaddy. ;)
Nevertheless... you can Use a plugin that's called
media sync. Check it out and best of luck
I have an adult tube site setup using AVS.
I tried to add a game (swf file), but after uploading is complete, it shows an error "Please selected a game file!" even though I have selected one.
Any idea what might be happening here? THanks!
Solved!
The file was being rejected because the max file upload in php was set to just 2M.
I changed it's value in my php config and now file uploads work great!
Everey Time i upload my zip file which is containing my project .This error is come.
How can i upload my project to server .
Help me if you know how to resolve this problem.
Error message:
Zip.Suspect.MacroDoubleExtension-zippwd FOUND
Screenshot:
The ClamAV scanner flags them because they ends in ".txt.html". Normally a file is either text or html, so that's why it's flagged as suspicious.
You may rename those file and then upload again. Otherwise you can upload file via FilezillaFTP account
I have a very funny problem.
I installed wordpress 3.9.1 on my server, I didn't change any wordpress file. I just unzip files and add to ftp.
when i tried to add some media file wordpress media uploader show to me this error line :
Here is Jpg from error message
http://funnyfennel.net/error.jpg
ERROR : HTTP error.
I think problem may be when you upload an image, there is a chance that your comments will show in the response coming from ajax which causes error to show. I have been through the same problem and find that my comments are showing in the response.when i removed it images are uploading nicely.
If you're still getting the HTTP Error, ask your hosting provider to disable the PHP module imagick- it fixed it for me.
I downloaded blueimp jQuery File Uploader and released it into my public_html. Out of the box it's supposed to work with the demo pages provided but it is giving me a "Internal Server Error". I have upload enabled in my php.ini with file size 50 MB which is well high enough for the files I am trying to test with.
Can anyone give some pointers about how to debug errors coming from blueimp jQuery File Uploader because there is very little documentation on debugging it.
I found out the issue on this... Using commenter's advice I checked out the 500 error log file which was at /usr/local/apache/logs/error_log. There was error that my server/php directory was writeable by the group... After doing a chmod g-w on the directory, it worked fine.
Thanks!