Guest Grumbletweezer Posted March 27, 2009 Posted March 27, 2009 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
danIT Posted March 27, 2009 Posted March 27, 2009 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.
CyberNerd Posted March 27, 2009 Posted March 27, 2009 make sure you set the upload_max_filesize in the php.ini
mb2k01 Posted March 27, 2009 Posted March 27, 2009 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!
CyberNerd Posted March 27, 2009 Posted March 27, 2009 AFAIK there are 3 places where limits can be set; the php.ini, the .htaccess file and in moodle itself. If you set the upload_max_filesize to something very high, you may need to tune other parameters to prevent timeouts. take a look here: PHP File Upload Configuration 1
alan-d Posted March 27, 2009 Posted March 27, 2009 If you have made changes to Apache did you restart the Apache service?
CyberNerd Posted March 27, 2009 Posted March 27, 2009 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 March 28, 2009 Posted March 28, 2009 (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 ( When we try to upload the 500k+ files my screen goes blank immediately - it doesn't feel like a time out. Grumbs Edited March 28, 2009 by Grumbletweezer
Guest Grumbletweezer Posted March 28, 2009 Posted March 28, 2009 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.
rosswilson Posted March 28, 2009 Posted March 28, 2009 (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 March 28, 2009 by rosswilson
Guest Grumbletweezer Posted April 3, 2009 Posted April 3, 2009 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 )
apoth0r Posted April 3, 2009 Posted April 3, 2009 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now