• 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 4.x Series
    • Bug
    • Cannot merge accounts

    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: Cannot merge accounts

    • Issue Tools
      • View Changes
    1. issueid=5675 March 14, 2019 3:11 AM
      expanserpb expanserpb is offline
      Junior Member
      Cannot merge accounts

      Server Error
      Database Error: UPDATE `vw_usercount` SET `vw_contribs` = vw_contribs + 2, `vw_comments` = vw_comments + 0, `vw_reports` = vw_reports + 0, `vw_feeds` = vw_feeds + 0, `vw_feedposts` = vw_feedposts + 0, `vw_uploads` = vw_uploads + 0, `vw_categorizes` = vw_categorizes + 0, `vw_chapters` = vw_chapters + 0, `vw_grouped` = vw_grouped + 0, `vw_islands` = vw_islands + 0, `vw_redirects` = vw_redirects + 0, `vw_templates` = vw_templates + 0, `vw_translates` = vw_translates + 0, `vw_lastdateline` = 1550091156, `vw_lastactivity` = 7:4895, `vw_subscribed` = 1 WHERE userid = 636 LIMIT 1 Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':4895, `vw_subscribed` = 1 WHERE userid = 636 LIMIT 1' at line 15

      vw_DB_Controller_XF->throw_error() in /var/www/html/vault/core/controller/db/xf.php at line 171
      vw_DB_Controller_XF->query_write() in /var/www/html/vault/core/model/db/mysql/vw.php at line 1234
      vw_DB_MySQL_Model->shutdown_or_run() in /var/www/html/vault/core/model/db/mysql/vw.php at line 882
      vw_DB_MySQL_Model->update() in /var/www/html/vault/core/model/plugins/data/vw.php at line 468
      vw_Plugins_Data_Model->do_user_merge_target_required() in /var/www/html/vault/core/model/plugins/data/vw.php at line 89
      vw_Plugins_Data_Model->do_user_merge() in vw/XenForo/Model/User.php at line 158
      vw_XenForo_Model_User->changeContentUser() in XenForo/Model/User.php at line 3080
      XenForo_Model_User->mergeUsers() in XenForo/ControllerAdmin/User.php at line 678
      XenForo_ControllerAdmin_User->actionMerge() in XenForo/FrontController.php at line 369
      XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 152
      XenForo_FrontController->run() in /var/www/html/admin.php at line 13
    Issue Details
    Issue Number 5675
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.25
    Fixed Version 4.1.0 Beta 1
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 14, 2019 10:42 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/model/plugins/data/vw.php, find:
      Code:
      $set['vw_lastactivity'] = $sourceuser['vw_lastactivity'];
      Replace with:
      Code:
      $set['vw_lastactivity'] = "'" . vw_DB::get()->func()->escape_string($sourceuser['vw_lastactivity']) . "'";
      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 5:14 PM.
    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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.