Problem with latest RT: error in HTML::Mason::Command

Hi RT folks; I hope you can help me out. I have an RT which had fallen
into disuse. I wiped out /opt/rt3, deleted the database, and started
over with rt 3.6.3 (which looks really nice btw). This is on Fedora
Core 5, mysql, perl 5.8.8, apache2, using mod_perl.

I installed, initialized the db, created users, set up the config using
the web UI, all is nice. Created a new ticket, and when I go to view
it (not doing a search or anything – just clicking on a ticket link, i.e.
http://example.com/rt/Ticket/Display.html?id=1), I see this instead of the
ticket body:

System Error

error: RT::ticket::Reminders Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Elements/Reminders line 58)
context:

492: else {
493: my ( $package, $filename, $line );
494: ( $package, $filename, $line ) = caller;
495:
496: die “$AUTOLOAD Unimplemented in $package. ($filename line $line) \n”;
497: }
498:
499: }
500:

code stack:
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm:496
/opt/rt3/share/html/Ticket/Elements/Reminders:58
/opt/rt3/share/html/Ticket/Elements/ShowSummary:79
/opt/rt3/share/html/Widgets/TitleBox:49
/opt/rt3/share/html/Ticket/Elements/ShowSummary:82
/opt/rt3/share/html/Ticket/Display.html:56
/opt/rt3/share/html/Widgets/TitleBox:49
/opt/rt3/share/html/Ticket/Display.html:57
/opt/rt3/share/html/autohandler:292

raw error:

RT::ticket::Reminders Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Elements/Reminders line 58)

Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception(‘RT::ticket::Reminders
Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Elements/Reminders line 58) ^J’) called at
/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Record.pm line 496
DBIx::SearchBuilder::Record::AUTOLOAD(‘RT::Ticket=HASH(0x8dbd884)’) called at
/opt/rt3/share/html/Ticket/Elements/Reminders line 58
HTML::Mason::Commands::ANON(‘Ticket’, ‘RT::Ticket=HASH(0x8dbd884)’,
‘ShowCompleted’, 0) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x96149c8)’,
‘Ticket’, ‘RT::Ticket=HASH(0x8dbd884)’, ‘ShowCompleted’, 0) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, ‘Ticket’,
‘RT::Ticket=HASH(0x8dbd884)’, ‘ShowCompleted’, 0) called at
/opt/rt3/share/html/Ticket/Elements/ShowSummary line 79
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1329
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1329
HTML::Mason::Request::content(‘HTML::Mason::Request::ApacheHandler=HASH(0x9742ae4)’)
called at /opt/rt3/share/html/Widgets/TitleBox line 49
HTML::Mason::Commands::ANON(‘title’, ‘Reminders’, ‘title_href’,
‘/rt/Ticket/Reminders.html?id=1’, ‘class’, ‘ticket-info-reminders’) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x90c58f4)’,
‘title’, ‘Reminders’, ‘title_href’, ‘/rt/Ticket/Reminders.html?id=1’, ‘class’,
‘ticket-info-reminders’) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, ‘title’, ‘Reminders’,
‘title_href’, ‘/rt/Ticket/Reminders.html?id=1’, ‘class’,
‘ticket-info-reminders’) called at
/opt/rt3/share/html/Ticket/Elements/ShowSummary line 82
HTML::Mason::Commands::ANON(‘Ticket’, ‘RT::Ticket=HASH(0x8dbd884)’,
‘Attachments’, ‘RT::Attachments=HASH(0x8e05488)’) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8dc0554)’,
‘Ticket’, ‘RT::Ticket=HASH(0x8dbd884)’, ‘Attachments’,
‘RT::Attachments=HASH(0x8e05488)’) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, ‘Ticket’,
‘RT::Ticket=HASH(0x8dbd884)’, ‘Attachments’,
‘RT::Attachments=HASH(0x8e05488)’) called at
/opt/rt3/share/html/Ticket/Display.html line 56
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1329
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1329
HTML::Mason::Request::content(‘HTML::Mason::Request::ApacheHandler=HASH(0x9742ae4)’)
called at /opt/rt3/share/html/Widgets/TitleBox line 49
HTML::Mason::Commands::ANON(‘title’, ‘Ticket metadata’) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x90c58f4)’,
‘title’, ‘Ticket metadata’) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, ‘title’, ‘Ticket metadata’)
called at /opt/rt3/share/html/Ticket/Display.html line 57
HTML::Mason::Commands::ANON(‘id’, 1) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8dbd614)’,
‘id’, 1) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, ‘id’, 1) called at
/opt/rt3/share/html/autohandler line 292
HTML::Mason::Commands::ANON(‘id’, 1) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8e0a080)’,
‘id’, 1) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1251
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, ‘id’, 1) called at
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 460
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 460
eval {…} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 412
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x9742ae4)’)
called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x9742ae4)’)
called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x8fe6480)’,
‘Apache2::RequestRec=SCALAR(0x8debea0)’) called at /usr/sbin/webmux.pl line 123
eval {…} at /usr/sbin/webmux.pl line 123
RT::Mason::handler(‘Apache2::RequestRec=SCALAR(0x8debea0)’) called at -e line 0
eval {…} at -e line 0

