From: Matt R. <ma...@fr...> - 2006-04-25 22:54:48
|
Ok, you might want to ignore this patch for now. I'm really not sure what happened, but this had been working for me in the past, but now it does not seem to be working properly. I re-installed SM into a new directory, configured SM to use our DB for prefs and re-installed SquirrelSpell from the 1.5 tree. When I click reply I'm getting the error: "Fatal error: session_register() [<a href='function.session-register'>function.session-register</a>]: Failed to initialize storage module: user (path: /tmp) in /u/mattr/public_html/squirrelmail.stable/functions/global.php on line 151" If I disable the SquirrelSpell plugin the error goes away so I'm guessing it is related to SS trying to register or get the session. I'm not sure if this is a result of me not having old file based dictionaries to be up graded or if it is a problem with me not having a data/ directory specified in config/config.php since we put everything into sql. I'm looking into adding 'php_value session.save_handler "files"' to my apache config, but I need to research what exactly this is doing and why it started being a problem first. I can see that the local value for this directory appears to have session.save_handler set to user so I guess this might be the problem. I'm not sure if I was getting positive results from this earlier due to a "beneficial" interaction with another plugin I was running last time or what. 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. Matthew Ruzicka - Systems Administrator Front Range Internet, Inc. ma...@fr... - (970) 212-0728 Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com On Tue, 25 Apr 2006, Matt Ruzicka wrote: > Hmm.. Not sure how this was working initially. I must have only tested > compose and not reply. The 1.5.x SquirrelSpell does need the compatibility > plugin to be installed for it work with 1.4.x or else the > checkForJavascript() function doesn't exist. Looking back at my emails it > looks like Tomas Kuliavas pointed this out, but I'd evidently forgotten. > > Matthew Ruzicka - Systems Administrator > Front Range Internet, Inc. > ma...@fr... - (970) 212-0728 > > Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com > > On Mon, 24 Apr 2006, Matt Ruzicka wrote: > >> It had been awhile since I looked at this project and needed to revisit it >> anyway. I just went ahead and grabbed the latest CSV snapshot for the >> 1.5.2 plugins (plugins-20060405_0000-CVS.devel.tar.gz) and tested it on a >> near vanilla (altering config/config.php for it to work) install of CVS >> snapshot for 1.4.7 (squirrelmail-20060405_0000-CVS.stable.tar.gz). With >> the following patch it appears to work just fine with the 1.4.x tree. I >> did not install the compatibility plugin btw. >> >> Hope this is what you were looking for.. It's pretty much out of the box. >> >> Note: this is for plugins-20060405_0000-CVS.devel.tar.gz. >> >> >> Index: squirrelspell/modules/check_me.mod >> =================================================================== >> --- squirrelspell/modules/check_me.mod Sun Feb 5 05:23:03 2006 >> +++ squirrelspell/modules/check_me.mod Mon Apr 24 12:02:46 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> >> >> >> Thanks. >> >> Matthew Ruzicka - Systems Administrator >> Front Range Internet, Inc. >> ma...@fr... - (970) 212-0728 >> >> Got SPAM? Take back your email with MailArmory. http://www.MailArmory.com >> >> On Mon, 24 Apr 2006, Jonathan Angliss wrote: >> >>> Hi Matt, >>> On Thursday, March 30, 2006, Matt wrote: >>>> I finally got around to implementing this so I figured I'd post my >>>> results. >>> >>>> I went ahead and grabbed the 1.5.2-cvs plugins (20060331), moved the >>>> original 1.4.6 squirrelspell plugin offline and copied the 1.5.1 >>>> squirrelspell plugin into its place. I then grabbed the latest >>>> compatibility plugin (2.0.4) and patched the source with it. Partially >>>> out of laziness and partially out of a distrust of making php install >>>> changes I went ahead and replaced the ngettext line in new check_me.mod >>>> with the old one instead of recompiling with gettext. I'm assuming this >>>> would only lose me translation and numeral word correctness figuring I >>>> could regain this functionality when 1.5 is ready for prime time. >>> >>>> All and all pretty painless and it's nice to have the user dicts in sql. >>> >>>> Thanks for the assistance, and as always, thanks for all the hard work on >>>> SM. >>> >>> As you've done the leg work, want to submit a patch for the >>> SquirrelSpell plugin? I don't believe the compatibility plugin is >>> needed for SquirrelSpell, so just a patch for the SquirrelSpell plugin >>> would be great. Would save us a bit of duplicated work ;) >>> >>> >>> -- >>> Jonathan Angliss >>> <jo...@sq...> >>> >>> [ PGP Signature ok - Mon Apr 24 16:10:42 MDT 2006 ] >>> >> > |