i created project using ci(version 3.0.0), , works in xampp localhost. , upload project sub domain giving error click here.
i handle router's , config setting well. error?? how avoid this?? there answers, not suit this.
config.php
$config['base_url'] = ''; $config['index_page'] = ''; routes.php
$route['default_controller'] = 'shop'; $route['404_override'] = ''; $route['translate_uri_dashes'] = false; .htaccess file
<ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php/$1 [l] </ifmodule>
change name of controller, model, , other class capitalize.
example : own controller test.php change test.php
it should work.
its because server linux, , linux case sensitive.
Comments
Post a Comment