I’m not sure where to look: HTML::Mason::Commands.pm? Record.pm?
Elements/Reminders? I upgraded DBIx::SearchBuilder as recommended on an old
mailing list thread, and restarted apache several times, but no joy.
It seems like the same error as in this email thread:
Carbon60: Cloud Consulting - Services and Solutions
but there was no reply to that.

Here’s my RT System Configuration:

Perl v5.8.8 under linux
Apache2::Const v2.000002;
Apache2::Log v2.000002;
Apache2::Module v2.000002;
Apache2::RequestIO v2.000002;
Apache2::RequestRec v2.000002;
Apache2::RequestUtil v2.000002;
Apache2::Response v2.000002;
Apache2::ServerUtil v2.000002;
Apache2::Status v4.00;
Apache::DBI v1.06;
Apache::Session v1.81;
Apache::Session::Generate::MD5 v2.1;
Apache::Session::lock::MySQL v1.00;
Apache::Session::MySQL v1.01;
Apache::Session::Serialize::Storable v1.00;
Apache::Session::Store::DBI v1.02;
Apache::Session::Store::MySQL v1.04;
APR v0.009000;
APR::Pool v0.009000;
APR::Table v0.009000;
AutoLoader v5.60;
base v2.07;
Benchmark v1.07;
bytes v1.02;
Cache::Simple::TimedExpiry v0.23;
capitalization v0.03;
Carp v1.04;
CGI v3.15;
CGI::Cookie v1.26;
CGI::Util v1.5;
Class::Container v0.12;
Class::Data::Inheritable v0.06;
Class::ReturnValue v0.53;
Clone v0.20;
constant v1.05;
Cwd v3.19;
Data::Dumper v2.121_08;
DBD::mysql v2.9004;
DBI v1.52;
DBIx::SearchBuilder v1.48;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.13;
Devel::StackTraceFrame v0.6;
Devel::Symdump v2.07;
Digest::base v1.00;
Digest::MD5 v2.36;
DynaLoader v1.05;
Encode v2.12;
Encode::Alias v2.04;
Encode::Config v2.01;
Encode::Encoding v2.02;
Errno v1.0901;
Exception::Class v1.23;
Exception::Class::Base v1.2;
Exporter v5.58;
Exporter::Heavy v5.58;
Fcntl v1.05;
File::Basename v2.74;
File::Glob v1.05;
File::Path v1.08;
File::Spec v3.19;
File::Spec::Functions v1.3;
File::Spec::Unix v1.5;
File::Temp v0.17;
FileHandle v2.01;
HTML::Element v3.16;
HTML::Entities v1.32;
HTML::Formatter v2.04;
HTML::FormatText v2.04;
HTML::Mason v1.35;
HTML::Mason::ApacheHandler v1.69;
HTML::Mason::Exception v1.1;
HTML::Mason::Exception::Abort v1.1;
HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
HTML::Mason::Exception::Compiler v1.1;
HTML::Mason::Exception::Decline v1.1;
HTML::Mason::Exception::Params v1.1;
HTML::Mason::Exception::Syntax v1.1;
HTML::Mason::Exception::System v1.1;
HTML::Mason::Exception::TopLevelNotFound v1.1;
HTML::Mason::Exception::VirtualMethod v1.1;
HTML::Mason::Exceptions v1.43;
HTML::Parser v3.50;
HTML::Scrubber v0.08;
HTML::Tagset v3.10;
HTML::TreeBuilder v3.13;
HTTP::Date v1.47;
I18N::LangTags v0.35;
integer v1.00;
IO v1.22;
IO::File v1.13;
IO::Handle v1.25;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::Scalar v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.1;
IO::Wrap v2.110;
IO::WrapTie v2.110;
IPC::Open2 v1.02;
IPC::Open3 v1.02;
lib v0.5565;
List::Util v1.18;
Locale::Maketext v1.10;
Locale::Maketext::Fuzzy v0.02;
Locale::Maketext::Lexicon v0.62;
Locale::Maketext::Lexicon::Gettext v0.15;
Log::Dispatch v2.13;
Log::Dispatch::Base v1.09;
Log::Dispatch::Output v1.26;
Log::Dispatch::Screen v1.17;
Log::Dispatch::Syslog v1.18;
Mail::Address v1.74;
Mail::Field v1.74;
Mail::Field::AddrList v1.74;
Mail::Field::Date v1.74;
Mail::Header v1.74;
Mail::Internet v1.74;
MIME::Base64 v3.07;
MIME::Body v5.420;
MIME::Decoder v5.420;
MIME::Entity v5.420;
MIME::Field::ContDisp v5.420;
MIME::Field::ConTraEnc v5.420;
MIME::Field::ContType v5.420;
MIME::Field::ParamVal v5.420;
MIME::Head v5.420;
MIME::Parser v5.420;
MIME::QuotedPrint v3.07;
MIME::Tools v5.420;
MIME::Words v5.420;
mod_perl v2.000002;
mod_perl2 v2.000002;
ModPerl::Const v2.000002;
Module::Versions::Report v1.02;
overload v1.04;
Params::Validate v0.86;
POSIX v1.09;
re v0.05;
Regexp::Common v2.120;
Regexp::Common::delimited v2.104;
RT v3.6.3;
RT::Interface::Email v2;
Scalar::Util v1.18;
SelectSaver v1.01;
Socket v1.78;
Storable v2.15;
strict v1.03;
Symbol v1.06;
Sys::Syslog v0.13;
Text::Template v1.44;
Text::Wrapper v1.000;
Time::HiRes v1.86;
Time::JulianDay v2003.1125;
Time::Local v1.11;
Time::ParseDate v2006.0814;
Time::Timezone v2006.0814;
Time::Zone v2.22;
UNIVERSAL v1.01;
UNIVERSAL::require v0.10;
URI v1.35;
URI::Escape v3.28;
utf8 v1.06;
vars v1.01;
warnings v1.05;
warnings::register v1.01;
XSLoader v0.06;

