jozo

Registered
Nov 11, 2010
4
0
51
Hello,
I downloaded the xml language file. I edited my messages there, and recorded on the server (upload xml). Language is not updated. Then I tried to remove the language, but I get error:

Code:
Removing

Theme /

File: /usr/local/cpanel/locale/sk.yaml :ok
File: /usr/local/cpanel/lang/slovak-utf8 :ok
File: /usr/local/cpanel/lang/slovak-utf8.local :ok
File: /usr/local/cpanel/lang/Slovak :ok
[a fatal error or timeout occurred while processing this directive] [a fatal error or timeout occurred while processing this directive] [a fatal error or timeout occurred while processing this directive] [a fatal error or timeout occurred while processing this directive]undef error - Undefined subroutine &Cpanel::SafeDir::safermdir called at whostmgr/bin/whostmgr9 line 474.


Undefined subroutine &Cpanel::SafeDir::safermdir called at whostmgr/bin/whostmgr9 line 474.
	main::__ANON__('/var/cpanel/locale/3rdparty/conf/sk') called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 11
	eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 24
	eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 34
	eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 7
	Template::Document::__ANON__('Template::Context=HASH(0x509afd0)') called at /usr/local/cpanel/perl/Template/Document.pm line 151
	eval {...} called at /usr/local/cpanel/perl/Template/Document.pm line 149
	Template::Document::process('Template::Document=HASH(0x508fec0)', 'Template::Context=HASH(0x509afd0)') called at /usr/local/cpanel/perl/Template/Context.pm line 347
	eval {...} called at /usr/local/cpanel/perl/Template/Context.pm line 321
	Template::Context::process('Template::Context=HASH(0x509afd0)', 'Template::Document=HASH(0x508fec0)') called at /usr/local/cpanel/perl/Template/Service.pm line 94
	eval {...} called at /usr/local/cpanel/perl/Template/Service.pm line 91
	Template::Service::process('Template::Service=HASH(0x50b38d0)', 'delete_locale.tmpl', 'HASH(0x50e3980)') called at /usr/local/cpanel/perl/Template.pm line 66
	Template::process('Template=HASH(0x50ebf10)', 'delete_locale.tmpl', 'HASH(0x50e3980)') called at /usr/local/cpanel/Cpanel/Template.pm line 268
	Cpanel::Template::process_template('whostmgr', 'HASH(0x50e3980)', 'HASH(0x512a020)') called at /usr/local/cpanel/Cpanel/Template/Interactive.pm line 50
	Cpanel::Template::Interactive::process_template('whostmgr', 'HASH(0x50e3980)') called at whostmgr/bin/whostmgr9 line 484
	main::delete_locale() called at whostmgr/bin/whostmgr9 line 177


Please help remove such language.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
14
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Hello,
I downloaded the xml language file. I edited my messages there, and recorded on the server (upload xml). Language is not updated. Then I tried to remove the language, but I get error:

Code:
Removing

Theme /

File: /usr/local/cpanel/locale/sk.yaml :ok
File: /usr/local/cpanel/lang/slovak-utf8 :ok
File: /usr/local/cpanel/lang/slovak-utf8.local :ok
File: /usr/local/cpanel/lang/Slovak :ok
[a fatal error or timeout occurred while processing this directive] [a fatal error or timeout occurred while processing this directive] [a fatal error or timeout occurred while processing this directive] [a fatal error or timeout occurred while processing this directive]undef error - Undefined subroutine &Cpanel::SafeDir::safermdir called at whostmgr/bin/whostmgr9 line 474.


Undefined subroutine &Cpanel::SafeDir::safermdir called at whostmgr/bin/whostmgr9 line 474.
	main::__ANON__('/var/cpanel/locale/3rdparty/conf/sk') called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 11
	eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 24
	eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 34
	eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/delete_locale.tmpl line 7
	Template::Document::__ANON__('Template::Context=HASH(0x509afd0)') called at /usr/local/cpanel/perl/Template/Document.pm line 151
	eval {...} called at /usr/local/cpanel/perl/Template/Document.pm line 149
	Template::Document::process('Template::Document=HASH(0x508fec0)', 'Template::Context=HASH(0x509afd0)') called at /usr/local/cpanel/perl/Template/Context.pm line 347
	eval {...} called at /usr/local/cpanel/perl/Template/Context.pm line 321
	Template::Context::process('Template::Context=HASH(0x509afd0)', 'Template::Document=HASH(0x508fec0)') called at /usr/local/cpanel/perl/Template/Service.pm line 94
	eval {...} called at /usr/local/cpanel/perl/Template/Service.pm line 91
	Template::Service::process('Template::Service=HASH(0x50b38d0)', 'delete_locale.tmpl', 'HASH(0x50e3980)') called at /usr/local/cpanel/perl/Template.pm line 66
	Template::process('Template=HASH(0x50ebf10)', 'delete_locale.tmpl', 'HASH(0x50e3980)') called at /usr/local/cpanel/Cpanel/Template.pm line 268
	Cpanel::Template::process_template('whostmgr', 'HASH(0x50e3980)', 'HASH(0x512a020)') called at /usr/local/cpanel/Cpanel/Template/Interactive.pm line 50
	Cpanel::Template::Interactive::process_template('whostmgr', 'HASH(0x50e3980)') called at whostmgr/bin/whostmgr9 line 484
	main::delete_locale() called at whostmgr/bin/whostmgr9 line 177


Please help remove such language.
What is your version of cPanel&WHM?

Please let us know the output from the following commands (via root SSH access):
Code:
# stat /usr/local/cpanel/Cpanel/SafeDir.pm
# grep -Hn "safermdir" /usr/local/cpanel/Cpanel/SafeDir.pm
If you have not already tried this, please perform a forced cPanel update via root SSH access:
Code:
# /scripts/upcp --force
If a forced cPanel update does not help alleviate the difficulty, please submit a support request so that we may assist with further investigation. When available, please let me know your support ticket ID number.