[rt-users] RT 3.6.3 error

Richard Ellis Richard.Ellis at Sun.COM
Wed May 9 06:20:18 EDT 2007


Hi Guys,

I'm hoping somebody can point me to a solution to this error. Trying to 
upgrade our test instance from 3.4.6 to 3.6.3.

Ran the upgrade for etc/upgrade/3.5.1/content, restarted, flushed caches 
etc and when logging in see this error:
*error:*  	Can't use string ("") as a HASH ref while "strict refs" in 
use at /opt/rt3/share/html/Elements/MyRT line 50.
*context:*  	
*...*  	
*46:*  	<table border="0" width="100%">
*47:*  	<tr valign="top">
*48:*  	<td width="70%" class="boxcontainer">
*49:*  	
*50:*  	% for my $portlet (@{$portlets->{body}}) {
*51:*  	<% $show_cb->( $portlet ) %>
*52:*  	<br />
*53:*  	% }
*54:*  	
*...*  	

*code stack:*  	/opt/rt3/share/html/Elements/MyRT:50
/opt/rt3/share/html/index.html:79
/opt/rt3/share/html/autohandler:292


Removed our complete rt3 instance and ran make install, only copying the 
RT_SiteConfig.pm file across to the new directory and see the same error

Raw error is:

Can't use string ("") as a HASH ref while "strict refs" in use at /opt/rt3/share/html/Elements/MyRT line 50.


Trace begun at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t use string ("") as a HASH ref while "strict refs" in use at /opt/rt3/share/html/Elements/MyRT line 50.^J') called at /opt/rt3/share/html/Elements/MyRT line 50
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1857168)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/html/index.html line 79
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x17679ac)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /opt/rt3/share/html/autohandler line 292
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1794ce8)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x112b300)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x112b300)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x128c928)', 'Apache=SCALAR(0x106490)') called at /opt/rt3/bin/webmux.pl line 123
eval {...} at /opt/rt3/bin/webmux.pl line 123
RT::Mason::handler('Apache=SCALAR(0x106490)') called at /dev/null line 0
eval {...} at /dev/null line 0

make testdeps output is:
/usr/local/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql
perl:
        >=5.8.3(5.008004)...found
users:
        rt group (rt)...found
        bin owner (root)...found
        libs owner (root)...found
        libs group (bin)...found
        web owner (rtuser)...found
        web group (rtusers)...found
CLI dependencies:
        Getopt::Long >=2.24...found
CORE dependencies:
        Digest::base...found
        Digest::MD5 >=2.27...found
        DBI >=1.37...found
        Test::Inline...found
        Class::ReturnValue >=0.40...found
        Date::Format...found
        DBIx::SearchBuilder >=1.40...found
        Text::Template...found
        File::Spec >=0.8...found
        HTML::Entities...found
        HTML::Scrubber >=0.08...found
        Net::Domain...found
        Log::Dispatch >=2.0...found
        Locale::Maketext >=1.06...found
        Locale::Maketext::Lexicon >=0.32...found
        Locale::Maketext::Fuzzy...found
        MIME::Entity >=5.108...found
        Mail::Mailer >=1.57...found
        Net::SMTP...found
        Text::Wrapper...found
        Time::ParseDate...found
        Time::HiRes...found
        File::Temp...found
        Term::ReadKey...found
        Text::Autoformat...found
        Text::Quoted >=1.3...found
        Tree::Simple >=1.04...found
        Scalar::Util...found
        Module::Versions::Report...found
        Cache::Simple::TimedExpiry...found
        UNIVERSAL::require...found
        Calendar::Simple...found
DEV dependencies:
        Regexp::Common...found
        Test::Inline...found
        Apache::Test...found
        HTML::Form...found
        HTML::TokeParser...found
        WWW::Mechanize...found
        Test::WWW::Mechanize >=1.04...found
        Module::Refresh >=0.03...found
        Test::Expect >=0.30...found
        XML::Simple...found
        File::Find...found
MAILGATE dependencies:
        HTML::TreeBuilder...found
        HTML::FormatText...found
        Getopt::Long...found
        LWP::UserAgent...found
MASON dependencies:
        Params::Validate >=0.02...found
        Cache::Cache...found
        Exception::Class >=1.14...found
        HTML::Mason >=1.23...found
        MLDBM...found
        Errno...found
        FreezeThaw...found
        Digest::MD5 >=2.27...found
        CGI::Cookie >=1.20...found
        Storable >=2.08...found
        Apache::Session >=1.53...found
        XML::RSS >=1.05...found
        HTTP::Server::Simple >=0.07...found
        HTTP::Server::Simple::Mason >=0.09...found
        GD...found
        GD::Graph...found
        GD::Text...found
        Text::WikiFormat >=0.76...found
MYSQL dependencies:
        DBD::mysql >=2.1018...found


Anyone any ideas? Its been a very long night and I can't see the wood 
for the trees so to speak.

Thanks

Rik

-- 
Richard Ellis
.Sun B2B Operations
Sun Microsystems x24727
http://sun.com





More information about the rt-users mailing list