Paging URI |
[eluser]Unknown[/eluser]
Hi, I'm having problem on handling pagination URI segments. It behaves nice when it recognized the page using a segmented value, but for the first page without any value in the segment it returns error. For example : http://localhost/ci/request.html/20 (this uri behaves correctly) http://localhost/ci/request.html (this returns a '404 Page Not Found' message) Here are the details of my configurations and codes. Please advice what went wrong ? routes.php Code: $route['default_controller'] = "maincontroller"; config.php Code: $config['base_url'] = "http://localhost/ci/"; request.php controller Code: $this->load->library('pagination'); Thanks, JarBis |
Messages In This Thread |
Paging URI - by El Forum - 10-03-2008, 06:06 AM
Paging URI - by El Forum - 10-03-2008, 09:00 AM
|