Eigene Dashlets unter version 3.3?
Hi,
was muss man denn tun damit das hier: http://blog.otrs.org/2010/09/26/keep-an-eye-on-certain-customers/ auch unter 3.3 funktioniert.
Wenn ich nach dieser Anleitung vorgehe zerlege ich mein Testsystem.
Apache Error Log: [Thu Nov 21 09:38:32 2013] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203. [Thu Nov 21 09:38:32 2013] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203. ERROR: OTRS-CGI-99 Perl: 5.10.1 OS: linux Time: Thu Nov 21 09:38:32 2013
Message: Decoding the JSON string failed: unexpected end of string while parsing JSON string, at character offset 250 (before "(end of string)") at /opt/otrs//Kernel/System/JSON.pm line 129
RemoteAddress: 10.33.0.60 RequestURI: /otrs/index.pl?Action=AgentDashboard
Traceback (34392): Module: Kernel::System::JSON::Decode (OTRS 3.3.1) Line: 130 Module: Kernel::Output::HTML::DashboardTicketGeneric::_SearchParamsGet (OTRS 3.3.1) Line: 1748 Module: Kernel::Output::HTML::DashboardTicketGeneric::Run (OTRS 3.3.1) Line: 481 Module: Kernel::Modules::AgentDashboardCommon::_Element (OTRS 3.3.1) Line: 825 Module: Kernel::Modules::AgentDashboardCommon::Run (OTRS 3.3.1) Line: 562 Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.1) Line: 863 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41 Module: (eval) (v1.99) Line: 204 Module: ModPerl::RegistryCooker::run (v1.99) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
[Thu Nov 21 09:39:49 2013] [error] [client 10.33.0.60] Can't locate /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/Kernel/cpan-lib/Apache2/Reload.pm line 179.\n, referer:http://coocgnotrs002.coo.local/otrs/ind ... tDashboardhttp://coocgnotrs002.coo.local/otrs/index.pl?Action=AgentDashboard [Thu Nov 21 09:39:49 2013] [error] [client 10.33.0.60] Can't locate /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/Kernel/cpan-lib/Apache2/Reload.pm line 179.\n
und ich bekomme diesen Fehler: Fehlermeldung: Module Kernel::Modules::AgentDashboard not registered in Kernel/Config.pm! Please contact your administrator.
Boris
On 21.11.2013 09:57, Wagener, Boris wrote:
Hi,
was muss man denn tun damit das hier: http://blog.otrs.org/2010/09/26/keep-an-eye-on-certain-customers/ auch unter 3.3 funktioniert.
Prinzipiell funktioniert es. Man muss nur die Konfig etwas erweitern, aber damit hat Dein Fehler nicht zu tun.
Wenn ich nach dieser Anleitung vorgehe zerlege ich mein Testsystem.
Apache Error Log: [Thu Nov 21 09:38:32 2013] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203. [Thu Nov 21 09:38:32 2013] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203. ERROR: OTRS-CGI-99 Perl: 5.10.1 OS: linux Time: Thu Nov 21 09:38:32 2013
Message: Decoding the JSON string failed: unexpected end of string while parsing JSON string, at character offset 250 (before "(end of string)") at /opt/otrs//Kernel/System/JSON.pm line 129
Mehr Informationen gibt es nicht? Ich würde mal in der JSON.pm das Debugging verbessern: Mach mal in der Zeile 129 von Kernel/System/JSON.pm aus
Message => 'Decoding the JSON string failed: ' . $@,
einfach
Message => 'Decoding the JSON string failed' . "($Param{Data})" . ': ' . $@,
Dann siehst Du im Log schonmal, wie der JSON-String aussieht, der Probleme macht.
RemoteAddress: 10.33.0.60 RequestURI: /otrs/index.pl?Action=AgentDashboard
Traceback (34392): Module: Kernel::System::JSON::Decode (OTRS 3.3.1) Line: 130 Module: Kernel::Output::HTML::DashboardTicketGeneric::_SearchParamsGet (OTRS 3.3.1) Line: 1748 Module: Kernel::Output::HTML::DashboardTicketGeneric::Run (OTRS 3.3.1) Line: 481 Module: Kernel::Modules::AgentDashboardCommon::_Element (OTRS 3.3.1) Line: 825 Module: Kernel::Modules::AgentDashboardCommon::Run (OTRS 3.3.1) Line: 562 Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.1) Line: 863 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41 Module: (eval) (v1.99) Line: 204 Module: ModPerl::RegistryCooker::run (v1.99) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
[Thu Nov 21 09:39:49 2013] [error] [client 10.33.0.60] Can't locate /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/Kernel/cpan-lib/Apache2/Reload.pm line 179.\n, referer:http://coocgnotrs002.coo.local/otrs/ind ... tDashboardhttp://coocgnotrs002.coo.local/otrs/index.pl?Action=AgentDashboard [Thu Nov 21 09:39:49 2013] [error] [client 10.33.0.60] Can't locate /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/Kernel/cpan-lib/Apache2/Reload.pm line 179.\n
Gibt es die Datei Kernel/Config/Files/ZZZAAuto.pm nicht? Kannst Du ein RebuildConfig machen?
und ich bekomme diesen Fehler: Fehlermeldung: Module Kernel::Modules::AgentDashboard not registered in Kernel/Config.pm! Please contact your administrator.
Boris
OTRS mailing list: otrs-de - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs-de To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
Jetzt geht es merkwürdigerweise... Trotzdem Danke.
Von: otrs-de-bounces@otrs.org [mailto:otrs-de-bounces@otrs.org] Im Auftrag von Renee B Gesendet: Donnerstag, 21. November 2013 10:19 An: otrs-de@otrs.org Betreff: Re: [otrs-de] Eigene Dashlets unter version 3.3?
On 21.11.2013 09:57, Wagener, Boris wrote:
Hi,
was muss man denn tun damit das hier:
http://blog.otrs.org/2010/09/26/keep-an-eye-on-certain-customers/
auch unter 3.3 funktioniert.
Prinzipiell funktioniert es. Man muss nur die Konfig etwas erweitern, aber damit hat Dein Fehler nicht zu tun.
Wenn ich nach dieser Anleitung vorgehe zerlege ich mein Testsystem.
Apache Error Log:
[Thu Nov 21 09:38:32 2013] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203.
[Thu Nov 21 09:38:32 2013] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 203.
ERROR: OTRS-CGI-99 Perl: 5.10.1 OS: linux Time: Thu Nov 21 09:38:32 2013
Message: Decoding the JSON string failed: unexpected end of string while parsing JSON string, at character offset 250 (before "(end of string)") at /opt/otrs//Kernel/System/JSON.pm line 129
Mehr Informationen gibt es nicht? Ich würde mal in der JSON.pm das Debugging verbessern: Mach mal in der Zeile 129 von Kernel/System/JSON.pm aus
Message => 'Decoding the JSON string failed: ' . $@,
einfach
Message => 'Decoding the JSON string failed' . "($Param{Data})" . ': ' . $@,
Dann siehst Du im Log schonmal, wie der JSON-String aussieht, der Probleme macht.
RemoteAddress: 10.33.0.60
RequestURI: /otrs/index.pl?Action=AgentDashboard
Traceback (34392):
Module: Kernel::System::JSON::Decode (OTRS 3.3.1) Line: 130
Module: Kernel::Output::HTML::DashboardTicketGeneric::_SearchParamsGet (OTRS 3.3.1) Line: 1748
Module: Kernel::Output::HTML::DashboardTicketGeneric::Run (OTRS 3.3.1) Line: 481
Module: Kernel::Modules::AgentDashboardCommon::_Element (OTRS 3.3.1) Line: 825
Module: Kernel::Modules::AgentDashboardCommon::Run (OTRS 3.3.1) Line: 562
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.1) Line: 863
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Thu Nov 21 09:39:49 2013] [error] [client 10.33.0.60] Can't locate /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/Kernel/cpan-lib/Apache2/Reload.pm line 179.\n, referer:http://coocgnotrs002.coo.local/otrs/ind ... tDashboardhttp://coocgnotrs002.coo.local/otrs/index.pl?Action=AgentDashboardhttp://coocgnotrs002.coo.local/otrs/index.pl?Action=AgentDashboard
[Thu Nov 21 09:39:49 2013] [error] [client 10.33.0.60] Can't locate /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /opt/otrs/Kernel/cpan-lib/Apache2/Reload.pm line 179.\n
Gibt es die Datei Kernel/Config/Files/ZZZAAuto.pm nicht? Kannst Du ein RebuildConfig machen?
und ich bekomme diesen Fehler:
Fehlermeldung: Module Kernel::Modules::AgentDashboard not registered in Kernel/Config.pm!
Please contact your administrator.
Boris
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
--
Perl / OTRS development: http://perl-services.de
OTRS AddOn repository: http://opar.perl-services.de
participants (2)
-
Renee B
-
Wagener, Boris