No input file specified.

Support for Traq 3.x
Post Reply
User avatar
Andy
Newbie
Posts: 7
Joined: Fri Oct 03, 2014 2:37 pm

No input file specified.

Post by Andy » Fri Oct 03, 2014 2:41 pm

I "installed" Traq.io in my private VPS. The link is here:
 
http://bugs.fairese.com/
 
I get the error:
 
"No input file specified."
 
Whenever I go to login.
 
http://bugs.fairese.com/login
 
My Apache error log has the following information:
 
<blockquote class="ipsBlockquote">mod_fcgid: stderr: PHP Fatal error: Call to a member function select() on a non-object in /home/fairese/domains/bugs.fairese.com/public_html/vendor/bootstrap.php on line 69
 
</blockquote>
 
I haven't modified the installation files at all before uploading, so I have no idea why I'm getting this. Can somebody please help me get this up and running?

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: No input file specified.

Post by Jack » Fri Oct 03, 2014 4:25 pm

When you installed Traq, did you run through the entire installation process (http://bugs.fairese.com/install) without any issues?
 
Also, check the database to see if the "plugins" table exists.

User avatar
Andy
Newbie
Posts: 7
Joined: Fri Oct 03, 2014 2:37 pm

Re: No input file specified.

Post by Andy » Fri Oct 03, 2014 10:37 pm

Yeah the installation itself was smooth with no problems at all.
 
Can confirm the Plugins database does exist.

User avatar
Andy
Newbie
Posts: 7
Joined: Fri Oct 03, 2014 2:37 pm

Re: No input file specified.

Post by Andy » Sat Oct 04, 2014 4:22 am

It looks like this input file error is not related to that fatal error... Still looking for a solution.

User avatar
Andy
Newbie
Posts: 7
Joined: Fri Oct 03, 2014 2:37 pm

Re: No input file specified.

Post by Andy » Sat Oct 04, 2014 4:26 am

I just figured it out.
 
The provided .htaccess file is malformed.
 
The provided .htaccess file looks like this:
 
<blockquote class="ipsBlockquote">
 
RewriteEngine On
<div>RewriteCond %{REQUEST_FILENAME} !-d</div>
<div>RewriteCond %{REQUEST_FILENAME} !-f</div>
<div>RewriteRule ^(.*)$ index.php/$1 [L]</div>
</blockquote>
 
The last line NEEDS a question mark (?) in order to work properly. So the last line should be:
 
<blockquote class="ipsBlockquote">RewriteRule ^(.*)$ index.php?/$1 [L]
 
</blockquote>

User avatar
Jack
Advanced Member
Posts: 666
Joined: Fri Mar 27, 2009 7:37 pm
Location: Australia

Re: No input file specified.

Post by Jack » Sat Oct 04, 2014 7:17 am

One of the biggest annoyances with PHP for me is that every server is setup differently.
 
Some servers work with "index.php/$1" and others work with other variants.

User avatar
Andy
Newbie
Posts: 7
Joined: Fri Oct 03, 2014 2:37 pm

Re: No input file specified.

Post by Andy » Sat Oct 04, 2014 1:30 pm

I feel ya, this should probably be a note in the installation txt.

User avatar
slawrence10
Newbie
Posts: 6
Joined: Fri May 21, 2010 6:16 pm

Re: No input file specified.

Post by slawrence10 » Fri Oct 17, 2014 9:19 pm

Thanks, this fixed it for me.

User avatar
Extreme43
Newbie
Posts: 2
Joined: Tue Feb 19, 2013 2:07 pm

Re: No input file specified.

Post by Extreme43 » Wed Dec 31, 2014 12:13 pm

Hey Guys,
 
The problem relates to this:
http://stackoverflow.com/questions/1455 ... -specified
 
Adding the question mark causes issues when trying to Add a new milestone and some other functionality.
 
Resolution for me was to change the line to the following:
RewriteRule ^(.*)$ index.php [L]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest