• 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
    • SQL Syntax Error Related to Wiki Assets

    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: SQL Syntax Error Related to Wiki Assets

    • Issue Tools
      • View Changes
    1. issueid=3388 October 9, 2013 9:59 AM
      dvsDave dvsDave is offline
      Regular Member
      SQL Syntax Error Related to Wiki Assets

      Code:
      Error Info
      Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND 180 <= width ORDER BY width ASC' at line 1 - library/Zend/Db/Statement/Mysqli.php:77
      Generated By: Unknown Account, Today at 8:54 AM
      
      Stack Trace
      #0 /home/control/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT flags + ...')
      #1 /home/control/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT flags + ...')
      #2 /home/control/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('SELECT flags + ...')
      #3 /home/control/public_html/vault/core/controller/db/xf.php(171): Zend_Db_Adapter_Abstract->query('SELECT flags + ...')
      #4 /home/control/public_html/vault/core/model/db/mysql/vw.php(29): vw_DB_Controller_XF->query_first_slave('SELECT flags + ...')
      #5 /home/control/public_html/vault/core/controller/asset/vw.php(231): vw_DB_MySQL_Model->select(Array)
      #6 /home/control/public_html/vault/core/controller/asset/vw.php(62): vw_Asset_Controller->verify_thumbnail(180)
      #7 /home/control/public_html/library/vw/XenForo/ControllerPublic/Wiki/Asset.php(37): vw_Asset_Controller->resolve()
      #8 /home/control/public_html/library/XenForo/FrontController.php(337): vw_XenForo_ControllerPublic_Wiki_Asset->actionIndex()
      #9 /home/control/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #10 /home/control/public_html/index.php(13): XenForo_FrontController->run()
      #11 {main}
      
      Request State
      array(3) {
        ["url"] => string(51) "http://www.controlbooth.com/wiki-asset/?pid=0&x=180"
        ["_GET"] => array(2) {
          ["pid"] => string(1) "0"
          ["x"] => string(3) "180"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 3388
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 6
    Fixed Version 4.0.0 Beta 7
    Milestone VaultWiki 4 Beta X
    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. October 9, 2013 11:01 AM
      pegasus pegasus is offline
      VaultWiki Team
      I actually already fixed this as part of an error I saw in your logs. Unfortunately it's a relatively big fix that spans several files so I didn't apply the whole thing on your install. Anyway, I don't know where this link came from, or if you or your users are actively looking for bugs or security exploits, but this is already fixed in the next release (and not an exploit, since I brought it up).

      Thanks for posting this though, since I forgot to make a note in the changelogs about it.
      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:02 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 © 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.