Pagination 404 on Page 2

#5
[eluser]gscharlemann[/eluser]
After adding your changes, I still get the 404 error and the URL looks like:

http://www.mysite.com/index.php/contact.html/2

The controller is located within a folder labeled contact, so I think the URL should be:
http://www.mysite.com/index.php/contact/contact.html/2

I need to learn more about route and uri helpers.

i also realized that all of the values are displaying because I'm not sending the limit and offset to the database query in the model. So if my limit per page is 10 and I get to page 2, my limit will be 20 and offset 10, correct?


Messages In This Thread
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 06:51 AM
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 07:07 AM
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 07:17 AM
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 08:15 AM
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 10:11 AM
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 11:36 AM
Pagination 404 on Page 2 - by El Forum - 03-28-2009, 12:07 PM
Pagination 404 on Page 2 - by El Forum - 06-26-2009, 07:18 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.