The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Horde is not remembering message sort order

Discussion in 'General Discussion' started by dxm, May 14, 2009.

  1. dxm

    dxm Active Member

    Joined:
    Aug 1, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    [SOLVED] Horde is not remembering message sort order

    When I change the sort order of messages in my inbox, i.e. newest messages at the top, and then log out, when I log back in the messages are sorting with the oldest messages first.
    I would expect horder to 'remember' my preference here.
    Is this not the case?


    thanks

    :confused:
     
    #1 dxm, May 14, 2009
    Last edited: May 15, 2009
  2. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
    Did this just start recently or has it always been like this?

    Your browser cache and cookie settings may also have something to do with this.

    You can also update cpanel and horde just in case.
     
  3. dxm

    dxm Active Member

    Joined:
    Aug 1, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    This was initially reported by a customer, and I checked my own webmail interface and it is the same there (although I'd never noticed).
    So it's two different people on two different accounts.
    So horde is having difficulties somewhere along the line...
     
  4. dxm

    dxm Active Member

    Joined:
    Aug 1, 2007
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I've resolved this.
    The problem was that the horde horde_sessionhandler table was broken.
    I think this was caused by a mysql update a few months back that nuked all of the innodb tables on the server (what a great day that was).
    So what I did was:

    Code:
    mv /usr/lib/mysql/horde /usr/lib/mysql/horde.backup
    /etc/init.d/mysql restart
    (in mysql client) create database horde
    from the command line: /scripts/fullhordereset
    That last command recreated the horde database.
    /etc/init.d/mysql restart
    Now message sorting preferences are remembered and the Last Login text is working too.

    This worked for me. I don't know where users address books are stored, so this solution might nuke people's address books, and so a less destructive approach might be to just delete the files in /usr/lib/mysql/horde/ for the horde_sessionhandler table and the recreate that table (although I'm unsure where the sql for that might reside).
     
Loading...

Share This Page