[Rtfm-devel] [Fwd: RTFM doesn't work and RT + fcgi error]

mark matyas mark at library.ucsc.edu
Tue Sep 6 17:23:48 EDT 2005


Hi,
I'm having problems trying to get RTFM wokring on my system. After I
install RTFM, the RTFM link fails to appear at the root of rt
(http://myrtpage), and if I force it (http://myrtpage/RTFM) I get the
following error:
_______________________________________
error:       Can't locate object method "new" via package
"RT::FM::ArticleCollection" (perhaps you forgot to load
"RT::FM::ArticleCollection"?) at
/opt/rt3/share/html/RTFM/Elements/NewestArticles line 60.
context:
...
56:
57:      <%INIT>
58:      my $rows = 10;
59:      my $i;
60:      my $MyArticles;
61:      $MyArticles = new RT::FM::ArticleCollection 
($session{'CurrentUser'});
62:      $MyArticles->UnLimit;
63:      $MyArticles->RowsPerPage($rows);
64:      $MyArticles->OrderBy(FIELD => 'LastUpdated', ORDER => 'DESC');
...
code stack:      /opt/rt3/share/html/RTFM/Elements/NewestArticles:60
/opt/rt3/share/html/RTFM/index.html:24
/opt/rt3/share/html/autohandler:215
________________________________________


I just installed RT 3.4.3 + apache 2 (latest from site) + fastcgi + 
Mysql 4.1.10a (using
InnoDb tables) + sendmail on RHEL4 and it seems to work fine (I used the
install guide for RHEL4). Well everything works ok, except for this 
constant error message
in my apache error_log:

[error] [client xxxxxxxx] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in
length at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Resolver/File.pm
line 52.
      or
[error] [client xxxxxxxx] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in
concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Resolver/File.pm line 51.



i can't seem to find any information on this anywhere; I've noticed a
couple other people also have the same RTFM issue (google). Any hints or
nudges in the right direction would be greatly appreciated!

Here are some more specs from RT: (i'm also attatching all the info RT 
spits out)
Perl v5.8.5
CGI::Fast v1.05;
DBD::mysql v2.9004;
DBI v1.40;
DBIx::SearchBuilder v1.32;
FCGI v0.67;
HTML::Mason v1.3101;
HTML::Mason::CGIHandler v1.00;

THANKS!

Mark Matyas
-------------- next part --------------
  Best Practical Solutions, LLC corporate logo  	   	   	Skip Menu | Preferences | Logout
Logged in as root
RT for library.ucsc.edu 	
 
	
 

    * Home
    * Tickets
    * Tools
    * Configuration
          o Users
          o Groups
          o Queues
          o Custom Fields
          o Global
          o Tools
                + System Configuration 
    * Preferences
    * Approval 

	
System Configuration
Loaded perl modules

Perl v5.8.5 under linux 
  Apache::Session v1.6;
  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;
  AutoLoader v5.60;
  base v2.06;
  Benchmark v1.06;
  bytes v1.01;
  Cache::Simple::TimedExpiry v0.23;
  Carp v1.03;
  CGI v3.05;
  CGI::Cookie v1.24;
  CGI::Fast v1.05;
  CGI::Util v1.5;
  Class::Container v0.12;
  Class::Data::Inheritable v0.02;
  Class::ReturnValue v0.53;
  constant v1.04;
  Cwd v2.19;
  Data::Dumper v2.121;
  DBD::mysql v2.9004;
  DBI v1.40;
  DBIx::SearchBuilder v1.32;
  DBIx::SearchBuilder::Unique v0.01;
  Devel::StackTrace v1.11;
  Devel::StackTraceFrame v0.6;
  Digest::base v1.00;
  Digest::MD5 v2.33;
  DynaLoader v1.05;
  Encode v2.01;
  Encode::Alias v2.00;
  Encode::Config v2.00;
  Encode::Encoding v2.00;
  Errno v1.09;
  Exception::Class v1.21;
  Exception::Class::Base v1.2;
  Exporter v5.58;
  Exporter::Heavy v5.58;
  FCGI v0.67;
  Fcntl v1.05;
  fields v2.03;
  File::Basename v2.73;
  File::Glob v1.03;
  File::Path v1.06;
  File::Spec v0.87;
  File::Spec::Unix v1.5;
  File::Temp v0.14;
  FileHandle v2.01;
  HTML::Entities v1.27;
  HTML::Mason v1.3101;
  HTML::Mason::CGIHandler v1.00;
  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.35;
  HTML::Scrubber v0.08;
  I18N::LangTags v0.33;
  integer v1.00;
  IO v1.21;
  IO::File v1.10;
  IO::Handle v1.24;
  IO::InnerFile v2.110;
  IO::Lines v2.110;
  IO::Scalar v2.110;
  IO::ScalarArray v2.110;
  IO::Seekable v1.09;
  IO::Wrap v2.110;
  IO::WrapTie v2.110;
  IPC::Open2 v1.01;
  IPC::Open3 v1.0106;
  lib v0.5565;
  List::Util v1.14;
  locale v1.00;
  Locale::Maketext v1.09;
  Locale::Maketext::Fuzzy v0.02;
  Locale::Maketext::Lexicon v0.49;
  Locale::Maketext::Lexicon::Gettext v0.14;
  Log::Dispatch v2.11;
  Log::Dispatch::Base v1.09;
  Log::Dispatch::File v1.22;
  Log::Dispatch::Output v1.26;
  Log::Dispatch::Screen v1.17;
  Log::Dispatch::Syslog v1.18;
  Mail::Address v1.67;
  Mail::Field v1.67;
  Mail::Field::AddrList v1.67;
  Mail::Header v1.67;
  Mail::Internet v1.67;
  MIME::Base64 v3.05;
  MIME::Body v5.417;
  MIME::Decoder v5.417;
  MIME::Entity v5.417;
  MIME::Field::ContDisp v5.417;
  MIME::Field::ConTraEnc v5.417;
  MIME::Field::ContType v5.417;
  MIME::Field::ParamVal v5.417;
  MIME::Head v5.417;
  MIME::Parser v5.417;
  MIME::QuotedPrint v3.03;
  MIME::Tools v5.417;
  MIME::Words v5.417;
  Module::Versions::Report v1.02;
  overload v1.01;
  Params::Validate v0.78;
  POSIX v1.08;
  re v0.04;
  Regexp::Common v2.120;
  Regexp::Common::delimited v2.104;
  RT v3.4.3;
  RT::Interface::Email v1.02;
  Scalar::Util v1.14;
  SelectSaver v1.00;
  Socket v1.77;
  Storable v2.13;
  strict v1.03;
  Symbol v1.05;
  Sys::Hostname v1.11;
  Sys::Syslog v0.05;
  Text::Autoformat v1.13;
  Text::Quoted v1.8;
  Text::Reform v1.11;
  Text::Tabs v98.112801;
  Text::Template v1.44;
  Text::Wrapper v1.000;
  Time::HiRes v1.55;
  Time::JulianDay v2003.1125;
  Time::Local v1.1;
  Time::ParseDate v2003.1126;
  Time::Timezone v2003.0211;
  utf8 v1.04;
  vars v1.01;
  warnings v1.03;
  warnings::register v1.00;
  XSLoader v0.02;



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 	RT_CommentAddressNotSet
RT::CorrespondAddress 	RT_CorrespondAddressNotSet
RT::DatabaseHost 	localhost
RT::DatabaseName 	rt3
RT::DatabasePassword 	Password not printed
RT::DatabaseRTHost 	localhost
RT::DatabaseType 	mysql
RT::DatabaseUser 	rt
RT::DateDayBeforeMonth 	1
RT::DefaultSearchResultFormat 	'<B><A HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject', Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', '<small>__Requestors__</small>', '<small>__CreatedRelative__</small>', '<small>__ToldRelative__</small>', '<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>'
RT::EmailOutputEncoding 	utf-8
RT::EtcPath 	/opt/rt3/etc
RT::FriendlyFromLineFormat 	"%s via RT" <%s>
RT::FriendlyToLineFormat 	"%s of library.ucsc.edu 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::LogToFile 	debug
RT::LogToFileNamed 	rt.log
RT::LogToScreen 	error
RT::LogToSyslog 	debug
RT::LogoURL 	/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 	72
RT::MessageBoxWrap 	HARD
RT::MinimumPasswordLength 	5
RT::MyRequestsLength 	20
RT::MyTicketsLength 	20
RT::Organization 	library.ucsc.edu
RT::OwnerEmail 	root
RT::RTAddressRegexp 	^rt\@example.com$
RT::RecordOutgoingEmail 	1
RT::RedistributeAutoGeneratedMessages 	1
RT::SITE_CONFIG_FILE 	/opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments 	-oi -t
RT::SendmailPath 	/usr/sbin/sendmail
RT::Timezone 	US/Eastern
RT::UseFriendlyFromLine 	1
RT::VERSION 	3.4.3
RT::VarPath 	/opt/rt3/var
RT::WebBaseURL 	http://dhcp-163-143.ucsc.edu
RT::WebFlushDbCacheEveryRequest 	1
RT::WebImagesURL 	/NoAuth/images/
RT::WebURL 	http://dhcp-163-143.ucsc.edu/
RT::rtname 	library.ucsc.edu
Perl configuration

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.4.21-25.elsmp, archname=i386-linux-thread-multi
    uname='linux porky.build.redhat.com 2.4.21-25.elsmp #1 smp fri nov 12 21:34:51 est 2004 i686 i686 i386 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -Dperladmin=root at 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 -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0'
    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 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.4.3 20041212 (Red Hat 3.4.3-9.EL4)', 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=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.3.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'



»|« RT 3.4.3 Copyright 1996-2005 Best Practical Solutions, LLC.
Time to display: 0.05231


More information about the Rtfm-devel mailing list