Welcome Guest, Not a member yet? Register   Sign In
Routing problem on Live server
#1

My codeIgniter application only shows default controller on live server but runs just fine on local server, the default controller has a view method which displays login page as the first page but submit button wont submit upon providing login details my index.php page is set to production environment below are my config and route files . please help



// Config.php 

$config['base_url'] = 'http://phpstack-114475326109.cloudwaysapps.com/';

$config['index_page'] = 'index.php?';


$config['uri_protocol']    = 'REQUEST_URI';

//end config.php


//routes.php


$route['(:any)'] = 'pages/view/$1';
$route['default_controller'] = 'pages/view';

$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
//end config
Reply


Messages In This Thread
Routing problem on Live server - by Duk - 09-13-2017, 07:24 AM
RE: Routing problem on Live server - by InsiteFX - 09-13-2017, 08:24 AM
RE: Routing problem on Live server - by Duk - 09-14-2017, 05:24 AM
RE: Routing problem on Live server - by InsiteFX - 09-14-2017, 08:40 AM
RE: Routing problem on Live server - by Duk - 09-14-2017, 11:59 PM
RE: Routing problem on Live server - by Duk - 09-19-2017, 01:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB