[rt-devel] RTFM in RT with RTIR
Security
security at ddiction.com
Wed Mar 3 01:48:19 EST 2004
Hello all,
Has anyone run into issues installing RTFM-2.0.2 into an existing
rt-3-0-8 with rtir-1-0-2? The install instructions for RTFM are pretty
straightforward, but the RTFM link just doesn't show up in RT, at all.
The db for rtfm is present as are all the required html files.
surfing to rt3.domain.tld/rtfm results in the following error.
Any ideas on how to fix this?
System 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:
<%INIT>
57:
my $rows = 10;
58:
my $i;
59:
my $MyArticles;
60:
$MyArticles = new
RT::FM::ArticleCollection ($session{'CurrentUser'});
61:
$MyArticles->UnLimit;
62:
$MyArticles->RowsPerPage($rows);
63:
$MyArticles->OrderBy(FIELD => 'LastUpdated', ORDER => 'DESC');
64:
...
code stack:
/opt/rt3/share/html/RTFM/Elements/NewestArticles:60
/opt/rt3/share/html/RTFM/index.html:24
/opt/rt3/share/html/autohandler:189
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.
[raw error]
Trace begun at /usr/local/share/perl/5.8.2/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('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.^J') called at /opt/rt3/share/html/RTFM/Elements/NewestArticles line 60
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8.2/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x985066c)') called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x985066c)') called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/html/RTFM/index.html line 24
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8.2/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9797cb0)') called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x9797cb0)') called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9798390)') called at /opt/rt3/share/html/autohandler line 189
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8.2/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x930ab34)') called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 1069
eval {...}('HTML::Mason::Component::FileBased=HASH(0x930ab34)') called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef) called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef) called at /usr/local/share/perl/5.8.2/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9798390)') called at /usr/local/share/perl/5.8.2/HTML/Mason/ApacheHandler.pm line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9798390)') called at /usr/local/share/perl/5.8.2/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9798390)') called at /usr/local/share/perl/5.8.2/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9516980)', 'Apache=SCALAR(0x8bc4174)') called at /opt/rt3/bin/webmux.pl line 134
eval {...}('HTML::Mason::ApacheHandler=HASH(0x9516980)', 'Apache=SCALAR(0x8bc4174)') called at /opt/rt3/bin/webmux.pl line 134
RT::Mason::handler('Apache=SCALAR(0x8bc4174)') called at /dev/null line 0
eval {...}('Apache=SCALAR(0x8bc4174)') called at /dev/null line 0
~# locate ArticleCollection
/opt/rt3/lib/RT/FM/ArticleCollection.pm
/opt/rt3/lib/RT/FM/ArticleCollection_Overlay.pm
/usr/src/RTFM-2.0.2/lib/RT/FM/ArticleCollection.pm
/usr/src/RTFM-2.0.2/lib/RT/FM/ArticleCollection_Overlay.pm
More information about the Rt-devel
mailing list