[Rt-devel] rt-3.4.0rc1 - what could the problem be?

Todd Chapman rt at chaka.net
Tue Dec 21 08:11:41 EST 2004


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', '\'<a href="/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#\', \'<a href="/Ticket/Display.html?id=__id__">__Subject__</a>/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', '\'<a href="/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#\', \'<a href="/Ticket/Display.html?id=__id__">__Subject__</a>/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', '\'<a href="/Ticket/Display.html?id=__id__">__id__</a>/TITLE:#\', \'<a href="/Ticket/Display.html?id=__id__">__Subject__</a>/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)  |
> <wash at wananchi dot com>              . 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 at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


More information about the Rt-devel mailing list