Welcome Guest, Not a member yet? Register   Sign In
[solved] Shoot me or tell me why URI CLASS doesn't work.Isn't it similar?
#1

[eluser]Jan_1[/eluser]
I don't understand why my URI CLASS works fine in one Module and not in an other.
I do get '404 page not found' when I put something after the controllers name in the url (segment 2 and more)
There is no special config. Am I mad?

Could someone please give me a hint what to look for? What should I check?

Code:
class Replacementcar extends Front_Controller
{
public function __construct()
{
  parent::__construct();
}

public function index()
{
  $this->insurances(); // set the method for the index page
}

public function insurances()
    {  
  echo $this->uri->uri_string();
}
}
does not work when i put a second segment in url

Code:
class Resources extends Front_Controller
{
public function __construct()
{
  parent::__construct();
}

public function index()
{
  $this->insurances(); // set the method for the index page
}

public function insurances()
    {  
  echo $this->uri->uri_string();
}

}
shows me everything i put behind index.php/resources/


Messages In This Thread
[solved] Shoot me or tell me why URI CLASS doesn't work.Isn't it similar? - by El Forum - 02-14-2012, 10:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB