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

Fixed Rewrite language

Discussion in 'Resolved Bug Reports' started by lms, Feb 23, 2011.

  1. lms

    lms Well-Known Member

    I get an error when trying to overwrite a language to import a translation:

    Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry 'template_list-3' for key 'title' - library/Zend/Db/Statement/Mysqli.php:214

    ¿Bug?

    Salud2

    NOTE: opera not show buttons editor in xenforo.com
     
  2. Vincent

    Vincent Well-Known Member

    About your note, this has just been fixed, look in the Resolved Bugs forum.
     
  3. lms

    lms Well-Known Member

    only in RC3. Not solved.

    Salud2
     
  4. Mike

    Mike XenForo Developer Staff Member

    Please provide the language you're importing.
     
  5. lms

    lms Well-Known Member

  6. Mike

    Mike XenForo Developer Staff Member

    This isn't something that I've been able to reproduce locally. It's possible it's related to the SimpleXML bug, but since your error is happening on template_list (which has a very strange version attached to it), it's hard to be sure; normally the issue goes back to the beginning of the XML.

    Can you reproduce it consistently? Does anyone else have that issue with that language?
     
  7. Alluidh

    Alluidh Well-Known Member

    I had an error like this in the past only with special character for German languages. If I use (for example) an ü in the text it is showned as a special character in the XML after export. When I edit the XLM and use on one hand the ü and on the other hand the special character in the same phrase, I got an error overwriting the language and no error creating a new language.
     
  8. lms

    lms Well-Known Member

    Attached Files:

    • 19.png
      19.png
      File size:
      78.9 KB
      Views:
      0
    • 20.png
      20.png
      File size:
      124 KB
      Views:
      0
    • 21.png
      21.png
      File size:
      119.4 KB
      Views:
      0
    • 22.png
      22.png
      File size:
      67.1 KB
      Views:
      0
    • 23.png
      23.png
      File size:
      10 KB
      Views:
      0
    • 2.png
      2.png
      File size:
      76.6 KB
      Views:
      0
  9. lms

    lms Well-Known Member

    XenForo 1.0.0
    Addons installed: in attach 16.png
    Browser: safari 5
    I get the same error importing spanish language overwriting Español Es Tu.
    Attach file language pack.
    captura1.png 13.png 14.png 15.png

    I solved deleting language español Es Tu and reimporting.
    Salud2
     

    Attached Files:

  10. Mike

    Mike XenForo Developer Staff Member

    If you can provide me FTP and admin CP access to your server where this is happening, I may be able to fix it. (I have to be able to reproduce it though, obviously.)
     
  11. lms

    lms Well-Known Member

    Conversation started with the requested data. The error importing language: Español (ES) Tu - Importing error.

    Salud2
     
  12. Mike

    Mike XenForo Developer Staff Member

    Fixed now. Issue was caused by the phrase in the XML having a different add-on ID than the current phrase.
     
    shenmuee likes this.
  13. lms

    lms Well-Known Member

    Thanks, but the language was exported without addons and then, after some modification of the xml file, reimported.

    Thank you very much, Mike.

    Salud2
     

Share This Page