Well this fix certainly worked for me Sm 1.2.9 php 4.2.3 Solaris 8

Thx Jonathan.

Pete
Jonathan Angliss said:
> 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


-- 
Pete
"Unencumbered by the thought process"
--1992-2000 Click and Clack presidential campaign slogan


-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/


Random Thought:
--------------
I'm wearing PAMPERS!!




-------------------------------------------------------
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

Reply via email to