From: Cristian F. <cri...@gm...> - 2007-11-27 16:05:59
|
I never worked with perl, bu when I've listed $msg->{user} I can't see any field {prefs}. And $msg->{code} returns -1. Everyone is dead here? On Nov 27, 2007 4:19 PM, Cristian Falcas <cri...@gm...> wrote: > I found that in Messages.pm I have a problem: > $msg->{user}{prefs}{$msg->{code}} and > $self->getMessageDeliveryByName("Mobile")) are both empty. > So it's going inside the if statemen at line 460. If I put the line > from else after this check, everything is OK, the email seems to be > sent. > Any idea why is this? > > Also in slashd.log I have a very high number of messages regarding > "Use of uninitialized value in ..." from tasks/tags_udc.pl at > different lines: 69, 73, 88, 91, 150, 151. > > Any ideas? Have I skipped some plugins? > > I'm using T_2_5_0_184 revision. > > Thank you > > > On Nov 27, 2007 3:35 AM, Cristian Falcas <cri...@gm...> wrote: > > I installed slashcode with postfix. The Mail::Sendmail module managed > > to send the test email and I can send emails from the localhost. The > > problem I have is that slash does not send any email with the > > passwords of the new users. > > > > I found this in the logs: > > Use of uninitialized value in numeric eq (==) at > > /usr/local/share/perl/5.8.8/Slash/Messages.pm line 460. > > Use of uninitialized value in numeric eq (==) at > > /usr/local/share/perl/5.8.8/Slash/Messages.pm line 460. > > Use of uninitialized value in pattern match (m//) at > > /usr/local/lib/perl/5.8.8/Slash/Utility/Data.pm line 208. > > Use of uninitialized value in pattern match (m//) at > > /usr/local/share/perl/5.8.8/Email/Valid.pm line 59. > > [Mon Nov 26 22:40:23 2007] [error] > > /login.pl:Slash::Messages:/usr/local/share/perl/5.8.8/Slash/Messages.pm:551:Error > > sending to '' for user 11: Invalid address > > [Mon Nov 26 22:40:23 2007] [error] Which was called > > by:Slash::Utility::System:/usr/local/lib/perl/5.8.8/Slash/Utility/System.pm:226\n > > > > Any idea for what could be the problem? > > > > Thank you > > > |