Got no TicketObject at ToolBarGeneric.pm

Moderator: crythias

Locked
XFab
Znuny newbie
Posts: 6
Joined: 23 Sep 2013, 13:36
Znuny Version: 3.3.7
Real Name: Eric

Got no TicketObject at ToolBarGeneric.pm

Post by XFab »

Hi guys,

my OTRS System stopped running!
Actually I don't know what caused the error. I just implemented an logo and did some changes at the SystemMonitoring.pm file before.
I already revoked this changes but have no idea where else I can search.

The fully error is: [Wed Jun 18 14:59:26 2014] -e: Got no TicketObject! at /opt/otrs//Kernel/Output/HTML/ToolBarGeneric.pm line 24. ,

I thought it is a problem with the DB, wherefore I restored an backup. But no solution...

Somebody of you have an idea?

Thanks for your help!
Eric
Last edited by XFab on 19 Jun 2014, 11:46, edited 1 time in total.
OTRS 3.3.8, ITSM 3.3.8

OS: SLES x64
Apache: 2.2.12
MySQL 5.5.31
Perl: 5.10.0
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Got no TicketObject at ToolBarGeneric.pm

Post by jojo »

roll back your changes (nothing breaks just so...)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
XFab
Znuny newbie
Posts: 6
Joined: 23 Sep 2013, 13:36
Znuny Version: 3.3.7
Real Name: Eric

Re: Got no TicketObject at ToolBarGeneric.pm

Post by XFab »

Hi jojo,

thanks for your reply.
As I have written, I already rolled this changes back, of which I thought that it was the cause. Furthermore I have no more idea what it could be.
That's why I need to fix this issue with the error message and the help of some specialist.

Any more suggestions, please?

Kindly
Eric

p.s.: I also used otrs.DeleteCache.pm and otrs.RebuildConfig.pm.
OTRS 3.3.8, ITSM 3.3.8

OS: SLES x64
Apache: 2.2.12
MySQL 5.5.31
Perl: 5.10.0
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: Got no TicketObject at ToolBarGeneric.pm

Post by BIG_jan »

when i have this problem its always on my development-mashine when i updated teh database.

so, maybe u use some themes for the agents and something is mexed up.
Try this and reset all themes to default:

Code: Select all

delete from user_preferences where preferences_key = 'UserTheme';
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
XFab
Znuny newbie
Posts: 6
Joined: 23 Sep 2013, 13:36
Znuny Version: 3.3.7
Real Name: Eric

Re: Got no TicketObject at ToolBarGeneric.pm

Post by XFab »

Hi Jan!

thanks for your assistance!
I did some tests with creating themes and it seems okay till now, but then the error surfaced. My first idea was to revoke my changes and that's why I deleted the themes again.
After that, and the error still was existing, I deleted the Database and recovered an older Version.
No answer.
I thought maybe my older versions of the DB are also broken, so I deleted the DB and created it completely new. - No answer.
After recovering an older version again I tried your suggestion - but unfortunately it couldn't fix the issue.

Okay, I also did some changes in SystemMonitoring.pm before, but first, I also revoked this changes, and second, I think some changes in this Module must not have effects of this size...

Maybe you have some more ideas?

Thanks again!

Edit: Btw when I try to load the customer.pl page I get following error message:

Can't use an undefined value as a HASH reference at /opt/otrs//Kernel/System/CustomerUser.pm line 87.
OTRS 3.3.8, ITSM 3.3.8

OS: SLES x64
Apache: 2.2.12
MySQL 5.5.31
Perl: 5.10.0
XFab
Znuny newbie
Posts: 6
Joined: 23 Sep 2013, 13:36
Znuny Version: 3.3.7
Real Name: Eric

Re: Got no TicketObject at ToolBarGeneric.pm

Post by XFab »

BTW: The Login window is available as usual. The error message comes after logging in only.

Any furhter suggestions please?

Kindly,
Eric
OTRS 3.3.8, ITSM 3.3.8

OS: SLES x64
Apache: 2.2.12
MySQL 5.5.31
Perl: 5.10.0
XFab
Znuny newbie
Posts: 6
Joined: 23 Sep 2013, 13:36
Znuny Version: 3.3.7
Real Name: Eric

Re: Got no TicketObject at ToolBarGeneric.pm

Post by XFab »

Okay, fixed the issue now through a new installation of OTRS and restoring of the db.
I lost some settings, but could reconfigure them because I have documented most things.

Thanks anyway.

Kindly,
Eric :-P
OTRS 3.3.8, ITSM 3.3.8

OS: SLES x64
Apache: 2.2.12
MySQL 5.5.31
Perl: 5.10.0
Locked