No input file specified

No input file specified

Nguyen Viet Nam -
回帖数:45
please help me....
附件 error_No_input_file_specified.jpg
回复Nguyen Viet Nam

Re: No input file specified

Jared Ritchey -
This is the result of your server setup which could mean that PHP is setup as a CGI and not an apache mod.  I'd look there first.


Jared
回复Nguyen Viet Nam

Re: No input file specified

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 which in this case should be the scorm 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
回复sanjib parida

Re: No input file specified

Eliecer Acevedo Patiño -
Hi Folks,

Am trying to work around this as well with no luck, pretty much seems to be a Shared Hosting provider, in this case with Godaddy's but in my case am not using a basic account, is the premiun account.

Anyway am trying to configure the .htaccess file but so far alway am getting 500 error.

I've tried in the mdl_resources table but only shows up two items:

Weblogs and
URL Link

SCORM object is not shown to modify linking!!! am attachind picture of table.

Any ideas
附件 db_mdl.png
回复Eliecer Acevedo Patiño

Re: No input file specified

Piers Harding -
Hi - what are the 500 errors - there should be an error text as well.

Cheers,
Piers Harding.
回复Eliecer Acevedo Patiño

Re: No input file specified

Patrick Daisley -
I was having this problem with a new Moodle installation with Go Daddy as the host. It may be a server setting but I'm not patient enough to try and learn enough to change that. I DID solve the problem with the help of the "health" tool (http://www.yourmoodleaddress.com/moodle/admin/health.php). (Who knew about that! See http://docs.moodle.org/en/Installation_FAQ).

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

Re: No input file specified

Brad Henry -
Very cool tool, I did get rid of the No Input File error and now I am left with a blank screen without a module in the window. I am very confused.

Here is the error:

Uploaded files: slasharguments disabled or not working
Slasharguments are needed for relative linking in uploaded resources:
  • slasharguments are disabled in Moodle configuration
  • slashargument test failed, please check server configuration
Solution
Slasharguments are disabled and the test failed. You may try to fix the server configuration.

IIS:

  • try to add cgi.fix_pathinfo=1 to php.ini
  • do NOT enable AllowPathInfoForScriptMappings !!!
  • slasharguments may not work when using ISAPI and PHP 4.3.10 and older

Apache 1:

  • try to add cgi.fix_pathinfo=1 to php.ini

Apache 2:

  • you must add AcceptPathInfo on to php.ini or .htaccess
  • try to add cgi.fix_pathinfo=1 to php.ini

回复Brad Henry

Re: No input file specified

Luis Palacios -
Muchas gracias, me sirvió la solución planteada para apache 2.0agregando en el archivo php.ini la línea:

cgi.fix_pathinfo=1

saludos
回复Patrick Daisley

Re: No input file specified

Ida Byrd-Hill -
Where did you find the the path administration? I am not a techie but i am having a problem with inputting a scorm file. I keep getting the " no input file specified." Rhe health tool in offline
回复Patrick Daisley

Re: No input file specified

Mina Thabet -
Thank you so much. I had the same problemwith GoDaddy and resolved it by doing your recommended: Administration --> Server --> HTTP and unchecked (disabled) "Use slash arguments".

Thanks for sharing.
回复Mina Thabet

Re: No input file specified

Jaswant Tak -

Thanks Mina,

Administration --> Server --> HTTP and unchecked (disabled) "Use slash arguments". WORKED!

回复sanjib parida

Re: No input file specified

Brad Henry -
I am brand new to Moodle and this is my first time using GoDaddy. The installation was great, the tool is working great, I do not understand what I should be changing to get a SCORM compliant tutorial to function. I am currently getting the "No Input File" error.

Can someone please help me with some detailed instructions?

Thanks in advance!

Warmest Regards,

Brad
bh160005@yahoo.com
回复Brad Henry

Re: No input file specified

Scott Yamahata -
Yeah, I'm having this problem too using GoDaddy.
I used to have this on Lunar Pages and had no problems.
回复Scott Yamahata

Re: No input file specified

Scott Yamahata -
I fixed mine by logging in and clicking on "Server" under Site Administration.
I unchecked "Use slash arguments."
At first, when I went back to moodle, everything was blanked out.
I panicked, put the check next to "Use slash arguments" and got everything to not be blanked out.
Once I established that, I tried again.
I waited a few more seconds, and this time everything worked like a charm.
Think I went too fast the first time, which is why everything was blanked out.
Hope this helps.

回复Scott Yamahata

Re: No input file specified

Ida Byrd-Hill -
I did as you stated and went from no input file specified to a blank black screen. Must I do something else?
回复Scott Yamahata

Re: No input file specified

Ville Oksanen -
I had the same problem with Godaddy and the same solution helped i.e. un-checking "Use slash arguments". (Knock on wood)
回复Ville Oksanen

