No input file specified. |
Hello,
I was running a tutorial from CodIgniter: https://ellislab.com/codeIgniter/user-gu...pages.html When I try to access home or about pages, I get an error: No input file specified. Why do I get this error and how do I resolve it please? CodeIgniter is installed in sub-directory of my existing site. Thanks!
Some code would be nice... Did you change the .htaccess file? if you did, then add a "?": RewriteRule ^(.*)$ index.php?/$1 [L]
Website: http://avenir.ro
(01-15-2015, 11:53 PM)Avenirer Wrote: Some code would be nice... Did you change the .htaccess file? if you did, then add a "?": RewriteRule ^(.*)$ index.php?/$1 [L] Hi Avenirer, Thanks for the reply! I used exactly the same code as on the tutorial: https://ellislab.com/codeIgniter/user-gu...pages.html I actually solved the issue by creating a new sub-domain on my hosting and placing the code in it's root. Before it was just in the sub-folder of the main site of my hosting. My .htaccess file is empty. I guess it is not needed now. My only concern is that when I access the index page of my url I get a content of a "home" page: http://profileskin.com/index.php Is it normal? I was getting CodeIgniter welcome message on index.php before, generated by welcome.php controller. Is it because I changed the routing as it is described in tutorial? But why is it calling "home"? Is it because of this variable that set in pages.php controller: public function view($page = 'home') Please explain if you can. Thanks again! |
Welcome Guest, Not a member yet? Register Sign In |