Jump to content

Recommended Posts

Posted

I know that there have been some threads mentioning this, but I am keen to know specifically how to do this on Server 2008R2. The Moodle FAQs only mention it for IIS, but surely if the rest of it, that they have titled '"XP and Server 2003" applied to Server2008 it would say so?

Bit worried about breaking it

Posted

you need to alter the php.ini file

 

post_max_size = 1024M
upload_max_filesize = 1024M

 

that should do it - as far as i know it is not server specific

 

you will need to restart iis after the change

 

HTH

 

Mark

Posted

Is that really all? Because the FAQs seem to mention a lot more than that

We have done that but cant upload big files - could anything else be stopping it?

Posted
You will need to change your 'Maximum uploaded file size' in moodle also

 

Administration > Security > Site policies

 

Ours is currently set at server limit

 

HTH

 

Mark

 

Ours is set as that as well. It is a server issue? Can I increase the server upload allowance and if so, where?

Posted

Server limit pulls the info from the php.ini file. AFAIK that should be it and works fine for us here.

 

It may be a course setting - that also has the ability to restrict file upload sizes.

 

There is a course upload limit (default).

 

Administration > Courses > Course Default Settings

 

Is it a WAMP setup or do you use IIS?

 

Mark

Posted

Note to self: DON'T listen to teachers! I was informed that the error mentioned file size...it doesnt..:(

The error, when I was finally told it, is more likely to be a timeout.

I have increased the timeout to 900 seconds and will now go away and see if it works. :)

Thanks

Posted

hmmmm 404 is usually File or Site not Found...

 

I am presuming that it has been working fine up until this point or is this a test case?

 

Timeouts tend to happen on large files usually >1Gb

 

Have you checked file permissions on the directory that contains your moodledata?

 

I am struggling at this point. Sorry

Posted

situation as follows:

Uploads of 24MB or above are getting the 404 error. Anything less than this is fine, which is why it was thought to be a file size error.

I have increased the file size and the timeout with no success

any ideas?

Posted

hmmm, tbh not really sure, and the box of straws that i'm clutching at are getting thin on the ground!

 

the only things I can thing of is possibly Quotas(maybe), if it is IIS that you're running i dont think there are file size restrictions, if it is Apache there may well be but i know very little about apache. other than that I really dont know.

 

A quick google come up with this, but not sure how helpful it would be - but it seems to be similar to the error you are getting

http://moodle.org/mod/forum/discuss.php?d=144597

 

sorry I cant be of more help

 

Mark

Posted

Found this:

Adjusting File Size Limit in IIS 7

 

The problem is that in IIS 7 on Windows 2008 Server, the web application will reject any file that is larger than 30 MB. This is a default limitation of IIS. You can increase the maximum file size by adding the following code to in the web.config file:

 

 

Does anyone think this will work, and if so, where do I find the file to alter?

Posted
Found this:

Adjusting File Size Limit in IIS 7

 

The problem is that in IIS 7 on Windows 2008 Server, the web application will reject any file that is larger than 30 MB. This is a default limitation of IIS. You can increase the maximum file size by adding the following code to in the web.config file:

 

 

Does anyone think this will work, and if so, where do I find the file to alter?

Web.config is usually for ASP applications.

 

Found this on Moodle.

 

Modifying the IIS 7.0/7.5 configuration (Windows Server 2008, Windows Server 2008 R2)

 

First increase activity and request time outs (allows large files to succeed on slow connections)

FastCGI Settings > Edit (Right-click on PHP application)

Set Process Model > Activity Timeout to '3600' (one hour)

Set Process Model > Request Timeout to '3600' (one hour)Next set 'Maximum allowed content length'

 

Request Filtering > Edit Feature Settings:

Set 'Maximum allowed content length' to your desired file size (in bytes) e.g. '536870912' for 512MB (default is approximately 28.6MB)

Posted
Web.config is usually for ASP applications.

 

Found this on Moodle.

 

Modifying the IIS 7.0/7.5 configuration (Windows Server 2008, Windows Server 2008 R2)

 

First increase activity and request time outs (allows large files to succeed on slow connections)

FastCGI Settings > Edit (Right-click on PHP application)

Set Process Model > Activity Timeout to '3600' (one hour)

Set Process Model > Request Timeout to '3600' (one hour)Next set 'Maximum allowed content length'

 

Request Filtering > Edit Feature Settings:

Set 'Maximum allowed content length' to your desired file size (in bytes) e.g. '536870912' for 512MB (default is approximately 28.6MB)

 

Thanks, but I did that as well and it didnt help. General consensus on the moodle forum is that the problem lies outside moodle, which is why I am looking at IIS and everything else!

Posted
Could you not setup WAMP and see if you have the same issue? That would rule out IIS.

 

Could do...if I knew how..

 

Update on issue: after doing the IIS bits and pieces, the error message no longer appears. Instead, the progress bar goes across to about 1/3 and then...just stops. No message, no upload, no nothing

Posted

Yes, I did all that back on page 1 - but thanks for the pot of straws anyway!!

 

Come on all you other clever..people - someone must know of some setting I have missed SOMEWHERE :(

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...