Page 1 of 1

"No Input File" Installation Problems

Posted: Fri Jun 09, 2006 4:33 pm
by Diane
Having installation problems.  Initially I was getting 404 errors am using Dreamhost and noticed some entries about tweaking configuration.  Tried the suggestions for modifying paths in the config.php, and now I am getting No input file specified.  I have searched for this message with no luck here in the forums. 

Help so appreciated.

Re: "No Input File" Installation Problems

Posted: Sat Jun 10, 2006 8:31 am
by tsw
Sounds like they are running php through cgi (most probably to get suexec) doublecheck your config file and if you have access to server logs take a look there and try to figure out which file it is calling and why does it fail.

Re: "No Input File" Installation Problems

Posted: Sun Jun 11, 2006 7:50 pm
by Diane
They are running PHP as CGI.  Is there any way to get around this?  Server side config stuff is not my strength, so any help appreciated!

Re: "No Input File" Installation Problems

Posted: Mon Jun 12, 2006 4:02 am
by Darwin Web Design
Hi there
I think I had exactly the same problem as you.  In Firefox browser I got the "No Input File" error message and in Internet Explorer it just displayed the Error 404 message screen.

When I installed everything went fine and then I deleted the install directory and changed config.php permissions to 444.  What I didn't realise at the time was that I installed everything, it all looked successful and I deleted the installation directory without going to the very last screen of the installation.  This was an easy mistake because I printed out the installations instructions so I could see it all step by step and make notes on my sheet of paper as I was doing things. 

After the message that says "CMSMS is ready for use congratulations!, it is wise to write down the CMS document root etc", I proceeded to the next step which was to set permissions to config.php and removing install directory... and then ofcourse I went to my site and I got the errors as per paragraph one.

What I added to my installation notes and what you may like to do next time (shown in uppercase below) is in the step where it says: ....Record the CMS Document root, the path to the Document root and the Querystring in case you need this information, you need to CLICK THE "NEXT" BUTTON TO LET IT FINISH INSTALLING PRIOR TO DELETING INSTALLATION DIRECTORY.

To get around my mistake, I just uploaded the installation directory again and changed config.php back to 666.  I then visited the home page and went through all the install screens again, ie putting in all the passwords etc.  This time making sure I clicked that last screen and noted that it infact does a couple of other important looking things (I'm not a techie so I'm not sure exactly what it was doing but it looked important).

I then checked my home page and admin page - and both there.  Then I safely removed the installation directory and changed the permission of config.php to 444 again.

So... now I've got installed, I need to learn how to use CMSMS ...  Good luck, hope this helps you and anybody else that comes across this problem.  Would have been a shame to give up on it all at this stage when it really was a simple mistake.

Regards
Aussie Gecko

Re: "No Input File" Installation Problems

Posted: Tue Jun 27, 2006 11:50 am
by kubox
I had the same problem, and solved it by changing $config['internal_pretty_urls'] to 'false' in config.php. Hope this helps!

Re: "No Input File" Installation Problems

Posted: Sun Jul 23, 2006 9:08 pm
by stevehong
I got this error even after going through all the installation screens correctly, removing the install directory and resetting the config.php permissions to 444.  I followed kubox's suggestion:
kubox wrote: I had the same problem, and solved it by changing $config['internal_pretty_urls'] to 'false' in config.php. Hope this helps!
And it worked for me.  I am using GoDaddy hosting.

Then I tried to figure out how to get pretty urls to work on my GoDaddy hosting so my pages wouldn't look so database-generated.  I used the FAQ instructions about pretty urls from here:
http://wiki.cmsmadesimple.org/index.php ... retty_URLs

but it didn't work until I found this page:
http://wiki.cmsmadesimple.org/index.php ... l_Settings

which suggested that I use the htaccess code from the text file that came with the installation in the doc directory.  That works beautifully, and my urls look natural, like a static website.  I guess the htaccess code on the FAQ page either isn't correct or just doesn't work for GoDaddy.  Here are my URL settings in my config.php:

#------------
#URL Settings
#------------

#Show mod_rewrite URLs in the menu?
$config['assume_mod_rewrite'] = true;

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';

#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism?  This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = false;

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy?  (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;

#If using none of the above options, what should we be using for the query string
#variable?  (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';

Re: "No Input File" Installation Problems

Posted: Sun Dec 03, 2006 5:00 am
by casidougal
Hi...I'm desperately trying to get pretty urls on Godaddy Linux shared hosing using CMSMS Maui. I thought I found the solution with Steve Hong's post but I tried it and it's not working.  Does anyone else have any insight into this?  Thanks in advance.