28 July 2009

"No input file specified." ExpressionEngine Issue Resolved

This morning I woke up to a downed site. I could log into the administration section of the site, but none of the public-facing pages worked. Looks like this might be specific to ExpressionEngine on Dreamhost, but I’m not completely sure about this.

Since we hadn’t made any changes to the site in a long while I was a little confused about what could be causing the issue. Turns out it ended up being a small change that was needed in the .htaccess file.

Here is a copy of line 3 in the .htaccess code before the change:

RewriteRule ^(.*)$ /index.php/$1 [L]

Turns out that I just needed to add a ‘?’ right after the ‘php’ like this:

RewriteRule ^(.*)$ /index.php?/$1 [L]

Once I made this little change everything was back up and running.

Again, this change looks like it was specific to Dreamhost. I checked out a few other sites that use ExpressionEngine on other hosts where I know the .htaccess file hasn’t been changed, and they are still up and running.

If somebody else knows what might have caused the change in functionality please feel free to weigh in.

This entry was posted on Tuesday, July 28th, 2009 at 9:29 am and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed.

Both comments and pings are currently closed.

Comments

2 Comments Discussion Feed

  1. Lisa Wess

    Did you ask DH if they changed the server? This can happen when PHP gets upgraded from 4.x to 5.x, or from PHP as an Apache Module to CGI; often the former happens and the latter gets done at the same time, at least based off what I’ve seen in the support forums. =)


  2. Patrick Ashamalla

    It was definitely a DH thing. Looks like it was the latter. It definitely wasn’t an issue ExpressionEngine. Seems like there are a lot of problems going on with DH lately…

    Thanks for the response!