RT Variables
RT::AmbiguousDayInPast 1
RT::BasePath /opt/rt3
RT::BinPath /opt/rt3/bin
RT::CORE_CONFIG_FILE /opt/rt3/etc/RT_Config.pm
RT::CommentAddress support-rt-comment@genarts.com
RT::CorrespondAddress support-rt@genarts.com
RT::DatabaseHost localhost
RT::DatabaseName rt3
RT::DatabasePassword Password not printed
RT::DatabaseRTHost localhost
RT::DatabaseType mysql
RT::DatabaseUser rt_user
RT::DateDayBeforeMonth 1
RT::DefaultSearchResultFormat ‘id/TITLE:#’, ‘Subject/TITLE:Subject’,
Status, QueueName, OwnerName, Priority, ‘NEWLINE’, ‘’,
Requestors’, ‘CreatedRelative’,
ToldRelative’, ‘LastUpdatedRelative’,
TimeLeft
RT::DefaultSummaryRows 10
RT::EmailOutputEncoding utf-8
RT::EtcPath /opt/rt3/etc
RT::FriendlyFromLineFormat “%s via RT” <%s>
RT::FriendlyToLineFormat “%s of rt Ticket #%s”:;
RT::LocalEtcPath /opt/rt3/local/etc
RT::LocalLexiconPath /opt/rt3/local/po
RT::LocalPath /opt/rt3/local
RT::LogDir /opt/rt3/var/log
RT::LogToFileNamed rt.log
RT::LogToScreen error
RT::LogToSyslog debug
RT::LogoURL /rt/NoAuth/images/bplogo.gif
RT::LoopsToRTOwner 1
RT::MailCommand sendmailpipe
RT::MasonComponentRoot /opt/rt3/share/html
RT::MasonDataDir /opt/rt3/var/mason_data
RT::MasonLocalComponentRoot /opt/rt3/local/html
RT::MasonSessionDir /opt/rt3/var/session_data
RT::MaxAttachmentSize 10000000
RT::MaxInlineBody 13456
RT::MessageBoxWidth 76
RT::MessageBoxWrap HARD
RT::MinimumPasswordLength 5
RT::Organization genarts.com
RT::OwnerEmail garyo@genarts.com
RT::RTAddressRegexp ^rt@genarts.com$
RT::RecordOutgoingEmail 1
RT::RedistributeAutoGeneratedMessages privileged
RT::SITE_CONFIG_FILE /opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments -oi -t
RT::SendmailBounceArguments -f “<>”
RT::SendmailPath /usr/sbin/sendmail
RT::ShowTransactionImages 1
RT::StrictLinkACL 1
RT::Timezone US/Eastern
RT::UseFriendlyFromLine 1
RT::VERSION 3.6.3
RT::VarPath /opt/rt3/var
RT::WebBaseURL http://rt:
RT::WebDefaultStylesheet 3.5-default
RT::WebFlushDbCacheEveryRequest 1
RT::WebImagesURL /rt/NoAuth/images/
RT::WebPath /rt
RT::WebPort 80
RT::WebURL http://rt:/rt/
RT::rtname rt
Perl configuration

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.9-22.18.bz155725.elsmp,
archname=i386-linux-thread-multi
uname=‘linux hs20-bc1-6.build.redhat.com 2.6.9-22.18.bz155725.elsmp #1 smp
thu nov 17 15:34:08 est 2005 i686 i686 i386 gnulinux ’
config_args=’-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads
-Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm
-Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n
-Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr
-Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 5.8.4 5.8.3
-Dscriptdir=/usr/bin’
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=‘gcc’, ccflags =‘-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm’,
optimize=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables’,
cppflags=‘-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm’
ccversion=‘’, gccversion=‘4.1.0 20060228 (Red Hat 4.1.0-1)’, gccosandvers=‘’
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype=‘long’, ivsize=4, nvtype=‘double’, nvsize=8, Off_t=‘off_t’, lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld=‘gcc’, ldflags =’ -L/usr/local/lib’
libpth=/usr/local/lib /lib /usr/lib
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.90.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=‘2.3.90’
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=‘-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE’
cccdlflags=‘-fPIC’, lddlflags=‘-shared -L/usr/local/lib’

Any ideas?

– Gary Oberbrunner

Found my problem. Turns out I had an old DBIx::SearchBuilder installed in a
different dir (from an old Perl install), and somehow it was being used
instead of the new one. I deleted the old DBIx, cleaned the Mason cache,
restarted httpd, and all’s well now with Reminders.

hope that helps someone;

– Gary Oberbrunner