<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
For those facing the same problem, the solution I found was to remove the /opt/rt3 directory and reinstall rt 3.4.1 using the upgrade procedure without going through the database upgrading process.<BR>
<BR>
Regards.<BR>
<BR>
Le jeudi 17 février 2005 à 08:02 +0100, jean-pierre Cartal a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hello,</FONT>

<FONT COLOR="#000000">I upgraded from rt 3.2.1 to 3.4.1 and the search link is not working</FONT>
<FONT COLOR="#000000">anymore.</FONT>

<FONT COLOR="#000000">Here's the error message I get when I click on the ticket link :</FONT>

<FONT COLOR="#000000">error: </FONT>
<FONT COLOR="#000000">too many arguments at /usr/local/rt3/lib/RT/Tickets_Overlay.pm line</FONT>
<FONT COLOR="#000000">1257 </FONT>
<FONT COLOR="#000000">context: </FONT>


<FONT COLOR="#000000">... </FONT>

<FONT COLOR="#000000">187: </FONT>
<FONT COLOR="#000000"># whether they should generate a full stack trace (confess() and cluck</FONT>
<FONT COLOR="#000000">()) </FONT>
<FONT COLOR="#000000">188: </FONT>
<FONT COLOR="#000000"># or simply report the caller's package (croak() and carp()), </FONT>
<FONT COLOR="#000000">respectively. </FONT>
<FONT COLOR="#000000">189: </FONT>
<FONT COLOR="#000000"># confess() and croak() die, carp() and cluck() warn. </FONT>
<FONT COLOR="#000000">190: </FONT>

<FONT COLOR="#000000">191: </FONT>
<FONT COLOR="#000000">sub croak { die shortmess @_ } </FONT>
<FONT COLOR="#000000">192: </FONT>
<FONT COLOR="#000000">sub confess { die longmess @_ } </FONT>
<FONT COLOR="#000000">193: </FONT>
<FONT COLOR="#000000">sub carp { warn shortmess @_ } </FONT>
<FONT COLOR="#000000">194: </FONT>
<FONT COLOR="#000000">sub cluck { warn longmess @_ } </FONT>
<FONT COLOR="#000000">195: </FONT>

<FONT COLOR="#000000">... </FONT>


<FONT COLOR="#000000">code stack: </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/5.8.4/Carp.pm:191 </FONT>
<FONT COLOR="#000000">../../lib/Storable.pm (autosplit into </FONT>
<FONT COLOR="#000000">../../lib/auto/Storable/logcroak.al):71 </FONT>
<FONT COLOR="#000000">../../lib/Storable.pm (autosplit into </FONT>
<FONT COLOR="#000000">../../lib/auto/Storable/_freeze.al):283 </FONT>
<FONT COLOR="#000000">../../lib/Storable.pm (autosplit into </FONT>
<FONT COLOR="#000000">../../lib/auto/Storable/freeze.al):266 </FONT>
<FONT COLOR="#000000">/usr/local/rt3/lib/RT/Tickets_Overlay.pm:1257 </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/RTIR/Elements/SearchFields:63 </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/RTIR/Listing.html:36 </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/RTIR/autohandler:2 </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/autohandler:215 </FONT>

<FONT COLOR="#000000">raw error </FONT>






























<FONT COLOR="#000000">too many arguments at /usr/local/rt3/lib/RT/Tickets_Overlay.pm line</FONT>
<FONT COLOR="#000000">1257 </FONT>


