In the View: <?php echo Pagination::instance('mypagination')->render(); ?>
The first page is displayed well with pagination. But click on the second page gives 404 error because the second link is advertlist/2 but not advertlist/index/2. Can you tell me why it happens?
Somthing wrong with paging. On the second and on the third pages the same elements are shown (there are only three pages at all). URL is different, but on the third page (URL ends on 3) style of pager is like on the second page.
If I enter 4-th, 5-th page etc (manually) - the second page is displayed.