![]() |
vb's pagination
im trying to use vb's pagination but it isnt working
i keep getting division of by zero on line 1611 in includes/functions.php. this is the code: PHP Code:
it show the lil page nav page with "Page of 0" |
Hmm ... would be interesting to know which line is line 1611 ;)
Anyway, I don't see a division in that code so it must come from a function being called. |
Try adding $perpage=10; before the call to construct_page_nav()
|
ok got it working but its not display all the pages possbily, there is 4 pages possible but it only shows "Page of 4" "1" "2" ">" "last>>"
each "blahblah" represents another box |
You also need to define $pagenumber before you call construct_page_nav(). Set it to the current page number the user gave to you in their GET request.
I had the same issue, and this solved it. |
This thread is almost a year old, I think An-net solved the issue. ;)
|
All times are GMT. The time now is 07:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|