Rt-3.4.0rc1 - what could the problem be?

FreeBSD-5.3
Apache-2.0.52
mod_perl2
rt-3.4.0rc1

This is a completely clean rt installation. Nothing changed at all, even
the root password! I know mod_perl2 is not recommended

This is what I get when I try to run:

error: Undefined subroutine &RT::tickets::CountAll called at /opt/rt3/share/html/Elements/TicketList line 133.
context:

129:
130: $Collection->OrderBy(FIELD => $OrderBy, ORDER => $Order);
131: $Collection->RowsPerPage($Rows) if ($Rows);
132: $Collection->GotoPage($Page-1); # SB uses page 0 as the first page
133: my $TotalFound = $Collection->CountAll();
134:
135: </%INIT>
136: <%ARGS>
137: $Query => undef

code stack: /opt/rt3/share/html/Elements/TicketList:133
/opt/rt3/share/html/Elements/MyTickets:49
/opt/rt3/share/html/Elements/TitleBox:48
/opt/rt3/share/html/Elements/MyTickets:58
/opt/rt3/share/html/index.html:80
/opt/rt3/share/html/autohandler:215
raw error

Undefined subroutine &RT::tickets::CountAll called at /opt/rt3/share/html/Elements/TicketList line 133.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception(‘Undefined subroutine &RT::tickets::CountAll called at /opt/rt3/share/html/Elements/TicketList line 133.^J’) called at /opt/rt3/share/html/Elements/TicketList line 133
HTML::Mason::Commands::ANON(‘Format’, ‘'id/TITLE:#', 'Subject/TITLE:Subject', Priority, QueueName, ExtendedStatus’, ‘Query’, ’ Owner = '12' AND ( Status = 'new' OR Status = 'open')‘, ‘OrderBy’, ‘Priority’, ‘Order’, ‘DESC’, ‘Rows’, 10, ‘ShowNavigation’, 0) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xad3b9ac)’, ‘Format’, ‘'id/TITLE:#', 'Subject/TITLE:Subject', Priority, QueueName, ExtendedStatus’, ‘Query’, ’ Owner = '12' AND ( Status = 'new' OR Status = 'open')’, ‘OrderBy’, ‘Priority’, ‘Order’, ‘DESC’, ‘Rows’, 10, ‘ShowNavigation’, 0) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, ‘Format’, ‘'id/TITLE:#', 'Subject/TITLE:Subject', Priority, QueueName, ExtendedStatus’, ‘Query’, ’ Owner = '12' AND ( Status = 'new' OR Status = 'open')', ‘OrderBy’, ‘Priority’, ‘Order’, ‘DESC’, ‘Rows’, 10, ‘ShowNavigation’, 0) called at /opt/rt3/share/html/Elements/MyTickets line 49
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1131
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1131
HTML::Mason::Request::content(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’) called at /opt/rt3/share/html/Elements/TitleBox line 48
HTML::Mason::Commands::ANON(‘title’, ‘10 highest priority tickets I own’, ‘title_href’, ‘Search/Results.html?Order=DESC&Query=%20Owner%20%3D%20'12'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&OrderBy=Priority’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xad22b8c)’, ‘title’, ‘10 highest priority tickets I own’, ‘title_href’, ‘Search/Results.html?Order=DESC&Query=%20Owner%20%3D%20'12'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&OrderBy=Priority’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, ‘title’, ‘10 highest priority tickets I own’, ‘title_href’, ‘Search/Results.html?Order=DESC&Query=%20Owner%20%3D%20'12'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&OrderBy=Priority’) called at /opt/rt3/share/html/Elements/MyTickets line 58
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xaceb08c)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/html/index.html line 80
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xab922cc)’, ‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, ‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xac30f34)’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0xa87d7ac)’, ‘Apache::RequestRec=SCALAR(0xab91934)’) called at /opt/rt3/bin/webmux.pl line 132
eval {…} at /opt/rt3/bin/webmux.pl line 132
eval {…} at -e line 0

    cheers
   - wash 

Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
. 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
“Oh My God! They killed init! You Bastards!”
–from a /. post

This is happening becuase you are running in DevelMode.
Turn DevelMode off in RT_SiteConfig.pm. Or to properly fix
the problem, add this statement, before “use strict;” in
lib/RT/Tickets_Overlay.pm:

package RT::Tickets;On Tue, Dec 21, 2004 at 12:46:24PM +0300, Odhiambo Washington wrote:

FreeBSD-5.3
Apache-2.0.52
mod_perl2
rt-3.4.0rc1

This is a completely clean rt installation. Nothing changed at all, even
the root password! I know mod_perl2 is not recommended

This is what I get when I try to run:

error: Undefined subroutine &RT::tickets::CountAll called at /opt/rt3/share/html/Elements/TicketList line 133.
context:

129:
130: $Collection->OrderBy(FIELD => $OrderBy, ORDER => $Order);
131: $Collection->RowsPerPage($Rows) if ($Rows);
132: $Collection->GotoPage($Page-1); # SB uses page 0 as the first page
133: my $TotalFound = $Collection->CountAll();
134:
135: </%INIT>
136: <%ARGS>
137: $Query => undef

code stack: /opt/rt3/share/html/Elements/TicketList:133
/opt/rt3/share/html/Elements/MyTickets:49
/opt/rt3/share/html/Elements/TitleBox:48
/opt/rt3/share/html/Elements/MyTickets:58
/opt/rt3/share/html/index.html:80
/opt/rt3/share/html/autohandler:215
raw error

