No URI present. Default controller set |
Sorry for the multiple threads but I'm being pressured.
In application/config/config.php, the Base Site URL line is set as: $config['base_url'] = 'http://'.$_SERVER['SERVER_NAME']; But I get the error "No URI present. Default controller set." and a blank page. If I echo the value of '$config['base_url']' it returns "localhost" which I presume is incorrect since I'm running the server on a local computer but in a VM (VirtualBox) and accessing it from outside the VM. If this is the problem, what do I do to fix it? I need to warn that the code I'm working on was written for CI version 2.1.3 and I'm running it on Linux with the latest versions of mySQL and PHP. |
Messages In This Thread |
No URI present. Default controller set - by drhowarddrfine - 07-14-2015, 02:58 PM
RE: No URI present. Default controller set - by CroNiX - 07-14-2015, 05:20 PM
RE: No URI present. Default controller set - by drhowarddrfine - 07-14-2015, 05:54 PM
RE: No URI present. Default controller set - by twpmarketing - 07-14-2015, 09:57 PM
RE: No URI present. Default controller set - by drhowarddrfine - 07-15-2015, 04:23 AM
RE: No URI present. Default controller set - by twpmarketing - 07-15-2015, 04:47 AM
RE: No URI present. Default controller set - by drhowarddrfine - 07-15-2015, 07:24 AM
RE: No URI present. Default controller set - by mwhitney - 07-15-2015, 07:55 AM
RE: No URI present. Default controller set - by drhowarddrfine - 07-15-2015, 08:47 AM
RE: No URI present. Default controller set - by mwhitney - 07-15-2015, 10:08 AM
RE: No URI present. Default controller set - by twpmarketing - 07-15-2015, 03:36 PM
|