In localhost my site runs correctly, after i publish it in a test server it does not work and it prints this:
My login page runs without problems...
But after i click "login", i receive the error, but the URL is correct...
my config.php
$config['base_url'] = 'http://merge.***.it/merge/';
$config['index_page'] = 'index.php';
routes.php
$route['default_controller'] = 'auth/login';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
Try this. Put blank in index_page.
$config['index_page'] = '';
& Use .htaccess in your root folder
RewriteEngine on
RewriteCond $1 !^(index\.php|phpinfo\.php|Charts|assets|uploads|application|sitemap\.xml|robots\.txt|gyan\.rss)
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]