Undefined subroutine &RT::tickets::CountAll called at /opt/rt3/share/html/Elements/TicketList line 133.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception(‘Undefined subroutine &RT::tickets::CountAll called at /opt/rt3/share/html/Elements/TicketList line 133.^J’) called at /opt/rt3/share/html/Elements/TicketList line 133
HTML::Mason::Commands::ANON(‘Format’, ‘'id/TITLE:#', 'Subject/TITLE:Subject', Priority, QueueName, ExtendedStatus’, ‘Query’, ’ Owner = '12' AND ( Status = 'new' OR Status = 'open')‘, ‘OrderBy’, ‘Priority’, ‘Order’, ‘DESC’, ‘Rows’, 10, ‘ShowNavigation’, 0) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xad3b9ac)’, ‘Format’, ‘'id/TITLE:#', 'Subject/TITLE:Subject', Priority, QueueName, ExtendedStatus’, ‘Query’, ’ Owner = '12' AND ( Status = 'new' OR Status = 'open')’, ‘OrderBy’, ‘Priority’, ‘Order’, ‘DESC’, ‘Rows’, 10, ‘ShowNavigation’, 0) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, ‘Format’, ‘'id/TITLE:#', 'Subject/TITLE:Subject', Priority, QueueName, ExtendedStatus’, ‘Query’, ’ Owner = '12' AND ( Status = 'new' OR Status = 'open')', ‘OrderBy’, ‘Priority’, ‘Order’, ‘DESC’, ‘Rows’, 10, ‘ShowNavigation’, 0) called at /opt/rt3/share/html/Elements/MyTickets line 49
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1131
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1131
HTML::Mason::Request::content(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’) called at /opt/rt3/share/html/Elements/TitleBox line 48
HTML::Mason::Commands::ANON(‘title’, ‘10 highest priority tickets I own’, ‘title_href’, ‘Search/Results.html?Order=DESC&Query=%20Owner%20%3D%20'12'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&OrderBy=Priority’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xad22b8c)’, ‘title’, ‘10 highest priority tickets I own’, ‘title_href’, ‘Search/Results.html?Order=DESC&Query=%20Owner%20%3D%20'12'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&OrderBy=Priority’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, ‘title’, ‘10 highest priority tickets I own’, ‘title_href’, ‘Search/Results.html?Order=DESC&Query=%20Owner%20%3D%20'12'%20AND%20(%20Status%20%3D%20'new'%20OR%20Status%20%3D%20'open')&OrderBy=Priority’) called at /opt/rt3/share/html/Elements/MyTickets line 58
HTML::Mason::Commands::ANON at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xaceb08c)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/html/index.html line 80
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xab922cc)’, ‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, ‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0xac30f34)’, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, ‘pass’, ‘password’, ‘user’, ‘root’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0xa9c5350)’) called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0xa87d7ac)’, ‘Apache::RequestRec=SCALAR(0xab91934)’) called at /opt/rt3/bin/webmux.pl line 132
eval {…} at /opt/rt3/bin/webmux.pl line 132
eval {…} at -e line 0

    cheers
   - wash 

±---------------------------------±----------------------------------------+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
. 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
±--------------------------------±-----------------------------------------+
“Oh My God! They killed init! You Bastards!”
–from a /. post


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
The rt-devel Archives

This is happening becuase you are running in DevelMode.
Turn DevelMode off in RT_SiteConfig.pm. Or to properly fix
the problem, add this statement, before “use strict;” in
lib/RT/Tickets_Overlay.pm:

package RT::Tickets;

Hi Todd,

That statement is already in the file, and at the correct place
according to your suggestion.
Turning DevelMode off in RT_SiteConfig.pm fixes the problem, but
now I am wondering, if this is a completely new install (no Tickets
no users) why should it fail with DevelMode turned on?
Though I am not a developer, I’d like to know under what situations
DevelMode is supposed to work.
Thanks and …

PS: Before I forget, I’d like to WISH A HAPPY CHRISTMAS to all whom
it applies to.

    cheers
   - wash 

Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
. 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
“Oh My God! They killed init! You Bastards!”
–from a /. post

I think you need to look again. THe only way that statement
is in the file is if you put it there. That statement does not
ship with Rt 3.4.0rc1. Are you sure you are looking at:

Tickets_Overlay.pm ?

-ToddOn Tue, Dec 21, 2004 at 07:02:58PM +0300, Odhiambo Washington wrote:

This is happening becuase you are running in DevelMode.
Turn DevelMode off in RT_SiteConfig.pm. Or to properly fix
the problem, add this statement, before “use strict;” in
lib/RT/Tickets_Overlay.pm:

package RT::Tickets;

Hi Todd,

That statement is already in the file, and at the correct place
according to your suggestion.
Turning DevelMode off in RT_SiteConfig.pm fixes the problem, but
now I am wondering, if this is a completely new install (no Tickets
no users) why should it fail with DevelMode turned on?
Though I am not a developer, I’d like to know under what situations
DevelMode is supposed to work.
Thanks and …

PS: Before I forget, I’d like to WISH A HAPPY CHRISTMAS to all whom
it applies to.

    cheers
   - wash 

±---------------------------------±----------------------------------------+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
. 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
±--------------------------------±-----------------------------------------+
“Oh My God! They killed init! You Bastards!”
–from a /. post


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
The rt-devel Archives

I think you need to look again. THe only way that statement
is in the file is if you put it there. That statement does not
ship with Rt 3.4.0rc1. Are you sure you are looking at:

Tickets_Overlay.pm ?

You are right! I really really need googles for Christmas :wink:

    cheers
   - wash 

Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
. 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
“Oh My God! They killed init! You Bastards!”
–from a /. post