The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem with locales

Discussion in 'General Discussion' started by jozo, Jan 9, 2011.

  1. jozo

    jozo Registered

    Joined:
    Nov 11, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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.
     
Loading...

Share This Page