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 delete locales

Discussion in 'General Discussion' started by a0000778, Sep 21, 2012.

  1. a0000778

    a0000778 Registered

    Joined:
    Sep 1, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,
    I delete a locale, but I get error:
    Code:
    Removing
    
    Theme /
    
    File: /usr/local/cpanel/locale/i_zh_tw.yaml :ok
    Undefined subroutine &Cpanel::SafeDir::safermdir called at whostmgr/bin/whostmgr9 line 457.
    	main::__ANON__('/var/cpanel/locale/3rdparty/conf/i_zh_tw') 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(0x1b72970)') 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(0x200aed0)', 'Template::Context=HASH(0x1b72970)') 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(0x1b72970)', 'Template::Document=HASH(0x200aed0)') 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(0x209c6e0)', 'delete_locale.tmpl', 'HASH(0x1b72c00)') called at /usr/local/cpanel/perl/Template.pm line 66
    	Template::process('Template=HASH(0x1b9e3c0)', 'delete_locale.tmpl', 'HASH(0x1b72c00)') called at /usr/local/cpanel/Cpanel/Template.pm line 282
    	Cpanel::Template::process_template('whostmgr', 'HASH(0x1b72c00)', 'HASH(0x209ca60)') called at /usr/local/cpanel/Cpanel/Template/Interactive.pm line 51
    	Cpanel::Template::Interactive::process_template('whostmgr', 'HASH(0x1b72c00)') called at whostmgr/bin/whostmgr9 line 467
    	main::delete_locale() called at whostmgr/bin/whostmgr9 line 165
    1
    1
    1
    undef error - Undefined subroutine &Cpanel::SafeDir::safermdir called at whostmgr/bin/whostmgr9 line 457.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can try rebuilding the locale database via the following command:

    Code:
    # /usr/local/cpanel/bin/build_locale_databases
    If this does not help, you can try using:

    Code:
    # /usr/local/cpanel/bin/build_locale_databases --clean
    The second command will remove the databases first and build it from scratch.

    Thank you.
     
Loading...

Share This Page