[rt-users] Installing RTFM
Marco van Beek
marco at supporting-role.co.uk
Tue Jul 25 05:36:02 EDT 2006
Hi All,
I have successfully installed RT 3.4.2 on Ubuntu 5.10, using the debian
package. After some tweaking it all worked fine, so I got adventurous and
tried installing RTFM. To cut a long story short, installing RTFM via apt
get also installs an older version of RT, and I had to do a lot of
cleaning to get it all back again.
Anyway, downloaded the RTFM-2.2.0RC2.tar.gz from the Best Practical site,
and followed the instructions. Everything seemed to be fine except that
"make initdb" failed, grumbling about the mysql password and I had to hack
where it was looking for rt-setup-database via a symbolic link, but I
found that the previous install had done the mysql code anyway.
So having reloaded apache, no RTFM link in the main RT interface, and when
I navigate to /rt/RTFM/index.html I get the errors shown below.
I don't know if the two problems are related, so any help would be
appreciated. The only place I can find a "use RT::FM::ArticleCollection"
line of code is in subdirectory called "Callbacks".
Regards,
Marco
===========================================================
> error: Can't locate object method "new" via package
"RT::FM::ArticleCollection" (perhaps you forgot to load
"RT::FM::ArticleCollection"?) at
/usr/share/request-tracker3.4/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:
/usr/share/request-tracker3.4/html/RTFM/Elements/NewestArticles:60
/usr/share/request-tracker3.4/html/RTFM/index.html:24
> /usr/share/request-tracker3.4/html/autohandler:215
===========================================================
raw error:
> Can't locate object method "new" via package "RT::FM::ArticleCollection"
(perhaps you forgot to load "RT::FM::ArticleCollection"?) at
/usr/share/request-tracker3.4/html/RTFM/Elements/NewestArticles line 60.
>
>
> Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 128
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
/usr/share/request-tracker3.4/html/RTFM/Elements/NewestArticles line
60.^J') called at
/usr/share/request-tracker3.4/html/RTFM/Elements/NewestArticles line 60
HTML::Mason::Commands::__ANON__ at
/usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2aaaac2971a0)')
called at /usr/share/perl5/HTML/Mason/Request.pm line 1232 eval {...} at
/usr/share/perl5/HTML/Mason/Request.pm line 1226
> HTML::Mason::Request::comp(undef, undef) called at
/usr/share/request-tracker3.4/html/RTFM/index.html line 24
HTML::Mason::Commands::__ANON__ at
/usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2ec4db0)')
called at /usr/share/perl5/HTML/Mason/Request.pm line 1232 eval {...} at
/usr/share/perl5/HTML/Mason/Request.pm line 1226
> HTML::Mason::Request::comp(undef, undef) called at
/usr/share/perl5/HTML/Mason/Request.pm line 898
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0x3422640)')
called at /usr/share/request-tracker3.4/html/autohandler line 215
HTML::Mason::Commands::__ANON__ at
/usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2d3bfc0)')
called at /usr/share/perl5/HTML/Mason/Request.pm line 1232 eval {...} at
/usr/share/perl5/HTML/Mason/Request.pm line 1226
> HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/share/perl5/HTML/Mason/Request.pm line 460 eval {...} at
/usr/share/perl5/HTML/Mason/Request.pm line 460
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 410
> HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0x3422640)')
called at /usr/share/perl5/HTML/Mason/Interp.pm line 322
HTML::Mason::Interp::exec(undef, undef) called at
/usr/share/perl5/HTML/Mason/CGIHandler.pm line 89 eval {...} at
/usr/share/perl5/HTML/Mason/CGIHandler.pm line 89
> HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x289fa60)',
'HASH(0x2aaaac2a1990)') called at
/usr/share/perl5/HTML/Mason/CGIHandler.pm line 72
HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0x289fa60)',
'CGI::Fast=HASH(0x3422ac0)') called at
/usr/share/request-tracker3.4/libexec/mason_handler.fcgi line 76 eval
{...} at /usr/share/request-tracker3.4/libexec/mason_handler.fcgi line
76
Marco van Beek
Supporting Role Ltd.
More information about the rt-users
mailing list