ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help me to solve this error "No input file specified."

July 18, 2008 3:53am

Subscribe [2]
  • #1 / Jul 18, 2008 3:53am

    LNS

    10 posts

    Hi all,

    I can run well this website on localhost. But, when i publish this website on http://www.lib4you.com/ . I don’t run any page on this website. It occur a error: “No input file specified.”.

    This is my phpinfo() file: http://www.lib4you.com/info2.php

    Please help me to solve this problem! Thanks very much!

  • #2 / Jul 18, 2008 5:41am

    Michael Wales

    2070 posts

    Change the URI Protocol within config/config.php - there are various settings there documented within the comments. REQUEST_URI seems to be a winner on most every host.

  • #3 / Jul 18, 2008 6:06am

    LNS

    10 posts

    Thanks. I changed uri_protocol = REQUEST_URI. But it also occur this error.

    /*
    |--------------------------------------------------------------------------
    | URI PROTOCOL
    |--------------------------------------------------------------------------
    |
    | This item determines which server global should be used to retrieve the
    | URI string.  The default setting of "AUTO" works for most servers.
    | If your links do not seem to work, try one of the other delicious flavors:
    |
    | 'AUTO'            Default - auto detects
    | 'PATH_INFO'        Uses the PATH_INFO
    | 'QUERY_STRING'    Uses the QUERY_STRING
    | 'REQUEST_URI'        Uses the REQUEST_URI
    | 'ORIG_PATH_INFO'    Uses the ORIG_PATH_INFO
    |
    */
    $config['uri_protocol']    = "AUTO";
  • #4 / Jul 18, 2008 7:25am

    Michael Wales

    2070 posts

    Are you using a .htaccess file? Delete it so we start over at step 1 (make sure you add in index.php to your config.php again).

    Did you try any of the other settings in URI Protocol?

  • #5 / Jul 18, 2008 10:47am

    LNS

    10 posts

    Are you using a .htaccess file? Delete it so we start over at step 1 (make sure you add in index.php to your config.php again).

    I don’t use .htaccess file.

    Did you try any of the other settings in URI Protocol?

    Yes, I changed other option, but ... It don’t works.

  • #6 / Jul 18, 2008 10:52pm

    LNS

    10 posts

    Other solution?! Is this a bug in CI 1.6.1?

  • #7 / Jul 19, 2008 3:56am

    Michael Wales

    2070 posts

    Who is your webhost?

  • #8 / Jul 19, 2008 4:03am

    LNS

    10 posts

    My website: http://www.lib4you.com/ on GodAddy hosting. I test on localhost, it works well.

  • #9 / Jul 19, 2008 4:13am

    Michael Wales

    2070 posts

    Are you using their Windows hosting or Linux hosting?

    This Google search should get you pointed in the right direction - basically, GoDaddy is a crappy host. On their Linux hosting you should be okay (well, your app will work - it will just be insanely slow, as all GoDaddy hosted sites are).

    Personally, I highly recommend changing hosts. GoDaddy is only good for mom-and-pops that want to use basic HTML - GoDaddy’s customer is the guy who saw the commercial and decided he wanted to start grandmasuescookiesinalabama.com and his cousin Ricky is going to design the website in MS Word.

  • #10 / Jul 19, 2008 4:42am

    LNS

    10 posts

    Oh, thanks… I use linux hosting. What do I change special configuration’s hosting? CI don’t working on GodAddy hosting. Why? Please explain it to me!

    I test CI demo and there are the results:
    + http://www.lib4you.com/test_ci_1.6.1/ [OK]
    + http://www.lib4you.com/test_ci_1.6.1/index.php/welcome [Error: No input file specified.]

    Can you introduce any hosting working with CI 1.6.*? Thanks very much!

  • #11 / Jul 19, 2008 5:03am

    aizuikmal

    2 posts

    Try Dreamhost instead.

    If you have problem with htaccess in Dreamhost, check this out: http://codeigniter.com/wiki/Dreamhost_.htaccess/

  • #12 / Jul 19, 2008 5:50am

    Michael Wales

    2070 posts

    CI will work on GoDaddy - you just have to really work on it - the Google search I linked to has literally hundreds of Wiki entries, forum posts, and more concerning GoDaddy.

    Personally, GoDaddy sucks - it’s a horrible host. Dreamhost is a good one although I had issues with downtime. I use ASmallOrange.com and have been very happy with them thus far.

  • #13 / Jul 20, 2008 12:30am

    LNS

    10 posts

    Thanks you.

    I solved this problem.
    This is a solution:

    uri_protocol = QUERY_STRING
    index_page = index.php?

    So url like: http://www.lib4you.com/index.php?/view/detail/133.html

    But i don’t use my website with a .htaccess file. My .htaccess file:

    Options -Indexes
    Options +FollowSymLinks
    DirectoryIndex index.php
    
    
    RewriteEngine on
    RewriteBase /
    RewriteCond $1 !^(index\.php|website|templates|robots\.txt)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?$1 [L]

    Can you help me to solve my htaccess?! Thanks!

  • #14 / Jul 21, 2008 9:43pm

    hvalente13

    67 posts

    Hi,

    If you don’t mess much with your config file CI must be ok on any host!

    If you want a cheap and fast has hell host give this a look:

    Site5

    I’m changing all my websites to it!

    Of course you have always Engine Hosting from our guys of Ellis Lab.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases