Otrs Statistics Internal Server Error
0 Wiki Network Create a new issue Commits Issue Boards Authored by otrs installer.pl internal server error Martin Gruner 2014-01-17 11:59:22 +0100 Browse Files Options otrs internal server error Browse Files Download Email Patches Plain Diff Commit 9067700991c134d5fd235f60f2354e9719a71c09 90677009 1 parent cfd5013f Fixed: Edit Stats - 500 internal Server Error (bug#10161). Hide whitespace changes Inline Side-by-side Showing 3 changed files with 30 additions and 4 deletions CHANGES.md Kernel/System/Stats.pm scripts/test/Stats.t CHANGES.md View file @9067700 #3.3.4 2014-01-28 - 2014-01-17 Fixed bug#[10161](http://bugs.otrs.org/show_bug.cgi?id=10161) - Edit Stats - 500 internal Server Error. - 2014-01-17 Fixed bug#[10167](http://bugs.otrs.org/show_bug.cgi?id=10167) - Non-deterministic hash key construction in Stats.pm. - 2014-01-14 Fixed bug#[10158](http://bugs.otrs.org/show_bug.cgi?id=10158) - Missing quoting in State::StateGetStatesByType(). - 2014-01-14 Fixed bug#[10048](http://bugs.otrs.org/show_bug.cgi?id=10048) - RPM upgrade breaks permissions on config files. ...... Kernel/System/Stats.pm View file @9067700 ......@@ -1520,7 +1520,7 @@ sub GetObjectName { get behaviours that a statistic supports my %Behaviours = $StatsObject->GetObjectBehaviours( my $Behaviours = $StatsObject->GetObjectBehaviours( ObjectModule => 'Kernel::System::Stats::Dynamic::TicketList', ); ......@@ -1538,8 +1538,9 @@ sub GetObjectBehaviours { my $Module = $Param{ObjectModule}; # check if it is cached return $Self->{'Cache::ObjectBehaviours'}->{$Module} if $Self->{'Cache::ObjectBehaviours'}->{$Module}; if ($Self ->{'Cache::ObjectBehaviours'}->{$Module}) { return $Self->{'Cache::ObjectBehaviours'}->{$Module} } # load module, return if module does not exist # (this is important when stats are uninstalled, see also bug# 4269) ......@@ -1552,7 +1553,7 @@ sub GetObjectBehaviours { my %ObjectBehaviours = $StatObject->GetObjectBehaviours(); # cache the result $Self->{'Cache::ObjectBehaviours'}->{$Module} = %ObjectBehaviours; $Self->{'Cache::ObjectBehaviours'}->{$Module} = \%ObjectBehaviours; return \%ObjectBehaviours; } ...... scripts/test/Stats.t View file @9067700 ......@@ -171,6 +171,30 @@ $Self->Is( 'StatsGet() check the ShowAsDashboardWidget flag', ); my $ObjectBehaviours = $StatsObject->Get
as admin. Attached is the Screen Cap and below arethe excerpts from the logs for your checking:Stats- https://mydomain.local/otrs/index.pl?Action=AgentStats&Subaction=OverviewAdmin- https://mydomain.local/otrs/index.pl?Action=AdminCustomer -https://mydomain.local/otrs/index.pl?Action=AdminCustomerUser&Nav=AgentOTRS - /var/log/httpd/SSL_ACCESS_LOG(Stats)123.45.67.123 - - [14/Oct/2010:20:39:16 +0800] "GET/otrs/index.pl?Action=AgentStats&Subaction=Overview HTTP/1.1" 500 613(Admin)123.45.67.123 - - https://dev.ib.pl/ib/otrs/commit/9067700991c134d5fd235f60f2354e9719a71c09 [14/Oct/2010:15:35:09 +0800] "GET/otrs/index.pl?Action=Admin HTTP/1.1" 500 613(Customer)123.45.67.123 - - [14/Oct/2010:20:44:43 +0800] "GET/otrs/index.pl?Action=AdminCustomerUser&Nav=Agent HTTP/1.1" 500 613OTRS - /var/log/httpd/SSL_ERROR_LOG[Thu Oct 14 14:56:56 2010] [warn] RSA server certificate CommonName (CN)`mydomain.com' does NOT match server name!?[Thu Oct 14 14:56:56 http://otrs.otrs.narkive.com/26oL8mhv/otrs-internal-server-error 2010] [warn] RSA server certificate CommonName (CN)`mydomain.com' does NOT match server name!?[Thu Oct 14 14:57:04 2010] [error] [client 123.45.67.123] malformed headerfrom script. Bad header=UserIsGroupRo: index.pl[Thu Oct 14 14:57:14 2010] [error] [client 123.45.67.123] malformed headerfrom script. Bad header=UserIsGroupRo: index.pl, referer:https://mydomain.local/otrs/index.pl?Action=AgentTicketQueueThank you,Raleigh Raleigh Guevarra 2010-12-08 08:59:21 UTC PermalinkRaw Message Hi, Kindly assist as I'm getting an error when tried to access Customer, Adminand Stats pages in OTRS as admin. Attached is the Screen Cap and below arethe excerpts from the logs for your checking:Stats- https://mydomain.local/otrs/index.pl?Action=AgentStats&Subaction=OverviewAdmin- https://mydomain.local/otrs/index.pl?Action=AdminCustomer -https://mydomain.local/otrs/index.pl?Action=AdminCustomerUser&Nav=AgentOTRS - /var/log/httpd/SSL_ACCESS_LOG(Stats)123.45.67.123 - - [14/Oct/2010:20:39:16 +0800] "GET/otrs/index.pl?Action=AgentStats&Subaction=Overview HTTP/1.1" 500 613(Admin)123.45.67.123 - - [14/Oct/2010:15:35:09 +0800] "GET/otrs/index.pl?Action=
get an internal server error of type:[Mon Feb 27 17:18:56 2012] [error] Can't locate object method"TicketFreeTextGet" via package "Kernel::System::Ticket" at/opt/otrs//Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pmline 389.\nThank you in advance.MV Steven Carr 2012-02-27 17:20:22 UTC PermalinkRaw internal server Message Looks like a bug, current version in CVShttp://source.otrs.org/viewvc.cgi/ITSMTicket/Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pm?view=markupstillshows it's looking for TicketFreeTextGet which no longer exists inOTRS 3.1Please report via http://bugs.otrs.orgStevePost by Marco VanniniHi all,Are you able to run (add) stats on the internal server error 3.1 ? I've just tried this/index.pl?Action=AgentStats;Subaction=EditSpecification;StatID=new[Mon Feb 27 17:18:56 2012] [error] Can't locate object method"TicketFreeTextGet" via package "Kernel::System::Ticket" at/opt/otrs//Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pmline 389.\nThank you in advance.MV---------------------------------------------------------------------OTRS mailing list: otrs - Webpage: http://otrs.org/Archive: http://lists.otrs.org/pipermail/otrsTo unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Marco Vannini 2012-02-28 08:08:50 UTC PermalinkRaw Message #8265Thank you !MVPost by Steven CarrLooks like a bug, current version in CVShttp://source.otrs.org/viewvc.cgi/ITSMTicket/Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pm?view=markupstill shows it's looking for TicketFreeTextGet which no longer exists inOTRS 3.1Please report via http://bugs.otrs.orgStevePost by Marco VanniniHi all,Are you able to run (add) stats on the 3.1 ? I've just tried this/index.pl?Action=AgentStats;Subaction=EditSpecification;StatID=new[Mon Feb 27 17:18:56 2012] [error] Can't locate object method"TicketFreeTextGet" via package "Kernel::System::Ticket" at/opt/otrs//Kernel/System/Stats/Dynamic/ITSMTicketFirstLevelSolutionRate.pmline 389.\nThank you in adv