Re: No input file specified

Jack Winters -
Hi,

I tried un-checking "use slash arguments" fix and still had problems. Even more irksome, when I contacted GoDaddy, they had nothing helpful to add.

Suggestions, please?

Regards,

Jack
回复Scott Yamahata

Re: No input file specified

Daniel Bailey -
hi,
slash arguments didn't do it for me.. still get "no input file specified".. you got any other ideas or suggestions...

much appreciated.

danny
daniel@cheongjuenglish.com
回复Scott Yamahata

Re: No input file specified

Iroshini Ratnapala -

Thanks Scott. I am also having Moodle 2.0 in GoDaddy.

It worked well for me.

Site Administration ->Server -> Http -> "Use slash arguments"

When I uncheked that option it worked for me.

回复Iroshini Ratnapala

Re: No input file specified

Chris Collman -

Bless you and this thread!   GoDaddy does not like slashes.  in Moodle 2.2 as well.

And it took me a bit to figure out the correct mysql settings when I installed 2.2.  Remembered that database in GoDaddy might mean  mysql and I would have to create it.  After I did that, my issue was I thought the server would be localhost and could not figure out the user name.  Godaddy's database is also the username.   Once I figure out the long complicated server name for mysql, rest was easy.    Until I kept getting the unhelpful No input file specified 微笑

Humm this thread is in SCORM??   Should be general problems because I got it when trying to download a backup.

Chris

回复sanjib parida

Re: No input file specified

Daniel Bailey -
Hi,

I'm having problems uploading scorms... "no input file specified" stuff.
could you explain that table modification in simpler terms. I'm worried that i'll do more harm than good if I mess with my db tables.

thanks,
回复Nguyen Viet Nam

Re: No input file specified

Daniel Bailey -
Hi,

did you solve your "no input specified" issue?

if any ideas, pleace message me at daniel@cheongjuenglish.com
回复Daniel Bailey

Re: No input file specified

Daniel Bailey -
end of my rope.

I've enabled/disabled slash arguements

debugged scorm (did my best cause it all was latin to me)

