No input file specified.

No input file specified.

by Megan Enloe -
Number of replies: 9
I've uploaded some files but when I click on them I get a message saying

No input file specified

I can see the files and They are listed as taking up KB space but nothing seems to be there when I try to open them
Average of ratings: -
In reply to Megan Enloe

Re: No input file specified.

by Connley Hartman -
I am getting the same error message as you described. Did you find a resolution to the problem? I am looking for an answer, and was hoping there might be a list of error messages and their details along with a solution somewhere.
In reply to Connley Hartman

Re: No input file specified.

by sanjib parida -
Hey this problem is really simple to resolve if u have access to update data into your moodle database.

Go to this table "mdl_resource". In that table theres a column called "reference". Just edit the row value in there to point to the full web folder path of your resource and your moodle implementation will rock.

This problem is actually common in shared hosting solutions like godaddy economy hosting and stuff because may be they actually donot allow a physical path reference to their home webroot folder.

Say me if it doesnot work.

sanjib@sitact.net
In reply to sanjib parida

Re: No input file specified.

by Edward Bethel -
I'm using godaddy and i tried this solution. I'm not sure what you mean by "point to the full web folder path - the data files are stored outside the webfolder, in the "moodledata" folder. I tried putting in the true address to this folder (starting with home/content/...). No luck with that. I'm only starting to work with databases so you'll understand that I may be asking some obvious questions.

My understanding is that the webfolder is the one named "html"?

Basically, your solution sounds like the most promising one yet, so I'd really love to get it to work. If you could be completely explicit that would be great.

Thanks

Eddie
In reply to Megan Enloe

Re: No input file specified.

by Tim Kennedy -
You probably have solved this already but I wanted to post the answer here in case someone else is searching for the solution.

I had the same problem on my installation. Try going into Configuration > Variables > and set slasharguments to file.php?file=/pic.jpg

That fixed the problem immediately in my installation. It's covered in the uploading FAQ but I didn't notice the "no input file" message linked to the discussion.
In reply to Tim Kennedy

Odgovor: Re: No input file specified.

by Ivan Tomic -
I am using moodle 1.8.3 and I can not find Administration >> Configuration >> Variables. Are you think on Web application moodle or some file on folder moodle installation.
In reply to Ivan Tomic

Re: Odgovor: Re: No input file specified.

by Patrik Olterman -
I am having the same problem anyone got a solution on this for 1.8.3
In reply to Megan Enloe

Re: No input file specified.

by Robert Coss -
I think I had a similar problem. When attempting to access or view a backupdata file I created by exporting a lesson I kept getting “No input file specified”.

I simply went to the lesson and under the Site Administration panel and clicked Server and then HTTP to access the setting I needed to change.

I UNCHECKED “Use slash arguments” and clicked Save Changes.

Upon returning to test this I got the same error. I left the page and returned back to the page (refresh) to force the page to reload. It now works!
Average of ratings: Useful (1)
In reply to Robert Coss

Re: No input file specified.

by Jason [Moodle Enthusiast] -

Basically, I followed this path: Administration --> Server --> HTTP and unchecked (disabled) "Use slash arguments". Bingo, problem solved.