Welcome Guest, Not a member yet? Register   Sign In
Cant't set $route['default_controller'] to 'index'?
#1

[eluser]chefnelone[/eluser]
Hello

I was having the "No input file specified." message error which I fixed with setting my .htaccess to:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|public|user_guide|robots\.txt|static)
RewriteRule ^(.*)$ /index.php?/$1 [L]

My issue now is that I can't set:
$route['default_controller'] = "index";

It gives me a 'blank' page.

if I set it to:
$route['default_controller'] = "welcome";
it works fine

But not with 'index'.

Where should I look to fix this?

this is only happening in the remote server, in localhost runs fine.
#2

[eluser]InsiteFX[/eluser]
Maybe because CodeIgniter runs with it's own index.php file!

Enjoy
InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB