• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • Get error message, after clicking Translate to language: Go button

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Get error message, after clicking Translate to language: Go button

    • Issue Tools
      • View Changes
    1. issueid=2267 April 3, 2011 4:30 AM
      basketmen basketmen is offline
      Junior Member
      Get error message, after clicking Translate to language: Go button

      After clicking Translate to language: Go button, i get this error message, please help how to fix this
      Code:
      Database error in vBulletin 3.6.12:
      Invalid SQL:
      SELECT trans.*, thread.title, thread.prefixid
      FROM vault_language AS trans
      INNER JOIN thread AS thread ON (trans.translate_1 = thread.threadid)
      WHERE trans.translate_1 = 100329;
      MySQL Error
      : Unknown column 'thread.prefixid' in 'field list'
      Error Number : 1054
      Date
      : Sunday, April 3rd 2011 @ 03:25:19 PM
      Script
      : http://www.domain.com/newthread.php?f=3046
      Referrer
      : http://www.domain.com/wiki/test53
      IP Address
      : 111.222.333.444
      Username
      : admin
      Classname
      : vB_Database
      but i can using Edit Translations link, and add another page in another language. I just cant using Translate to language: feature
    Issue Details
    Issue Number 2267
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Translating Pages
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 3.0.11
    Fixed Version 3.0.12
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 3, 2011 3:46 PM
      pegasus pegasus is online now
      VaultWiki Team
      In vault/plugins/newthread.php, find:
      Code:
      SELECT trans.*, thread.title, thread.prefixid
      Replace with:
      Code:
      SELECT trans.*, thread.title
      " . (!VAULT_36X_COMPAT ? ", thread.prefixid" : "") . "
      Reply Reply  
    2. This petition for a change to Confirmed was rejected
      April 3, 2011 4:39 PM
      basketmen basketmen is offline
      Junior Member
      thank you, its fixed
       
    3. April 8, 2011 11:07 AM
      basketmen basketmen is offline
      Junior Member
      pegasus i am sorry, there is another problem

      i already can go to the edit page, after clicking Translate to language: Go button,

      but after clicking Post new article button, i've got this message

      This page has already been translated for the selected language.

      screenshot







      i try many way but still get that message


      and in original page >> Page Language Options >> View in language, i see still no other language added, only the original language


      please fix this too if you can



      you can see my forum in the pm before if you want to try it live, using admin account
      Reply Reply  
    4. April 8, 2011 11:39 AM
      pegasus pegasus is online now
      VaultWiki Team
      Fixed in your install and the next build. In vault/tab/edit.php, find:
      Code:
      			if ($db->query_first("
      				SELECT *
      				FROM " . TABLE_PREFIX . "vault_language
      				WHERE translate_" . intval($transpage['languageid']) . " = " . intval($vbulletin->GPC['translateid']) . "
      			"))
      Replace with:
      Code:
      			$tranny = $db->query_first("
      				SELECT *
      				FROM " . TABLE_PREFIX . "vault_language
      				WHERE translate_" . intval($transpage['languageid']) . " = " . intval($vbulletin->GPC['translateid']) . "
      				LIMIT 1
      			");
      
      			if ($tranny['translate_' . $vbulletin->GPC['langid']])
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:59 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.