checked out the database (didn't want to mess with it too much

uninstalled and reinstalled moodle

restored moodle to last month when my scorm uploads worked..

and nothing..


i still get the "no input file specified...

my next attempt will be to check out the unzipping process...

please.. any new ideas on how to figure this out?

I'ld like to get around using scorm altogether now... but i really need the multimedia aspects it offers.

Danny
回复Daniel Bailey

Re: No input file specified

Lindsay O -
I'm having this problem, but only with images. Not with scorm. It started happening after I moved to GoDaddy.

I upgraded Moodle, I reinstalled, I have tried un/checking slash arguments.

Nothing works. Client is getting mad...
回复Lindsay O

Re: No input file specified

Daniel Bailey -

lindsay,

i'm with godaddy too... i'm on a shared hosting account.. wasn't a problem last month...

godaddy can't help cause moodle is a third party app,

slash arguement settings don't make a difference.

moodle without scorm is like like bread without butter...

do you have any special settings registered on your admin site that allow scorm to work.

with your images, do they exceed 8mb's you may want to upload them with filezilla if you are having time out issues.. but that doesn't sound like your issue

I'll keep you up to date on how I try to figure out this "no input file specified" problem of mine.

回复Daniel Bailey

Re: No input file specified

Dan Marsden -
Core developers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Plugins guardians的头像 Testers的头像 Translators的头像
since Moodle 1.9.5 Moodle forces the use of slash arguments when using scorm - (and should warn you if it's turned off when adding a new scorm) - SCORM doesn't work without slash arguments.

the admin/health.php file does a nice check to see if slash arguments is supported - try running it to see if it gives any errors.
回复Dan Marsden

Re: No input file specified

Daniel Bailey -
Thanks Dan,

Slash arguments are enabled, but the test failed. admin/health says to disable slash or fix server configuration.

Can you describe a simple way to fix server configurations?

admin/health shows me this:

Uploaded files: slasharguments disabled or not working
Slasharguments are needed for relative linking in uploaded resources:
  • slasharguments are enabled in Moodle configuration
  • slashargument test failed, please check server configuration
Solution
Slasharguments are enabled, but the test failed. Please disable slasharguments in Moodle configuration or fix the server configuration.

IIS:

  • try to add cgi.fix_pathinfo=1 to php.ini
  • do NOT enable AllowPathInfoForScriptMappings !!!
  • slasharguments may not work when using ISAPI and PHP 4.3.10 and older

Apache 1:

  • try to add cgi.fix_pathinfo=1 to php.ini

Apache 2:

  • you must add AcceptPathInfo on to php.ini or .htaccess
  • try to add cgi.fix_pathinfo=1 to php.ini
i'm not confident to play around with any code... but maybe i would be if I had specific instructions. such as instructions for dummies.

回复Daniel Bailey

Re: No input file specified

Dan Marsden -
Core developers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Plugins guardians的头像 Testers的头像 Translators的头像
from memory godaddy shared web hosting has a php.ini in the root directory - you should add the following lines to it.

AcceptPathInfo on
cgi.fix_pathinfo=1

give that a go - hopefully it might work!
回复Lindsay O

Re: No input file specified

Bryan Williams -
Lindsay: Client is getting mad... You're taking people's money to support Moodle using a low-ball.com ISP? sad

Daniel: Neither you nor Lindsay may be doing anything wrong. It's quite likely the ISP you are both using (GoDaddy) is the problem. Image problem Lindsay reports may simply be that the GD library is not compiled into the web server (this can be checked in Moodle admin), or it may be related to something with permissions. In your case, make sure you unzip things on the server, not on your desktop first and then uploading. If you are on a Windows machine it will most likely change permissions on a folder in the process of unzipping.

Check Moodle documentation closely to see what it needs (server), for the version of Moodle you are running. Then, if you're going to stay with GoDaddy ask them whether these requirements are installed on your server. Moodle is a complex web application and the requirements will change again when version 2.0 comes out. It is a good idea for the Moodle admin to know these things. Some of the Moodle partners offer Moodle admin training and there are a number of Moodle books available as well.
回复Bryan Williams

Re: No input file specified

Diane Weightman -

I'm having these issues as well and have GoDaddy as the ISP.                            I have (3) different databases using Moodle and SCORM documents.

My first I created in December- works fine and runs the SCORM courses.  The next one I created in March and is doesn't work. I have been trying everything.  I created another one RIGHT AFTER I created the non-working one on another domain and it works great.

I'm going nuts.  I'm new to Moodle and usually don't mess around much with databases.

I ran the health checker and it gave me the same result as someone above:

Slasharguments disabled or not working - even though they are enabled in the Moodle configution under  Site Admininstration --> HTTP

I then tried the solution below in Red:

(I have tried this WITH and WITHOUT Slash arguments enabled- and no change)

IIS:

  • try to add cgi.fix_pathinfo=1 to php.ini
  • do NOT enable AllowPathInfoForScriptMappings !!!
  • slasharguments may not work when using ISAPI and PHP 4.3.10 and older

Apache 1:

  • try to add cgi.fix_pathinfo=1 to php.ini

Apache 2:

  • you must add AcceptPathInfo on to php.ini or .htaccess
  • try to add cgi.fix_pathinfo=1 to php.ini

I would appreciate any and all ideas or suggestions.

Thanks,

D'

回复Diane Weightman

Re: No input file specified

Dan Marsden -
Core developers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Plugins guardians的头像 Testers的头像 Translators的头像
try calling your new file php5.ini instead of php.ini
回复Dan Marsden

Re: No input file specified

Scott Chapman -

Hello

I am having the same problems as described in this post.  This is my first ever moodle server. Its Server 2008 r2 64bit with SQL Server 2008 r2 and IIS 7.5 .  I have been looking at using the URL rewrite tool in IIS 7.5 and third part ISAPI rewrite tools but this is all blowing my mind a little.  I am using PHP 5.2.5.

Any help you have would be appreciated.

回复Scott Chapman

Re: No input file specified

Scott Chapman -

WOO HOO!

No worries, its sorted thanks to another post. Great stuff. it was the pesky

doc_root = "C:\Inetpub\wwwroot"

I commented this line out of my php.ini file. Thanks for all your advice! everyone!

回复Dan Marsden

Re: No input file specified

Wendy Muse -

THANK YOU THANK YOU THANK YOU DAN!!!!

I tried all the steps and just renamed the file as you suggested and Winner Winner, Chicken Dinner!!!! I have my Quizmaker file up and running!!!!

Thanks again for sharing!

回复Lindsay O

Re: No input file specified

Ben Rodriguez -

If you are using godaddy, try thier one click install for moodle under their web apps portion of their website.  it puts everything in the right place.  if you try doing it from scratch on godaddy you will run into this problem because gd wants the moodle data file to be in its top most folder and thats not accessible by the moodle engine.

回复Ben Rodriguez

Re: No input file specified

Sigrid Green -

I have experienced this issue several times.  The first time in added the fix

php.ini or php5.ini file with the following text:

AcceptPathInfo

cgi.fix_pathinfo=1

 

It worked. However, since Godaddy upgraded their FTP I have installed Moodle 1.9.19.  I applied the fix because it worked with the previous version. After applying the same fix to my new Moodle installation it did not work. I called Godaddy several times before I got someone to escalate the matter.  This time the fix was

Godaddy had to disable fastCGI.  You can do this in hosting control panel under file extension management.  When this was disable it worked fine. My file worked like it was suppose to.