Welcome Guest, Not a member yet? Register   Sign In
Help me to solve this error "No input file specified."
#1

[eluser]LNS[/eluser]
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

[eluser]Michael Wales[/eluser]
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

[eluser]LNS[/eluser]
Thanks. I changed uri_protocol = REQUEST_URI. But it also occur this error.

Code:
/*
|--------------------------------------------------------------------------
| 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

[eluser]Michael Wales[/eluser]
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

[eluser]LNS[/eluser]
[quote author="Michael Wales" date="1216394709"]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).[/quote]
I don't use .htaccess file.

[quote author="Michael Wales" date="1216394709"]Did you try any of the other settings in URI Protocol?[/quote]
Yes, I changed other option, but ... It don't works.
#6

[eluser]LNS[/eluser]
Other solution?! Is this a bug in CI 1.6.1?
#7

[eluser]Michael Wales[/eluser]
Who is your webhost?
#8

[eluser]LNS[/eluser]
My website: http://www.lib4you.com/ on GodAddy hosting. I test on localhost, it works well.
#9

[eluser]Michael Wales[/eluser]
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

[eluser]LNS[/eluser]
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!




Theme © iAndrew 2016 - Forum software by © MyBB