The Dreaded No Input File Specified

md462x / 2008-05-28 05:10:14   

Hello Good People.

I've installed everything to my site via FTP.
Changed permissions to 777 on everything.

Still, I keep getting the dreaded 'no input file specified' when navigating to the install.php

I've setup so many of these buggers (wordpress,pixelpost,etc.) and never hit a wall this hard.

Any suggestions?

AntoineLafontaine / 2008-05-28 05:25:02   

Two things that comes to mind.

1. you uploaded the files, but didn't rename the htaccess file to .htaccess (feels unrelated, but is a common thing that is overlooked)
2. you might have upload indexhibit's folder and not just it's content and the path you're trying to access is actually wrong...

Basically this error means that your server is trying to run PHP, but the file doesn't exist/isn't found... so the path is possibly wrong.

You might have already checked those, if so this might not be very helpful. In that case, more information on your setup might help figure out a bit more.

Hope this helps.

ceeb / 2008-05-28 05:28:05   

It sounds to me like a PHP problem.

Vaska A / 2008-05-28 08:19:56   

It's no an error not that comes from Indexhibit that's for sure. I've never been able to figure out where it comes from...maybe PHP...maybe TextPattern?...

I bet you have conflicts...possibly with htaccess files.

md462x / 2008-05-28 16:27:07   

Thanks for your suggestions... i was able to get past the 'no input file specified' by changing my path in install.php from:

require_once './config/config.php';

to

require_once 'mydomain.com/ndxz-studio/config/config.php';

now the installer prompts me for my language, and i get all the lovely green YES YES YES

However when i supply my database info to create the database on page two, it tells me:

No direct script access allowed
Warning: Cannot modify header information - headers already sent by (output started at http://www.mydomain.com/ndxz-studio/config/config.php:1) in /home/content/m/y/d/mydom/html/ndxz-studio/install.php on line 379

Heavens, what now?

md462x / 2008-05-28 16:44:48   

Time out!!

Once i read what i wrote a second time to make sure it made sense, i realized what was going on... Sometimes you just have to actually read your own problem in writing : )

Paths were all messed up... had no business messing around with install.php, just created a second problem.

We're all figured out here... Thanks so much for your help. You are all kind people.

Best!
Mike

Vaska A / 2008-05-28 17:50:38   

Can you elaborate on what the problem was please?

Eloisa A / 2008-05-28 19:54:47   

It may help future users :)

md462x / 2008-05-28 20:29:19   

AntoineLafontaine had it right above. You can type in:

/any_number_of_wrong_paths /install.php

and get the response 'No Input File Specified', since that comes from the server, and not the install.php itself.

I made the fatal assumption that 'No input file specified' was coming from the install.php rather than the server, which kept me searching for another problem, including messing with the install.php code.

After that tweak it started working not due to my changes to the code, but the fact i got the path right that time around. My second problem of 'No Direct Script Access' was simply a result of me messing with the install script and creating a new problem for myself.

Lessons Learned:
(1) always check your path
(2) 'no input file specified' comes from the server, not the script
(3) don't take the engine apart before checking to see if you have any gas

AntoineLafontaine / 2008-05-29 04:49:06   

My hunch was not so far from the truth I see... glad you figured it out!

(2) 'no input file specified' comes from the server, not the script
and to be even more specific, it comes from the PHP module. This will make a nice post to refer to if this error comes back again.

And thanks for posting details about your problem and solution, like Eloisa mentioned, this might save some trouble for future users.

Vaska A / 2008-05-29 05:53:01   

I have wondered what caused this since day one...never had the time to figure it out...

But, I still don't understand how the path is wrong if the files are there? What exact scenario triggers the message?

AntoineLafontaine / 2008-05-29 06:53:08   

I think that md462x just mistyped the path (a very simple mistake we all make) to the file the first time but the error message gave him the impression that the php file had been run and encountered an error so he started to look for a problem in indexhibit which was the file he "taught" he had run, which was legitimate but not the source of the problem indeed.

The thing is, if you search on the web, this error is given by the php interpreter in apache when anything with a .php is accessed on a server, without any check to see if there's a file or not before running the php interpreter. There must be ways to setup apache in a way to avoid this message (by checking if there's a file before handing over execution to PHP) when the path is wrong and just return a 404 error or something, but I guess it depends a lot on the server admins...

cestnormalca / 2010-09-18 17:55:59   

Hello there !

I've upload inexhibit (juste the content of the path exhibit) to my ftp server, but this "No input selected files" appears.

I've changed the permissions, renamed 'htacces' to '.htacces', moved the content from the root of my ftp to a folder named 'www' (that hosted my former website whiche worked perfectly), tried to rename this path mydomain.com

Nothing works !
I need any kind of help !
thx !

cestnormalca / 2010-09-18 18:14:45   

And I even tried to edit the "install.php" as md462x said he did (changed the './config/config.php' to 'mydomain.com/ndxz-studio/config/config.php')

And I renamed the config.example.php to config.php.

Still doesn't works...what about ?

cestnormalca / 2010-09-18 18:20:53   

here is the prob :
my webpage

cestnormalca / 2010-09-18 18:23:30   

Waow....so tired, I type mydomain.COM as it was my domain.FR

So don't care about anythng up there....

jalexandre1 / 2012-07-06 20:49:48   

Hi there all,

Im very new to this all and im having a problem.

I have my site up and running but all of the links lead to a page that says "No input file specified. "

there is content in these folders and im not sure what is causing this.

here is link to the site: jalexandre.com

Vaska A / 2012-07-06 21:32:27   

Check your htaccess file...

jennugent / 2012-07-08 21:43:20   

How do you check your htaccess file? I've been on the phone with my hosting (godaddy) and they say they can't help me. what is going on?

DECHIRICO / 2012-07-14 13:28:20   

Sorry guys, I got the same problem...
"No input file specified" ...

Vaska A / 2012-07-14 13:33:09   

htaccess file problem. Delete it. Disable your clean url setup. Read the tutorial in help about clean url's.

verlaine / 2012-08-16 21:34:52   

I am having this issue as well. I am using Bluehost. I've uploaded to my public_html folder, changed the file permissions, changed to .htaccess. However, I am receiving at 404 message after a long loading period. All of the files are there.

Here is my website: bobbyscheidemann.net/ndxz-studio/…

Any help is appreciated.

verlaine / 2012-08-16 21:46:03   

Sorry, I should have specified that at first I was receiving the No Input File, then later (and now) I am receiving a 404.

andre2000 / 2013-06-25 17:26:24   

Hi everyone I see this thread has not been touched in over 11 months but I am having the same problem. I have figured out what is going on but I need help rectifying it. So most of my indexhibit page seems fine at the moment but when i try to creat ne exhibits for example an about page under the main section when I publish that the no input file shows up. I have realised that it is because the page i create has a path that says mywebsite.com/main/… while when i click on it it trys to go to mywebsite.com/index.php/main/… how can i make these paths match up?

andre2000 / 2013-06-25 17:29:04   

those links were just an example the actual website is arttunnelsmithfield.com

Vaska A / 2013-06-25 17:30:07   

"htaccess file problem. Delete it. Disable your clean url setup. Read the tutorial in help about clean url's."

I'm closing this thread because it pertains to the old version. There are many threads around here on this topic already or you can start a new one pertaining to v2.

This thread has been closed, thank you.