<FONT COLOR="#000000">Trace begun at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Exceptions.pm </FONT>
<FONT COLOR="#000000">line 131 </FONT>
<FONT COLOR="#000000">HTML::Mason::Exceptions::rethrow_exception('too many arguments at </FONT>
<FONT COLOR="#000000">/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1257^J') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/5.8.4/Carp.pm line 191 </FONT>
<FONT COLOR="#000000">Carp::croak('too many arguments') called at ../../lib/Storable.pm </FONT>
<FONT COLOR="#000000">(autosplit into ../../lib/auto/Storable/logcroak.al) line 71 </FONT>
<FONT COLOR="#000000">Storable::logcroak('too many arguments') called</FONT>
<FONT COLOR="#000000">at ../../lib/Storable.pm </FONT>
<FONT COLOR="#000000">(autosplit into ../../lib/auto/Storable/_freeze.al) line 283 </FONT>
<FONT COLOR="#000000">Storable::_freeze('CODE(0x852c8e4)', 'REF(0x998e2ac)', </FONT>
<FONT COLOR="#000000">'SCALAR(0x998e564)', 'SCALAR(0x999dc44)', 'SCALAR(0x999db54)') called</FONT>
<FONT COLOR="#000000">at </FONT>
<FONT COLOR="#000000">../../lib/Storable.pm (autosplit</FONT>
<FONT COLOR="#000000">into ../../lib/auto/Storable/freeze.al) </FONT>
<FONT COLOR="#000000">line 266 </FONT>
<FONT COLOR="#000000">Storable::freeze('REF(0x998e2ac)', 'SCALAR(0x998e564)', </FONT>
<FONT COLOR="#000000">'SCALAR(0x999dc44)', 'SCALAR(0x999db54)') called at </FONT>
<FONT COLOR="#000000">/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1257 </FONT>
<FONT COLOR="#000000">RT::Tickets::FreezeLimits('RT::Tickets=HASH(0x999dd58)') called at </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/RTIR/Elements/SearchFields line 63 </FONT>
<FONT COLOR="#000000">HTML::Mason::Commands::__ANON__('Path', '/RTIR/Listing.html', 'Queue', </FONT>
<FONT COLOR="#000000">'Incidents', 'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 136 </FONT>
<FONT COLOR="#000000">HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH</FONT>
<FONT COLOR="#000000">(0x99e5468)', </FONT>
<FONT COLOR="#000000">'Path', '/RTIR/Listing.html', 'Queue', 'Incidents', 'NewSearch', 1, </FONT>
<FONT COLOR="#000000">'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line </FONT>
<FONT COLOR="#000000">1068 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::comp(undef, undef, 'Path', '/RTIR/Listing.html', </FONT>
<FONT COLOR="#000000">'Queue', 'Incidents', 'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/RTIR/Listing.html line 36 </FONT>
<FONT COLOR="#000000">HTML::Mason::Commands::__ANON__('NewSearch', 1, 'Queue', 'Incidents', </FONT>
<FONT COLOR="#000000">'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 136 </FONT>
<FONT COLOR="#000000">HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH</FONT>
<FONT COLOR="#000000">(0x98bad04)', </FONT>
<FONT COLOR="#000000">'NewSearch', 1, 'Queue', 'Incidents', 'NewSearch', 1, 'Queue', </FONT>
<FONT COLOR="#000000">'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line </FONT>
<FONT COLOR="#000000">1068 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::comp(undef, undef, 'NewSearch', 1, 'Queue', </FONT>
<FONT COLOR="#000000">'Incidents', 'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::call_next</FONT>
<FONT COLOR="#000000">('HTML::Mason::Request::ApacheHandler=HASH(0x983a048)') </FONT>
<FONT COLOR="#000000">called at /usr/local/rt3/share/html/RTIR/autohandler line 2 </FONT>
<FONT COLOR="#000000">HTML::Mason::Commands::__ANON__('NewSearch', 1, 'Queue', 'Incidents', </FONT>
<FONT COLOR="#000000">'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 136 </FONT>
<FONT COLOR="#000000">HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH</FONT>
<FONT COLOR="#000000">(0x985c5f4)', </FONT>
<FONT COLOR="#000000">'NewSearch', 1, 'Queue', 'Incidents', 'NewSearch', 1, 'Queue', </FONT>
<FONT COLOR="#000000">'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line </FONT>
<FONT COLOR="#000000">1068 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::comp(undef, undef, 'NewSearch', 1, 'Queue', </FONT>
<FONT COLOR="#000000">'Incidents', 'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 760 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::call_next</FONT>
<FONT COLOR="#000000">('HTML::Mason::Request::ApacheHandler=HASH(0x983a048)', </FONT>
<FONT COLOR="#000000">'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/local/rt3/share/html/autohandler line 215 </FONT>
<FONT COLOR="#000000">HTML::Mason::Commands::__ANON__('NewSearch', 1, 'Queue', 'Incidents') </FONT>
<FONT COLOR="#000000">called at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line</FONT>
<FONT COLOR="#000000">136 </FONT>
<FONT COLOR="#000000">HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH</FONT>
<FONT COLOR="#000000">(0x98666d8)', </FONT>
<FONT COLOR="#000000">'NewSearch', 1, 'Queue', 'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1069 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line </FONT>
<FONT COLOR="#000000">1068 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::comp(undef, undef, undef, 'NewSearch', 1,</FONT>
<FONT COLOR="#000000">'Queue', </FONT>
<FONT COLOR="#000000">'Incidents') called at </FONT>
<FONT COLOR="#000000">/usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line </FONT>
<FONT COLOR="#000000">338 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line </FONT>
<FONT COLOR="#000000">297 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH</FONT>
<FONT COLOR="#000000">(0x983a048)') </FONT>
<FONT COLOR="#000000">called at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm</FONT>
<FONT COLOR="#000000">line </FONT>
<FONT COLOR="#000000">134 </FONT>
<FONT COLOR="#000000">eval {...}</FONT>
<FONT COLOR="#000000">at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm </FONT>
<FONT COLOR="#000000">line 134 </FONT>
<FONT COLOR="#000000">HTML::Mason::Request::ApacheHandler::exec</FONT>
<FONT COLOR="#000000">('HTML::Mason::Request::ApacheHandler=HASH(0x983a048)') </FONT>
<FONT COLOR="#000000">called at /usr/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm</FONT>
<FONT COLOR="#000000">line </FONT>
<FONT COLOR="#000000">827 </FONT>
<FONT COLOR="#000000">HTML::Mason::ApacheHandler::handle_request</FONT>
<FONT COLOR="#000000">('HTML::Mason::ApacheHandler=HASH(0x9345d30)', </FONT>
<FONT COLOR="#000000">'Apache::RequestRec=SCALAR(0x996c3c8)') called at </FONT>
<FONT COLOR="#000000">/usr/local/rt3/bin/webmux.pl line 136 </FONT>
<FONT COLOR="#000000">eval {...} at /usr/local/rt3/bin/webmux.pl line 136 </FONT>
<FONT COLOR="#000000">RT::Mason::handler('Apache::RequestRec=SCALAR(0x996c3c8)') called at -e </FONT>
<FONT COLOR="#000000">line 0 </FONT>
<FONT COLOR="#000000">eval {...} at -e line 0</FONT>


<FONT COLOR="#000000">I managed to have the search function working again by commenting or</FONT>
<FONT COLOR="#000000">deleting all call to the FreezeLimits function in :</FONT>
<FONT COLOR="#000000">share/html/Search/Elements/PickRestriction</FONT>
<FONT COLOR="#000000">share/html/Search/Elements/TicketHeaderCell</FONT>
<FONT COLOR="#000000">share/html/Search/Listing.html</FONT>

<FONT COLOR="#000000">Apparently somebody else is experiencing the exact same problem :</FONT>
<FONT COLOR="#000000"><A HREF="http://www.gossamer-threads.com/lists/rt/users/40780">http://www.gossamer-threads.com/lists/rt/users/40780</A></FONT>

<FONT COLOR="#000000">Did anyone else had this problem and more important found a solution ?</FONT>

<FONT COLOR="#000000">Regards.</FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>