[Rtir] Problem in RTIR with RTFM

Cristiano da Costa crsurf at gmail.com
Fri Oct 29 13:44:20 EDT 2004


Hello 

I installed first RTIR and when I installed RTFM, the link to it isn´t
showed in the left panel.

If I try to access https://servername/RTFM/

The followind error message are displayed:


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:199
 
raw 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.


Trace begun at /usr/lib/perl5/site_perl/5.8.1/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/lib/perl5/site_perl/5.8.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa35f6ec)')
called at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line
1074
eval {...} at /usr/lib/perl5/site_perl/5.8.1/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/lib/perl5/site_perl/5.8.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa1a35e4)')
called at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line
1074
eval {...} at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xa0dcb80)')
called at /opt/rt3/share/html/autohandler line 199
HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa317718)')
called at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line
1069
eval {...} at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line 338
eval {...} at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line 338
eval {...} at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa0dcb80)')
called at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm
line 134
eval {...} at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm
line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa0dcb80)')
called at /usr/lib/perl5/site_perl/5.8.1/HTML/Mason/ApacheHandler.pm
line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x997cf94)',
'Apache::RequestRec=SCALAR(0x90e848c)') called at
/opt/rt3/bin/webmux.pl line 105
eval {...} at /opt/rt3/bin/webmux.pl line 105
RT::Mason::handler('Apache::RequestRec=SCALAR(0x90e848c)') called at -e line 0
eval {...} at -e line 0

Grateful 

Cristiano


More information about the Rtir mailing list