Christopher J. Hinkle | 23 Jul 2008 06:04
Favicon

Re: change_password 4.2b - command line works, not web


> Paul Lesniewski Sent: Tuesday 22 July 2008 23:34
> On Tue, Jul 22, 2008 at 8:22 PM, Christopher J. Hinkle 
> <chinkle <at> netlinkrg.com> wrote:
> > Paul Lesniewski Sent: Tuesday 22 July 2008 23:15
> >>On Tue, Jul 22, 2008 at 7:38 PM, Christopher J. Hinkle
> > <chinkle <at> netlinkrg.com>
> >>>>> Sent: Monday 07 July 2008 0:53
> >>>>>>>> System: SquirrelMail 1.4.8 on RedHat Enterprise Linux 4 with 
> >>>>>>>> latest patches; Postfix 2.2.10; Dovecot 0.99.11; 
> Apache 2.0.52; 
> >>>>>>>> PHP 4.3.9; SELinux.
> >>>>>>> Relevant plugins:
> >>>> Compatibility 2.0.12; change_passwd 4.3beta1
> >>>>> [..]
> >>>>>> Dunno.  Something strange with how the password is 
> being pulled 
> >>>>>> from PHP or the passwd file.  I am going to send you 
> yet another 
> >>>>>> newer version of the plugin offlist.
> >>>>>
> >>>>> Thanks for this.  I've installed the new compatibility and 
> >>>>> change_passwd plugins you sent me.  I installed compatibility 
> >>>>> first and had no problems (checked the website, looked 
> fine, was 
> >>>>> functional).  Then I installed the new change_passwd, 
> and all of a 
> >>>>> sudden the Options page is blank.  I disabled the change_passwd 
> >>>>> plugin with conf.pl, and the Options page came back.  I 
> know this 
> >>>>> happened once before, but I can't figure out what I did 
> to fix it 
> >>>>> -- it might've been that I installed a different version of 
> >>>>> change_passwd and it came back on its own.  I've turned SELinux 
> >>>>> off and on and it made no difference, and I'm not seeing any 
> >>>>> badness in the
> > logs.
> >>>>> Any idea there?  Despite this, I disabled the plugin in conf.pl 
> >>>>> and pushed on...
> >>>>
> >>>> http://www.squirrelmail.org/wiki/BlankPage
> >>>
> >>> Thanks.
> >>>
> >>> The relevant portion of error_log reads:
> >>> [client x.x.x.x] PHP Fatal error:  Call to undefined function:
> >>> sq_change_text_domain() in
> >>> 
> /usr/share/squirrelmail/plugins/change_passwd/functions.php on line 
> >>> 26,
> >>> referer: http://mail.netlinkrg.com/src/right_main.php
> >>
> >> Compatibility 2.0.7+ is not installed or you are not using 
> SM 1.4.10+.
> >> I thought you upgraded to the newest?
> >
> > My current versions are up at the top of the email.  I upgraded the 
> > compatibility, but not SM.  I'm using the RedHat RPM, and 
> they haven't 
> > released a version later than 1.4.8 for my platform, AFAIK.
> 
> 1.4.8 is OK, as long as the Compatibility plugin is there.  
> If it is, I don't know what to tell you.  Make sure that 
> missing function is actually in the Compatibility plugin you 
> have installed by grepping for it and put some test code in 
> to make sure that file is being included correctly, etc.

Definitely using the new Compatibility plugin (2.0.12).  I grepped the
functions.php and found the function called, but not defined.

I grepped for the function and found it defined in
plugins/compatibility/includes/1.5.2/global.php.  Since I'm running 1.4.8,
maybe it's not including that file?  I'm not a PHP programmer, so it's
difficult for me to follow what's being included and what isn't.

> > Sure wish there was a way around putting all these > quotes in 
> > manually in Outlook just so I don't top-post.
> 
> There should be a setting to change from HTML format to plain 
> text for outgoing messages, but it's been ages since I've 
> used LookOut(TM).

I was using plain text... I figured it out, though.  Replies were set to
"include orig. msg" instead of "prefix orig. msg."  Thanks for prompting me
to look.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


Gmane