Jump to content

Moodle Upload limit 60mb but over 500k hangs


Recommended Posts

Guest Grumbletweezer
Posted

We're stuck with uploading files into Moodle via the usual system - here's a cut and paste of where we are so far:

-------------------------------

We've been though the stuff in the FAQs to get out Moodle uploading large files and set our limit to 60mb. When I try to up load a file (either through the course main page Files link or through Add an activity) files below about 500k go straight up - very fast- and appear in the file list on Moodle. Files over that cause the main course Files link upload to just sit there, doing it via Add an activity causes the upload window to go blank.

 

I've made sure the course limit is set to 60mb and, in both cases, the upload window says the limit is 60mb. Is there some other place in settings we've missed that might cause this problem?

 

We're on version 1.9.4+

------------------------------------

Our htaccess file currently has

php_value post_max_size 70M

php_value upload_max_filesize 60M

AcceptPathInfo on

I came across another setting which was at "Server limit" and I changed to 60MB. And also a "Module > Assignment > Maximum assignment size" which was 1Mb, I set that to 60Mb. But it didn't fix things. The Maximum size on the "upload a file" dialog says 60Mb. So I tried to upload a 2.mb file, got "Page cannot be displayed", in an inelegant IE error box. A 21kb file worked fine. Prompted by a moodle.org forum post, I double-checked in the database, table mdl_config, and the settings there are fine: 62914560 for both maxbytes and assignment_maxbytes. Likewise I have confirmed via the builtin phpinfo page that the php.ini values (from htaccess) have been applied. (Some people urge you to restart the server. I don't know how I can do this anyway, and the FAQ explicitly says that it is not necessary).

-------------------------------------------------------------------

 

It's also been suggested: You may also want to check what max_execution_time is set to and increase that. But we haven't tried that yet.

 

----------------------------------------------------

 

 

Does anything leap out at anyone here that might be the cause.

 

Grumbs

Posted
make sure you set the upload_max_filesize in the php.ini

 

Will this enable moodle uploads past 60mb?

Can it be set to a specific value of say 300MB?

 

I too have found the 60MB a bit of a drag and counter-productive, but if we could specific something larger (rather than having it endless) it would be good!

Posted

I too have found the 60MB a bit of a drag and counter-productive, but if we could specific something larger (rather than having it endless) it would be good!

 

Thinking about it, I might be tempted to keep the 60mb limit.

I doubt you really want lots of staff uploading 300mb files - this is a webserver after all and I'm sure the kids aren't going to be too happy if they have to spend all evening downloading oversized files !

The limit might actually be beneficial and give you a bit more control.

 

what you could do is use sftp to upload the larger files such as the scorm applications, it's a bit tricky finding the course in the moodledata directory unless you have a particular file to search for, but once you've found the course it's dead easy to use sftp (of smb/cifs if you have a windowz server) to upload the files.

Guest Grumbletweezer
Posted (edited)
I presume you have also set 'Maximum Uploaded File Size' setting under:

 

http://YOUR-URL/moodle/admin/settings.php?section=sitepolicies

 

To: Server Limit

 

-----

 

Aside to that I have had this problem before where the internet connection times out after a certain length of time during a file upload, its as if it detects inactivity and doesn't continue uploading the file.

 

That was set at 60mb - setting it to server limit made no difference :o(

 

When we try to upload the 500k+ files my screen goes blank immediately - it doesn't feel like a time out.

 

Grumbs

Edited by Grumbletweezer
Guest Grumbletweezer
Posted
If you have made changes to Apache did you restart the Apache service?

 

I don't think we can do that - this is just some fairly bog-standard web space.

Posted (edited)
I don't think we can do that - this is just some fairly bog-standard web space.

 

In that case they may also not allow you to modify any of PHP's settings through the .htaccess file. I have come across hosts like this; I had to contact their technical support team to resolve the issue.

 

EDIT: This could mean that your settings aren't being applied. Can you create a phpinfo() file and see what the max file upload sizes are? Simply create a .php text file with the following contents:

 

phpinfo();

?>

 

Regards,

 

Ross Wilson

Edited by rosswilson
Guest Grumbletweezer
Posted
Just to say that we still haven't got to the bottom of this, but we've switched to using FTP in the mean time. Thanks for all your suggestions so far :o)
Posted
As the main face of the VLE to staff, I ask any larger files be put on the shared area for me to evaluate and upload via FTP. Keeps things under control because I hate the idea of too much being uploaded for their own 'shared area' kind of use, because that is what most of them think :confused:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...