Welcome Guest, Not a member yet? Register   Sign In
Please, I am getting crazy with the pagination class :(
#2

[eluser]Althalos[/eluser]
I'm not a pro myself, but my guess is that it would work if you would put $config['base_url'] = site_url('articles/index');

I can see two things that could go wrong when you put $config['base_url'] = site_url('articles');

1) The pagination class looks up the third URI segment by default. In your case, the page number would actually be second segment
2) The second segment normally is the method. So if you link to example.com/articles/2 instead of interpreting that as page two, it might look for a method called 2 and this might be what causes the 404.


Messages In This Thread
Please, I am getting crazy with the pagination class :( - by El Forum - 07-17-2010, 03:04 PM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-17-2010, 06:04 PM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-17-2010, 10:53 PM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-18-2010, 02:38 AM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-18-2010, 02:54 AM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-26-2010, 07:31 AM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-26-2010, 08:00 AM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-26-2010, 08:12 AM
Please, I am getting crazy with the pagination class :( - by El Forum - 07-26-2010, 09:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB