[Solved] HTMLUtils.pm Update - Internal Service Errors

Moderator: crythias

Locked
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

[Solved] HTMLUtils.pm Update - Internal Service Errors

Post by pakirby »

We are not ready to do a full patch to 3.1.11, but we applied the recent security update to HTMLUtils.pm, Rev 1.44. Upon applying this updated file, all of our tickets receive an Internal Service Error in the body of the email.

We are able to see the body of the ticket via the Large preview windows, but opening the ticket shows the Internal Service Error. Restarting OTRS and HTTP services does not clear up this issue.

Reverting the file back to the previous version fixes this issue and no other files have been patched. Any idea what's going on?
Last edited by pakirby on 30 Oct 2012, 21:56, edited 1 time in total.
OTRS 3.2.1
CentOs 5.7
MySQL
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: HTMLUtils.pm Update - Internal Service Errors

Post by reneeb »

Can you post the log message in Apaches error log?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

Re: HTMLUtils.pm Update - Internal Service Errors

Post by pakirby »

Here is the log report:

Code: Select all

[Wed Oct 24 08:16:29 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:19:58 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:29:06 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:29:17 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:29:22 2012] [error] Software caused connection abort at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1640.\n
[Wed Oct 24 08:29:24 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:29:31 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:29:35 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:29:37 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 08:29:50 2012

 Message: Module Digest/SHA.pm not found!

 Traceback (27582): 
   Module: Kernel::System::Auth::DB::Auth (v1.34) Line: 132
   Module: Kernel::System::Auth::Auth (v1.56) Line: 189
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 204
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Oct 24 08:30:15 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:30:23 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:30:53 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:30:59 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:31:00 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:31:01 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:31:08 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:31:13 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:31:19 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:31:48 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:32:08 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:33:08 2012] [error] [client 10.51.65.81] Directory index forbidden by Options directive: /var/www/html/
[Wed Oct 24 08:33:08 2012] [error] [client 10.51.65.81] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://otrsralprod1/
[Wed Oct 24 08:33:22 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:33:43 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:33:51 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:34:07 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:35:04 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:35:04 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 08:35:16 2012] [notice] caught SIGTERM, shutting down
[Wed Oct 24 08:35:19 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 24 08:35:19 2012] [notice] Digest: done
[Wed Oct 24 08:35:19 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 24 08:35:19 2012] [notice] Apache/2.2.22 (Unix) PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
[Wed Oct 24 08:35:27 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:36:09 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:36:51 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:37:00 2012] [notice] caught SIGTERM, shutting down
[Wed Oct 24 08:37:03 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 24 08:37:03 2012] [notice] Digest: done
[Wed Oct 24 08:37:03 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 24 08:37:03 2012] [notice] Apache/2.2.22 (Unix) PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
[Wed Oct 24 08:38:17 2012] [notice] caught SIGTERM, shutting down
[Wed Oct 24 08:38:20 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 24 08:38:20 2012] [notice] Digest: done
[Wed Oct 24 08:38:20 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 24 08:38:20 2012] [notice] Apache/2.2.22 (Unix) PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
[Wed Oct 24 08:38:34 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:38:42 2012] [notice] caught SIGTERM, shutting down
[Wed Oct 24 08:38:45 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 24 08:38:45 2012] [notice] Digest: done
[Wed Oct 24 08:38:45 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 24 08:38:45 2012] [notice] Apache/2.2.22 (Unix) PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
[Wed Oct 24 08:38:52 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:38:56 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:39:07 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:09 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:10 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:10 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:10 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:13 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:13 2012] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/HTMLUtils.pm
[Wed Oct 24 08:39:13 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:39:22 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:39:29 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:39:37 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:39:43 2012] [error] Can't locate object method "DocumentStyleCleanup" via package "Kernel::System::HTMLUtils" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 4067.\n
[Wed Oct 24 08:39:53 2012] [notice] caught SIGTERM, shutting down
[Wed Oct 24 08:39:55 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 24 08:39:55 2012] [notice] Digest: done
[Wed Oct 24 08:39:55 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Oct 24 08:39:55 2012] [notice] Apache/2.2.22 (Unix) PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 08:40:05 2012

 Message: No such TicketID (380811)!

 Traceback (9422): 
   Module: Kernel::System::Ticket::TicketGet (v1.549.2.8) Line: 1117
   Module: Kernel::System::Ticket::Permission::OwnerCheck::Run (v1.13) Line: 48
   Module: Kernel::System::Ticket::TicketPermission (v1.549.2.8) Line: 3257
   Module: Kernel::Modules::AgentTicketZoom::Run (v1.177.2.1) Line: 107
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/OwnerCheck.pm line 54.
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 08:40:05 2012

 Message: No such TicketID (380811)!

 Traceback (9422): 
   Module: Kernel::System::Ticket::TicketGet (v1.549.2.8) Line: 1117
   Module: Kernel::System::Ticket::Permission::GroupCheck::Run (v1.16) Line: 48
   Module: Kernel::System::Ticket::TicketPermission (v1.549.2.8) Line: 3257
   Module: Kernel::Modules::AgentTicketZoom::Run (v1.177.2.1) Line: 107
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 08:40:05 2012

 Message: Need QueueID!

 Traceback (9422): 
   Module: Kernel::System::Queue::GetQueueGroupID (v1.138) Line: 598
   Module: Kernel::System::Ticket::Permission::GroupCheck::Run (v1.16) Line: 54
   Module: Kernel::System::Ticket::TicketPermission (v1.549.2.8) Line: 3257
   Module: Kernel::Modules::AgentTicketZoom::Run (v1.177.2.1) Line: 107
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:40:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/System/Ticket/Permission/GroupCheck.pm line 65.
[Wed Oct 24 08:41:54 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:02:19 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:34 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:35 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:35 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:02:35 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 09:02:56 2012

 Message: Module Digest/SHA.pm not found!

 Traceback (9416): 
   Module: Kernel::System::Auth::DB::Auth (v1.34) Line: 132
   Module: Kernel::System::Auth::Auth (v1.56) Line: 189
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 204
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Oct 24 09:03:06 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:03:20 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:03:21 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:03:52 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:03:53 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:04:05 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:04:17 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:04:49 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:05:05 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:05:48 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:05:49 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:06:14 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:06:25 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 09:06:29 2012

 Message: Need Search, UserLogin or PostMasterSearch!

 Traceback (9536): 
   Module: Kernel::System::CustomerUser::DB::CustomerSearch (v1.88.2.1) Line: 210
   Module: Kernel::System::CustomerUser::CustomerSearch (v1.63.2.1) Line: 189
   Module: Kernel::Modules::AgentTicketEmail::Run (v1.206.2.6) Line: 801
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 868
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Oct 24 09:06:36 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:06:39 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:06:59 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:06:59 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:06:59 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:06:59 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:06:59 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:06:59 2012] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Modules/AgentTicketBulk.pm line 541.
[Wed Oct 24 09:09:26 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:11:05 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/Modules/AgentTicketPhone.pm line 336.
[Wed Oct 24 09:13:56 2012] -e: Use of uninitialized value in string eq at /opt/otrs//Kernel/Modules/AgentTicketPhone.pm line 336.
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 09:34:01 2012

 Message: Module Digest/SHA.pm not found!

 Traceback (9417): 
   Module: Kernel::System::Auth::DB::Auth (v1.34) Line: 132
   Module: Kernel::System::Auth::Auth (v1.56) Line: 189
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 204
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46
   Module: (eval) (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.90) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

[Wed Oct 24 09:37:38 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:39:10 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:39:30 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:39:49 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
[Wed Oct 24 09:40:02 2012] -e: Use of uninitialized value in hash element at /opt/otrs/Custom/Kernel/Modules/AgentTicketActionCommon.pm line 845.
ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Oct 24 09:56:25 2012

OTRS 3.2.1
CentOs 5.7
MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: HTMLUtils.pm Update - Internal Service Errors

Post by crythias »

http://source.otrs.org/viewvc.cgi/otrs/ ... .4&r2=1.44
They removed the word "Style" in the update... You may be successful in doing the same in Layout.pm

Relevant HTMLUtils diff:
671 sub DocumentStyleCleanup { sub DocumentCleanup {
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
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

Re: HTMLUtils.pm Update - Internal Service Errors

Post by pakirby »

Thanks Crythias, I'll give that a shot.
OTRS 3.2.1
CentOs 5.7
MySQL
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

Re: HTMLUtils.pm Update - Internal Service Errors

Post by pakirby »

That fixed it!

An alternative approach is to replace the new DocumentCleanup with the old DocumentStyleCleanup in HTMLUtils.pm.

Thank you!
OTRS 3.2.1
CentOs 5.7
MySQL
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: [Solved] HTMLUtils.pm Update - Internal Service Errors

Post by crythias »

pakirby wrote: An alternative approach is to replace the new DocumentCleanup with the old DocumentStyleCleanup in HTMLUtils.pm.
But replacing with the old is against the point of the update ...
pakirby wrote: we applied the recent security update to HTMLUtils.pm
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
pakirby
Znuny newbie
Posts: 32
Joined: 10 Nov 2011, 23:21
Znuny Version: 3.2.1
Real Name: Patrick
Company: MAM

Re: [Solved] HTMLUtils.pm Update - Internal Service Errors

Post by pakirby »

Was that aspect part of the security update? It looked like general code cleanup as opposed to a vulnerability. The release notes stated the security patch was regarding stripping javascripts which looks like it was taken care of by the new "NoSVG => 1" entries that weren't in the prior revision:

Code: Select all

=item Safety()

To remove/strip active html tags/addons (javascript, applets, embeds and objects)
from html strings.

    my %Safe = $HTMLUtilsObject->Safety(
        String       => $HTMLString,
        NoApplet     => 1,
        NoObject     => 1,
        NoEmbed      => 1,
        NoSVG        => 1,
        NoIntSrcLoad => 0,
        NoExtSrcLoad => 1,
        NoJavaScript => 1,
    );

also string ref is possible

    my %Safe = $HTMLUtilsObject->Safety(
        String       => \$HTMLStringRef,
        NoApplet     => 1,
        NoObject     => 1,
        NoEmbed      => 1,
        NoSVG        => 1,
        NoIntSrcLoad => 0,
        NoExtSrcLoad => 1,
        NoJavaScript => 1,
    );
OTRS 3.2.1
CentOs 5.7
MySQL
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: [Solved] HTMLUtils.pm Update - Internal Service Errors

Post by jojo »

the latest update (September) were the following changes:

http://cvs.otrs.org/viewvc.cgi/otrs/Ker ... f_format=h
"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
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: [Solved] HTMLUtils.pm Update - Internal Service Errors

Post by jojo »

Some other changes were also made for 3.2.x

http://cvs.otrs.org/viewvc.cgi/otrs/Ker ... f_format=h

Please be sure to use the file for 3.1. and not the actual HEAD
"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
Locked