Question
Email Notification (WebNotify) Stop Working After Upgrade To Dakar From Cairo
After upgrade from Cairo mail notification doesn't work anymore.
Here is a command and returned message when I try to use tools/mailnotify
perl -wI /srv/www/twiki/bin/ tools/mailnotify
Undefined subroutine &TWiki::basicInitialize called at /srv/www/twiki/lib/TWiki/Contrib/Mailer.pm line 68.
When I tried
MailerContrib:
Installation ended without any error and I got the same result as with mailnotify:
# ./bin/mailnotifier
Undefined subroutine &TWiki::basicInitialize called at /srv/www/twiki/lib/TWiki/Contrib/Mailer.pm line 68.
Could someone please give me a hint what could be wrong?
twiki/bin/configure gives neither warning nor error and all other plugins works well.
host:/srv/www/twiki # find . -exec grep -H basicInitialize {} \;
./bin/remove_obsolete_locks: TWiki::basicInitialize();
./lib/TWiki/Contrib/Mailer.pm: TWiki::basicInitialize();=
find returns no basicInitialize definition, does this mean that some files are missing?
Thanks in advance!
Environment
--
DaliborSvoboda - 16 Feb 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Please check these things:
1. There seems to be a version mismatch, Dakar has no
basicInitialize. Please make sure you use the
tools/mailnotify,
lib/TWiki/Contrib/Mailer.pm and
lib/TWiki/Contrib/MailerContrib/* from the
TWikiRelease04x00x01 distribution.
2. Path to libs OK? Command line OK? Possibly:
perl -w -I /srv/www/twiki/bin/ tools/mailnotify
3. Known issue of mailnotification, apply patch at
Bugs:Item1654
--
PeterThoeny - 16 Feb 2006
Thanks for fast response!
My problem was point 1. only (=version mismatch) because I installed
MailerContrib.
Wouldn't it make sense to put warning on
MailerContrib page that it should not be installed into Dakar release because it is already part of it?
--
DaliborSvoboda - 17 Feb 2006
Is there a template created with a Form Driven Email Notification Template? My members are not that particularly bright, and I'm having to make the pages as simple as possible?
--
RichardHobbs - 13 May 2007
Hi,
I just installed TWiki ver 4.1.2 but that wasn't came with
MailerContrib, I downloaded that from site and when try to run ./MailerContrib_installer.pl It gave me below errors,
/MailerContrib_installer.pl: line 8: use: command not found
./MailerContrib_installer.pl: line 9: use: command not found
./MailerContrib_installer.pl: line 11: my: command not found
./MailerContrib_installer.pl: line 13: BEGIN: command not found
./MailerContrib_installer.pl: line 14: syntax error near unexpected token `-d'
./MailerContrib_installer.pl: line 14: ` unless ( -d "lib" &&'
morever, when I tried to run ./bin/mailnotifier from command line with this commands, ./bin/mailnotifier -q -m or without -m it gave me below error,
bin/mailnotifier -q -m
Undefined subroutine &TWiki::basicInitialize called at /home/httpd/twiki/lib/TWiki/Contrib/Mailer.pm line 68.
Please help me in this.
Regards,
SameerKamble
--
SameerKamble - 28 Jun 2007