[rt-users] MyRT line 76
Ruslan Zakirov
ruslan.zakirov at gmail.com
Mon May 15 07:02:18 EDT 2006
You have to upgrade database in order to use 3.6, read README. Note
that some DB upgrades are not backward compatible so you couldn't use
different versions of frontend with the same DB, but I don't remember
if that true for 3.6 vs 3.4.
On 5/1/06, Joshua Hunter <jhunter at telwestservices.com> wrote:
>
>
>
>
> I've just recently upgraded from 3.4.5 to 3.6.0pre1. Everything seems to be
> working fine now (after dealing with some GD issues) except that I receive
> an error on the RT at a glance page. I am completely new to Linux and RT
> (this is the first system I've ever installed and the first app I've ever
> configured) and have no idea what I'm looking at here. I got 3.4.5 up
> without any problems, but ran into a few snags with 3.6. I searched
> gossamer threads and saw that someone had emailed about this in August with
> version 3.5.2, but didn't see any response. Hopefully someone a bit more
> experienced can help.
>
>
>
> Thanks,
>
>
>
> Joshua Hunter
>
>
>
> Tel West Communications
>
> Tel West Network Services
>
> Information Technology
>
> Tel: 206-577-6333
>
> Fax: 206-315-3638
>
>
>
>
>
> System error
>
> error: Can't call method "Content" on an undefined value at
> /opt/rt3/share/html/Elements/MyRT line 76.
>
> context: ...
>
> 72:
>
> 73: unless (exists $session{'my_rt_portlets'}) {
>
> 74: my ($d_portlets) =
> RT::System->new($session{'CurrentUser'})->Attributes->Named('HomepageSettings');
>
> 75: my $user = $session{'CurrentUser'}->UserObj;
>
> 76: $session{'my_rt_portlets'} =
> $user->Preferences('HomepageSettings',
> $d_portlets->Content);
>
> 77: }
>
> 78:
>
> 79: my $portlets = $session{'my_rt_portlets'};
>
> 80:
>
> ...
>
>
>
> code stack: /opt/rt3/share/html/Elements/MyRT:76
>
> /opt/rt3/share/html/index.html:79
>
> /opt/rt3/share/html/autohandler:279
>
>
>
>
>
> raw error
>
>
>
> Can't call method "Content" on an undefined value at
> /opt/rt3/share/html/Elements/MyRT line 76.
>
>
>
>
>
> Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm
> line 129
>
> HTML::Mason::Exceptions::rethrow_exception('Can\'t call
> method "Content" on an undefined value at
> /opt/rt3/share/html/Elements/MyRT line 76.^J') called at
> /opt/rt3/share/html/Elements/MyRT line 76
>
> HTML::Mason::Commands::__ANON__ at
> /usr/share/perl5/HTML/Mason/Component.pm line 135
>
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9fc2e2c)')
> called at /usr/share/perl5/HTML/Mason/Request.pm line 1251
>
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line
> 1245
>
> HTML::Mason::Request::comp(undef, undef) called at
> /opt/rt3/share/html/index.html line 79
>
> HTML::Mason::Commands::__ANON__ at
> /usr/share/perl5/HTML/Mason/Component.pm line 135
>
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9ecdf4c)')
> called at /usr/share/perl5/HTML/Mason/Request.pm line 1251
>
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line
> 1245
>
> HTML::Mason::Request::comp(undef, undef) called at
> /usr/share/perl5/HTML/Mason/Request.pm line 914
>
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9f88148)')
> called at /opt/rt3/share/html/autohandler line 279
>
> HTML::Mason::Commands::__ANON__ at
> /usr/share/perl5/HTML/Mason/Component.pm line 135
>
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9de06f4)')
> called at /usr/share/perl5/HTML/Mason/Request.pm line 1246
>
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line
> 1245
>
> HTML::Mason::Request::comp(undef, undef, undef) called at
> /usr/share/perl5/HTML/Mason/Request.pm line 459
>
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line
> 459
>
> eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line
> 411
>
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9f88148)')
> called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line
> 165
>
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9f88148)')
> called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line
> 832
>
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8875278)',
> 'Apache2::RequestRec=SCALAR(0x9f8bd54)') called at
> /opt/rt3/bin/webmux.pl line 123
>
> eval {...} at /opt/rt3/bin/webmux.pl line 123
>
> RT::Mason::handler('Apache2::RequestRec=SCALAR(0x9f8bd54)')
> called at -e line 0
>
> eval {...} at -e line 0
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical:
> http://bestpractical.com/about/jobs.html
>
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list