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

[eluser]tommo.wilson[/eluser]
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...

example.com/index.php/admin/cms/index/1

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.

example.com/class/function/ID

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

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

Thanks
Tom


Messages In This Thread
Can't get this URI to work... - by El Forum - 01-20-2010, 04:27 AM
Can't get this URI to work... - by El Forum - 01-20-2010, 05:03 AM
Can't get this URI to work... - by El Forum - 01-20-2010, 05:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB