Welcome Guest, Not a member yet? Register   Sign In
Issue with View controller method
#1

Hi,

Having a strange issue that i can't seem to figure out or find the answer for

When i use "public function view" in my controller to display my page i get a 404 error, when i use "public function index" the page displays no problem. However i want to use the "view to have a theme"

This happens when i just try to browse to "index.php/controllername
with public function view set, if I browse to "index.php/controller/view/page" i can see the page ok

I have tried with no other routes except the default and adding in a route however it doesn't seem to make a difference, any thoughts?

Using the latest version of codeigniter
try creating another controller and view and they all seem to do the same thing.
Reply


Messages In This Thread
Issue with View controller method - by Adam_CC - 06-01-2015, 12:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB