Pagination with problem |
Hello , I am using paging IC , did everything as is in the case of the documentation , but I have a problem when I click the link to view other data it gives page not found and my url looks like this: http://localhost/my_program/page/2
what am I doing wrong ? my controller: Code: public function index($offset = 0) { My model: Code: public function count_paginacao($limite, $offset) { Thanks ^^
Hi,
Try this url : http://localhost/my_program/index.php/page/2 If it works you need to use an .htaccess to remove the index.php from the url.
thanks for answering,
did not work , I went up the system on my server , I would like if possible to come in and look what is happening , follow the link: www.claranet.com.br/sgi3 User : admin@admin.com Password: 123456 the menu click entries and leaders , will see that aperecendo is as it should be but does not update the table and loses the setting, I configured the routers for $route ['leaders/:num'] = ' leaders ' ; and I configured uri but still does not work thank you Ps: i am brazilian ^^
Problem solved,
had not put base_url in the flame of css and js and not put the function index in the paging : Code: $config['base_url'] = base_url() . 'leaders/index/'; Thanks for the answer ^^ you always helping me. |
Welcome Guest, Not a member yet? Register Sign In |