Hi,
Have a strange problem with an existing installation.
For some reason /index.pl?Action=AgentStats&Subaction=Overview doesnt work and displays this error:
Software error:
Can't call method "new" without a package or object reference at /opt/otrs//Kernel/System/Stats.pm line 2238.
In /var/log/messages;
Jun 21 08:18:20 X OTRS-CGI-10[5094]: [Error][Kernel::System::Stats::GetObjectName][Line:2235]: Module .pm not found!
But if I go directly to an stats ID;
/index.pl?Action=AgentStats&Subaction=View&StatID=191
Everything works just fine, but for some reason doesnt the Overview module work.
I've verified with out test system that settings in Frontend::Module###AgentStats is the same as production.
Line 2238 in Stats.pm is:
2232 return if $Module eq "Kernel::System::Stats::Static::FAQAccess";
2233
2234 # load module
2235 $Self->{MainObject}->Require($Module);
2236
2237 # get name
2238 my $StatObject = $Module->new( %{$Self} );
2239 my $Name = $StatObject->GetObjectName();
2240
2241 # cache the result
2241 $Self->{'Cache::ObjectModule'}{$Module} = $Name;
It seems that %{Self} should have a value "Stats" (?), If changed to that the browser error changes to:
Software error:
Got no DBObject! at /opt/otrs//Kernel/System/Stats/Dynamic/TicketList.pm line 39.
AFAIK noone have done any changes to the system, as far as i can se from the subversion logs.
Hope this is enough information to help me. Thanks
Stats Overview doesnt work, Stats View does?
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Stats Overview doesnt work, Stats View does?
Version?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Stats Overview doesnt work, Stats View does?
2.4.4 with security patches
Re: Stats Overview doesnt work, Stats View does?
Any suggestions?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Stats Overview doesnt work, Stats View does?
Yes, upgrade to 2.4.9 and see if that helps.
That you're finding this out, now, when the current version is 3.0.x, indicates it wasn't ever a problem before for you, you've never tried it before, or somehow, you've recently installed 2.4.4 ...
But I don't know enough about 2.4.4 to tell you this will be fixed or why it's not working.
But this might:
http://source.otrs.org/viewvc.cgi/otrs/ ... =rel-2_4_9
That you're finding this out, now, when the current version is 3.0.x, indicates it wasn't ever a problem before for you, you've never tried it before, or somehow, you've recently installed 2.4.4 ...
But I don't know enough about 2.4.4 to tell you this will be fixed or why it's not working.
But this might:
http://source.otrs.org/viewvc.cgi/otrs/ ... =rel-2_4_9
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Stats Overview doesnt work, Stats View does?
Hi,
Thanks alot! I will look into it, this bug may be related so it wont harm to look into it.
Thanks alot! I will look into it, this bug may be related so it wont harm to look into it.