Tags:
create new tag
view all tags

Question

I just upgraded to Dakar (4.0.1) from Sept 04, and switched skins from Dragon to Nat. Prior to this change my mailnotify cron job ran flawlessly; now it's reporting errors (even after updating it based on the new MailerContrib instructions. Here's my cron command (set to run daily):

perl -I /twiki/bin /twiki/tools/mailnotify -q Main

The cron job reports:

"Use of uninitialized value in substitution (s///) at (eval 13) line 44. Use of uninitialized value in pattern match (m//) at /twiki/lib/TWiki/Plugins/NatSkinPlugin.pm line 157. Use of uninitialized value in substitution (s///) at (eval 13) line 44."

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, NatSkinPlugin
Server OS: Linux kernel 2.6.9-22.0.2.ELsmp
Web server: Apache 1.3.34
Perl version: 5.8.5
Client OS:  
Web Browser:  
Categories: Hosting, Installation, Mail

-- MarcPerkins - 12 Feb 2006

Answer

ALERT! 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.

It looks like NatSkinPlugin isn't behaving correctly when TWiki is invoked from a script. Suggest you highlight this directly with the skin author (MichaelDaum)

-- CrawfordCurrie - 14 Feb 2006

This bug shows up due to a different behavior of CGI using different versions or perl in a couple of plugins that make use of the query object during their initialization: RedDotPlugin, NatSkinPlugin, TwistyPlugin, DBCachePlugin ... just to name a few. These plugins have been fixed accordingly. The MailerContrib package did not flag the TWiki engine that it was running in command line mode during mailnotify which was another source of divers problems.

-- MichaelDaum - 15 Feb 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-02-15 - MichaelDaum
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.