Error: Could not insert a new language key.

In admin panel under Language strings

 

1. if I try to add a new string, when I press save it say

Error: Could not insert a new language key.

 

Close window

 

 

2. Add a new language key Auto Hide it self, it only show up if I make a search

can some one please help me fix this

 

 

Error
Database query error
Query:
SELECT DISTINCT `LocalizationStrings`.`IDKey` AS `IDKey`, `LocalizationStrings`.`IDLanguage` AS `IDLanguage`, `LocalizationKeys`.`Key` AS `Key`, `LocalizationStrings`.`String` AS `String`, `LocalizationLanguages`.`Title` AS `Language`, `LocalizationCategories`.`Name` AS `Category` FROM `LocalizationStringParams` RIGHT JOIN `LocalizationKeys` ON (`LocalizationStringParams`.`IDKey` = `LocalizationKeys`.`ID`) LEFT JOIN `LocalizationStrings` ON (`LocalizationStrings`.`IDKey` = `LocalizationKeys`.`ID`) LEFT JOIN `LocalizationCategories` ON (`LocalizationKeys`.`IDCategory` = `LocalizationCategories`.`ID`) LEFT JOIN `LocalizationLanguages` ON (`LocalizationStrings`.`IDLanguage` = `LocalizationLanguages`.`ID`) ORDER BY `Language`, `Category`, `Key`
Mysql error:
Incorrect key file for table '/tmp/#sql_6563_1.MYI'; try to repair it
Found error in file /home/site/public_html/admin/lang_file.php
at line 182. Called db_res function with erroneous argument #0

Debug backtrace:

Array
(
    [1] => Array
        (
            [file] => /home/site/public_html/admin/lang_file.php
            [line] => 182
            [function] => db_res
            [args] => Array
                (
                    [0] =>
  SELECT DISTINCT
    `LocalizationStrings`.`IDKey`  AS `IDKey`,
    `LocalizationStrings`.`IDLanguage` AS `IDLanguage`,
    `LocalizationKeys`.`Key`   AS `Key`,
    `LocalizationStrings`.`String`  AS `String`,
    `LocalizationLanguages`.`Title`  AS `Language`,
    `LocalizationCategories`.`Name`  AS `Category`
  FROM `LocalizationStringParams`
  RIGHT JOIN `LocalizationKeys` ON
   (`LocalizationStringParams`.`IDKey` = `LocalizationKeys`.`ID`)
  LEFT JOIN `LocalizationStrings` ON
   (`LocalizationStrings`.`IDKey` = `LocalizationKeys`.`ID`)
  LEFT JOIN `LocalizationCategories` ON
   (`LocalizationKeys`.`IDCategory` = `LocalizationCategories`.`ID`)
  LEFT JOIN `LocalizationLanguages` ON
   (`LocalizationStrings`.`IDLanguage` = `LocalizationLanguages`.`ID`)
  
  ORDER BY
   `Language`, `Category`, `Key`
                )

        )

    [2] => Array
        (
            [file] => /home/site/public_html/admin/lang_file.php
            [line] => 825
            [function] => findLangStrings
            [args] => Array
                (
                    [0] =>
                    [1] => 0
                    [2] => 1
                    [3] => 1
                    [4] => 1
                    [5] => Array
                        (
                            [0] => 1
                        )

                    [6] => Array
                        (
                            [0] => 1
                        )

                )

        )

    [3] => Array
        (
            [file] => /home/site/public_html/admin/lang_file.php
            [line] => 1364
            [function] => stringTableBlock
            [args] => Array
                (
                    [0] =>
                )

        )

)

Called script: /admin/lang_file.php
Request parameters:

Array
(
    [find] =>
    [words] => 0
    [settings] => yes
    [keys] => yes
    [strings] => yes
    [params] => yes
    [sCats] => Array
        (
            [0] => 0
        )

    [sLangs] => Array
        (
            [0] => 0
        )

Quote · 16 Nov 2009

Hello!

Error "Incorrect key file for table '/tmp/#sql_6563_1.MYI'; try to repair it" shows that something wrong with cache table of MySQL. Ask hosting to delete temporary tables and try to execute this actions again.

Regard

Quote · 17 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.