Welcome Guest, Not a member yet? Register   Sign In
Local server pagination links in 1.7.2
#1

[eluser]sqwk[/eluser]
I recently moved a CI site to a local server to continue development and suddenly the pagination links break.

I explicitly set
Code:
$config['page_query_string'] = FALSE;

Nevertheless, all links show up like this:

Code:
domain.dev/foo/bar/&per_page=10

This would work if the & is a ?, but really I would like neither…

Also, the pagination links do not seem to update: Page 1 is always selected. (And yes, I set the uri_segment to 3)
#2

[eluser]pickupman[/eluser]
In config/config.php try changing the value for:
Code:
$config['uri_protocol'] = 'AUTO'; //change this to another value listed in comments above it
#3

[eluser]sqwk[/eluser]
Thanks, actually I have the uri_protocoll set to PATH_INFO to also be able to use query strings.

I ended up rewriting (extending) parts of the create_links function of the Pagination Library.




Theme © iAndrew 2016 - Forum software by © MyBB