![]() |
codeigniter 404 error on live server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: codeigniter 404 error on live server (/showthread.php?tid=70601) |
codeigniter 404 error on live server - iddrisu sumaila - 05-02-2018 i uploaded my app on line and i am getting this error Code: <!DOCTYPE html> RE: codeigniter 404 error on live server - ciadmin - 05-02-2018 The most common reason for things lkike this is case sensitivity, if you develop on Windows and deploy to Linux. You didn't say which URI caused the problem, but if your default homepage, then check that your controller is named Welcome.php and not welcome.php. Windows doesn't care, but the rest of the world does. ps - Using "code" tags makes your post more readable RE: codeigniter 404 error on live server - iddrisu sumaila - 05-02-2018 (05-02-2018, 09:36 AM)ciadmin Wrote: The most common reason for things lkike this is case sensitivity, if you develop on Windows and deploy to Linux. pls I have done all of that but it is still the same problem RE: codeigniter 404 error on live server - ciadmin - 05-02-2018 Help us to help you - what URI are you using that gives a problem? RE: codeigniter 404 error on live server - alamowais - 06-22-2018 use the following in config.php $config['base_url'] = ''; $config['index_page'] = ''; $config['uri_protocol'] = 'AUTO'; $config['url_suffix'] = ''; in .htaccess (This should place out side application folder) <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> in autoload.php $autoload['helper'] = array('url'); |