Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    Default problem with locales

    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.

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Re: problem with locales

    Quote Originally Posted by jozo View Post
    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.

Similar Threads & Tags
Similar threads

  1. Modifying Locales
    By cpbrianw in forum Themes and Branding
    Replies: 2
    Last Post: Yesterday, 03:19 PM
  2. There is no Traditional Chinese (tw) in the Locales
    By Yeu in forum Themes and Branding
    Replies: 0
    Last Post: 03-12-2011, 08:56 AM
  3. Does anyone have a Polish locales Cpanel X3 theme?
    By jaro74 in forum Themes and Branding
    Replies: 0
    Last Post: 10-15-2010, 02:01 AM
  4. Locales
    By paszczak000 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-24-2010, 10:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube