Hey Jonathan Thanks for that code. I thought I'd try it out as I was having no luck getting on to CVS and enabling server-side sorting did nothing. It works so thats all good.
I'm using SquirrelMail 1.2.9. At the moment this is causing no problems. Is there likely to be any problems? I edited the code in the file /src/global.php not /functions/global.php. I'm guessing this is location in Squirrlemail 1.3.2. Thanks for ya help guys. James -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Angliss Sent: Friday, November 22, 2002 07:21 To: Kevin Pawsey Cc: [EMAIL PROTECTED] Subject: Re: [SM-USERS] Re: SM-USERS] Bug in Previous & Next link? Hello Kevin, On Thursday, November 21, 2002, Kevin Pawsey wrote... > I have the same problem with the dev version of SquirrelMail (1.3.2). I'm not entirely sure my fixes have been migrated to 1.3.2, but certainly stable (1.2.10[cvs]) is working just fine for me at least now. > When I go to Trash I find that the previous|next and the Delete & Prev | > Delete & Next are both working, but does not appear to work anywhere else. > I have checked, and my server side sorting (and server side thread > sorting) is switched on. The actual issue is session related more than server related. For some reason PHP is behaving oddly on some methods, so the message list isn't being set right. For a quick patch for 1.3.2, take a look at functions/global.php and look at the function sqsession_register and sqsession_unregister. Change them to the following code: function sqsession_register ($var, $name) { if ( !check_php_version(4,1) ) { global $HTTP_SESSION_VARS; $HTTP_SESSION_VARS[$name] = $var; } else { $_SESSION["$name"] = $var; } session_register("$name"); } function sqsession_unregister ($name) { if ( !check_php_version(4,1) ) { global $HTTP_SESSION_VARS; unset($HTTP_SESSION_VARS[$name]); } else { unset($_SESSION[$name]); } session_unregister("$name"); } See if that helps. -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
