Menu

#26 Thread paging is messed up.

closed-fixed
Interface (27)
8
2004-05-11
2004-05-10
MrCoffee
No

Thread paging is not working properly when a forum is viewed.
It will not page at 5, 10, or 25 threads. It will only page at 50
threads. If I try to set it to page at 5 threads, 10 or 25 threads,
I get an empty page. A link that shows the problem is available
on request. I am using phpwsBB version 9.2.

MrCoffee

Discussion

  • Don Seiler

    Don Seiler - 2004-05-10
    • priority: 5 --> 8
    • assigned_to: nobody --> rizzo
    • status: open --> open-accepted
     
  • Don Seiler

    Don Seiler - 2004-05-10

    Logged In: YES
    user_id=61900

    There are a couple of issues wrong here. First is I'm using
    "listthreads" instead of "viewforum". Once that is fixed
    the larger problem is exposed in that I'm not yet sure of
    how to pass the forum ID into the pager so that subsequent
    calls are still only within that forum.

     
  • Don Seiler

    Don Seiler - 2004-05-11
    • status: open-accepted --> closed-accepted
     
  • Don Seiler

    Don Seiler - 2004-05-11

    Logged In: YES
    user_id=61900

    Fixed this in CVS.

    I was creating a new forum session object with every load.
    Two bad things with this are:

    1) It's a waste.
    2) Once I start paging I lose the ID.

    So the fix was really to only re-create forum object when an
    ID is passed.

    I'll be releasing 0.9.4 later today to include this fix.

     
  • Don Seiler

    Don Seiler - 2004-05-11
    • status: closed-accepted --> closed-fixed
     
  • MrCoffee

    MrCoffee - 2004-05-11

    Logged In: YES
    user_id=1039062

    I went ahead and installed the upgrade. However, it is still showing
    me an empty page when ever I try getting to page at 5, 10, or 25
    threads. It could either be safe mode used by the website hotel, or it
    could be something different. Who knows. Is there something I might
    have missed after doing the upgrade?

    MrCoffee

     
  • Don Seiler

    Don Seiler - 2004-05-12

    Logged In: YES
    user_id=61900

    The old PHPWS_MAN_OP might have been cached. Try logging
    out and back in or exiting your browser to clear the session
    and try again.

     
  • MrCoffee

    MrCoffee - 2004-05-12

    Logged In: YES
    user_id=1039062

    Well, I tried that. Then, I decided to use another trick. I backed up
    the old database, then created a new database using the same
    database user name and password. Then, I told PHPWS to use that
    new database. Then, I uninstalled the PHPWSBB, and removed all the
    old copies. I put the new upgrade in place, then got into the boost
    module and reinstalled it. I ended up with a completely new message
    board with no messages. Then, I told PHPWS to go back to using the
    old database, which had all the messages safely stored. Eureka! It
    works now, and the paging works correctly.

    There is one other thing. I would like the paging to default at 5
    threads rather then 50. Is there a way to set default paging?

    MrCoffee

     

Log in to post a comment.