CodeIgniter Forums

Full Version: URI problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello, I'm having an issue calling a page with a value passes with it

basically calling results in a 404 and in the logs it shows 404 Page Not Found --> Editserver/1 but if i call the same page with out the /1 or even just without the 1, the page loads (with empty table of course).

The 1 is the server ID to look up the info for and is read with $this->uri->segment(3), this is also coming from a text link, so i cant post it to the page

the folder structure is controllers/administration/EditServer.php

Thanks for your help.

El Forum

[eluser]Gavin Blair[/eluser]
what does your controller look like?

El Forum

[eluser]Nikhil Vijayan[/eluser]
EditServer is your controller .. you havent specified the method ..

if you are using index function then call it like this