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
--
MarcPerkins - 12 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.
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