cannot upload files exceeding a rather low limit

cannot upload files exceeding a rather low limit

by Martin Koops -
Number of replies: 4

Trying to upload a file of 632 kB I get a default error HTML screen: cannot find file etc.

Uploading a small file (40 kB) does not lead to problems

I run moodle 1.2 beta; installed a few weeks ago. The maxlimit is set to 2 Mb.

Any suggestions?

Martin

Average of ratings: -
In reply to Martin Koops

Re: cannot upload files exceeding a rather low limit

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Check the FAQ smile
In reply to Howard Miller

Re: cannot upload files exceeding a rather low limit

by Martin Koops -

OK, thanks for replying.

I did adjusted the numbers.
/etc/httpd/conf.d/php.conf with the upload size in bytes (different operating systems may have these files in different locations):

LimitRequestBody: 20971520  (that should be large enough to upload 690 kB I guess smile

But I still I get an error the with a 'can't find server or DNS error' and the usual IE cannot find server page.  Browser is looking for the "http://drkoops.xs4all.nl/moodle/mod/resource/coursefiles.php", which actually does exist. on my server. The owner is "apache".

Any suggestions?

Kind regards, Martijn

In reply to Martin Koops

Re: cannot upload files exceeding a rather low limit

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I take it you mean that this error message comes up when you try and do an upload, not all the time? If you can switch off IE's friendly messages or better still use a proper browser like Mozilla. This will give you a more useful error messages.

Can you also check your Apache error logs on your server and see if there is a related entry there that might indicate what is going wrong.
In reply to Howard Miller

Re: cannot upload files exceeding a rather low limit

by Martin Koops -

Thanks, checking the /var/log/httpd/log showed that teh old max filesize was still effective.

A restart of httpd  solved the problem.

Thjanks for helping me solve this one.

Martin