Tags:
create new tag
, view all tags

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

TWiki version: TWiki Release 4.0
TWiki plugins: SpreadSheetPlugin (Dakar, 8154) CommentPlugin (Dakar, 8164) EditTablePlugin (Dakar, 8154) InterwikiPlugin (Dakar, $Rev: 8713$) PreferencesPlugin (Dakar, 8170) SlideShowPlugin (Dakar, $Rev: 8713$) SmiliesPlugin (Dakar, 8154) TablePlugin (Dakar, 81
Server OS: Suse 2.4.21-226-smp
Web server: Apache/1.3.26 (UnitedLinux? ) mod_ssl/2.8.10 OpenSSL/0.9.6g mod_perl/1.27
Perl version: 5.8.0
Client OS: W'XP SP2
Web Browser: Firefox
Categories: Mail

-- DaliborSvoboda - 16 Feb 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r5 - 28 Jun 2007 - 10:54:18 - SameerKamble
Support.EmailNotificationNotWorkingInDakar moved from Support.EmailNotificationStopWorkingAfterUpgradeToDakarFromCairo on 16 Feb 2006 - 17:47 by PeterThoeny - put it back
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback