Can't call method "Content" on an undefined value at /usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line 225

Hi I am upgrading to RT 3.8.2 on a Red Hat 5 Enterprise system. I am
also getting the error message

Can’t call method “Content” on an undefined value at
/usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line 225

I have Postgres so the MySQL recommendations I have read about don’t
apply.

I am at the following versions:

DBD::Pg v2.11.6;
DBI v1.607;
DBIx::SearchBuilder v1.54;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;

I was upgrading from RT 3.4.5. I did a clean install as recommended but
I didn’t see any sql scripts to run for the 3.4.5 => 3.8.2 update.

What other things can I check? I have turned on debugging and fixed the
error messages for GraphViz.

Thanks!
-Tim

Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.

When I look at the piece of code in question it mentions a default
portlet. Is this saying that I don’t have a default portlet and if so
how do I create one?

86 my @panes = $m->comp(
87 ‘/Admin/Elements/ConfigureMyRT’,
88 panes => [‘body’, ‘summary’],
89 Action => ‘MyRT.html’,
90 items => @items,
91 current_portlets => $default_portlets->Content,
92 OnSave => sub {
93 my ( $conf, $pane ) = @_;
94 $default_portlets->SetContent( $conf );
95 push @actions, loc( ‘Global portlet [_1] saved.’, $pane );
96 }
97 );-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Flynn,
Timothy J
Sent: Wednesday, January 14, 2009 4:29 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Can’t call method “Content” on an undefined value
at/usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line 225

Hi I am upgrading to RT 3.8.2 on a Red Hat 5 Enterprise system. I am
also getting the error message

Can’t call method “Content” on an undefined value at
/usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line 225

I have Postgres so the MySQL recommendations I have read about don’t
apply.

I am at the following versions:

DBD::Pg v2.11.6;
DBI v1.607;
DBIx::SearchBuilder v1.54;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;

I was upgrading from RT 3.4.5. I did a clean install as recommended but
I didn’t see any sql scripts to run for the 3.4.5 => 3.8.2 update.

What other things can I check? I have turned on debugging and fixed the
error messages for GraphViz.

Thanks!
-Tim

Notice: This UI Health Care e-mail (including attachments) is covered by
the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
confidential and may be legally privileged. If you are not the intended
recipient, you are hereby notified that any retention, dissemination,
distribution, or copying of this communication is strictly prohibited.
Please reply to the sender that you have received the message in error,
then delete it. Thank you.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support:
sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Sorry I have fixed my issue. If I would have read the whole README file
I would have seen the upgrade db command.

-Tim-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Flynn,
Timothy J
Sent: Tuesday, January 20, 2009 10:24 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t call method “Content” on an undefined
valueat/usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line
225

When I look at the piece of code in question it mentions a default
portlet. Is this saying that I don’t have a default portlet and if so
how do I create one?

86 my @panes = $m->comp(
87 ‘/Admin/Elements/ConfigureMyRT’,
88 panes => [‘body’, ‘summary’],
89 Action => ‘MyRT.html’,
90 items => @items,
91 current_portlets => $default_portlets->Content,
92 OnSave => sub {
93 my ( $conf, $pane ) = @_;
94 $default_portlets->SetContent( $conf );
95 push @actions, loc( ‘Global portlet [_1] saved.’, $pane );
96 }
97 );

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Flynn,
Timothy J
Sent: Wednesday, January 14, 2009 4:29 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Can’t call method “Content” on an undefined value
at/usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line 225

Hi I am upgrading to RT 3.8.2 on a Red Hat 5 Enterprise system. I am
also getting the error message

Can’t call method “Content” on an undefined value at
/usr/local/rt3/share/html/Admin/Global/MyRT.html line 97, line 225

I have Postgres so the MySQL recommendations I have read about don’t
apply.

I am at the following versions:

DBD::Pg v2.11.6;
DBI v1.607;
DBIx::SearchBuilder v1.54;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;

I was upgrading from RT 3.4.5. I did a clean install as recommended but
I didn’t see any sql scripts to run for the 3.4.5 => 3.8.2 update.

What other things can I check? I have turned on debugging and fixed the
error messages for GraphViz.

Thanks!
-Tim

Notice: This UI Health Care e-mail (including attachments) is covered by
the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
confidential and may be legally privileged. If you are not the intended
recipient, you are hereby notified that any retention, dissemination,
distribution, or copying of this communication is strictly prohibited.
Please reply to the sender that you have received the message in error,
then delete it. Thank you.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support:
sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com Commercial support:
sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com