On Wed, 26 Apr 2006, Tomas Kuliavas wrote:

Sorry for all the noise related to this. I thought it was a slamdunk, but
obviously I've confused something along the way or have a new variable
that I'm not aware of.  I'd really like to get this working for my users
so I will keep banging on it and give an update if I can find a solution.

this error is not related to plugin. It is specific to your setup. I think
php scripts restarted session and your custom session handler broke.

Hmm.. not really sure what the deal is with our sessions then, but since our web master is on vacation I decided to find another solution.

Here is a new patch that uses the same logic as the current 1.4.x SquirrelSpell plugin as it applies to new functionality in the 1.5.x source. This one has the added benefit of not needing the compatibility plugin. It changes the reference to ngettext and checkForJavaScript back to the methods used in the same place in the 1.4.x version. New testing indicates this seems to work as expected.

Sorry again for the confusion.


===== START PATCH =====


diff -ur squirrelspell.orig/modules/check_me.mod squirrelspell/modules/check_me.mod
--- squirrelspell.orig/modules/check_me.mod     Sun Feb  5 05:23:03 2006
+++ squirrelspell/modules/check_me.mod  Mon Apr 24 12:14:29 2006
@@ -339,7 +339,7 @@
    <tr>
     <td bgcolor="<?php echo $color[9] ?>" align="center">
      <b>
- <?php printf( ngettext("Found %d error","Found %d errors",$errors), $errors ) ?>
+      <?php printf( _("Found %s errors"), $errors ) ?>
      </b>
     </td>
    </tr>
Only in squirrelspell/modules: check_me.mod.orig
diff -ur squirrelspell.orig/sqspell_functions.php squirrelspell/sqspell_functions.php
--- squirrelspell.orig/sqspell_functions.php    Sun Feb  5 04:32:33 2006
+++ squirrelspell/sqspell_functions.php Wed Apr 26 10:15:52 2006
@@ -58,7 +58,7 @@
    * Check if this browser is capable of displaying SquirrelSpell
    * correctly.
    */
-  if (checkForJavascript()) {
+  if (!soupNazi()) {
     /**
      * Some people may choose to disable javascript even though their
      * browser is capable of using it. So these freaks don't complain,


===== END PATCH =====


Matthew Ruzicka - Systems Administrator
Front Range Internet, Inc.
[EMAIL PROTECTED] - (970) 212-0728




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
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