1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

While trying to delete a language ... Fatal Error

Discussion in 'Troubleshooting and Problems' started by Robert F Schmitz, Oct 19, 2010.

  1. Robert F Schmitz

    Robert F Schmitz Well-Known Member

    I receive the following while trying to remove a duplicate of a language.



    I installed one instance of Turkish and then another but failed to overwrite the first less complete version. I am trying to delete the first instance installed. I get the above error anytime when trying to delete.

    Thanks.
     
  2. Pepelac

    Pepelac Well-Known Member

    you always can delete language data from DB with this queries:
    Code:
    
    delete FROM `xf_phrase_compiled` WHERE  `language_id` =PUT_HERE_ID_OF_LANGUAGE_TO_DELETE;
    delete FROM `xf_phrase_map` WHERE  `language_id` = PUT_HERE_ID_OF_LANGUAGE_TO_DELETE;
    delete FROM `xf_phrase` WHERE  `language_id` = PUT_HERE_ID_OF_LANGUAGE_TO_DELETE;
    
    and after that just delete language from admin panel
     
    Rob Fritz and Perspektif like this.
  3. Robert F Schmitz

    Robert F Schmitz Well-Known Member

    Where do I find the Language ID? I looked in the admincp in various locations but didn't notice anything defining the ID.
     
  4. Pepelac

    Pepelac Well-Known Member

    in the URL :)
     

    Attached Files:

  5. Robert F Schmitz

    Robert F Schmitz Well-Known Member

    Aaaaahhhh :oops: Who would have thought :D Thank you.
     
  6. Robert F Schmitz

    Robert F Schmitz Well-Known Member

    OK did it. First time doing something like this directly on the db. First time for everything. Thanks for the help.
     

Share This Page