File Upload problem.

File Upload problem.

by Lou Vigliotti -
Number of replies: 9
i receive an Internal server error when I try to view an uploaded assignment file from within Moodle. The returned URl is
http://vigliotti.org/moodle/file.php/2/assignment/1/5/ME154.pdf

I don't think that the file.php should be in the URL. There seems to be a path problem.

This is really a wonderful program.
Average of ratings: -
In reply to Lou Vigliotti

Re: File Upload problem.

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
That's how the path should look (it's to help caches and proxies), although I use a more conventional path on Windows servers because of errors like you describe. Is your server on Windows? Perhaps the Windows detection isn't working (all I do is check for the existence of a $WINDIR environment variable).
In reply to Martin Dougiamas

Re: File Upload problem.

by Lou Vigliotti -
The server is not a Windows box it is a Linux box through a hosting company.
In reply to Lou Vigliotti

Re: File Upload problem.

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hmm, OK, I'll add a new configuration option to make this behaviour more controllable. It'll be in CVS later today and in Moodle 1.0.1 which might be tomorrow.
In reply to Martin Dougiamas

Re: File Upload problem.

by Lou Vigliotti -
Works without issue on OS X Server...
In reply to Lou Vigliotti

Re: File Upload problem.

by bill wang -
I got the same problem, have you found a solution?sad
In reply to bill wang

Re: File Upload problem.

by teri sanders -

Me too.  I am working through AlterHosting.com and they installed Moodle on the server for me and it is connected to my website.  I upload the pictures and files, but I can't see them in the pages.  I checked and they are on the server.  For some reason the program is picking them up.  HELP!

I love MOODLE.

In reply to bill wang

Re: File Upload problem.

by Richard Lemont -

Same problem I'm having. Moodle worked fine when I had it on my computer. Now I am with a hosting company and they installed Moodle and it was successful except for a few problems such as: Logo on front page does not display for my modified theme, whilw the small logo is OK on signin page etc. I tried uploading web pages as a resource for main menu announcements and nothing works just get a message:

"The requested URL //public_html/files/moodle features for students info.htm was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "

Don't make the answer too complicated please.

In reply to Richard Lemont

Re: File Upload problem.

by André Krüger -
Picture of Core developers

Hi Richard,

are you sure you have same problem. Please check FAQ for gdversion and slasharguments. You can also find a solution for picture upload in

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

For the 404 error file not found please check

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

Hope this helps.

Andre

In reply to Richard Lemont

Re: File Upload problem.

by Jason Cole -
There are usually two reasons for this problem:

1) You don't have the proper permissions on your data folder
2) Your hosting companies are using Apache 2. If they are using Apache 2, then you'll need to add an .htaccess file like the one at http://moodle.org/doc/?file=install.html#webserver