Welcome Guest, Not a member yet? Register   Sign In
Can't get this URI to work...

Hi there,

I have a controller named "cms" in the "controllers/admin" folder

The index function in the cms controller requires the parameter $pageid

When I call this URL...


I get the error message...

Unable to load the requested file: 1.php

But according to the user_guide it should be treating the "1" as a parameter. See below.


Instead it seems to be trying to load a page named 1.php

Any idea's why I'm getting this error?


[eluser]Colin Williams[/eluser]
Any routing happening? Do the URIs for /admin/cms and /admin/cms/index work? Any custom mods to the Router class at all?

Hey sorry for the hassle.

I don't even know what I did but it's working now.

Weird. Brain fart!

Theme © iAndrew 2016 - Forum software by © MyBB