• 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
    • Special:Imagelist database error

    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: Special:Imagelist database error

    • Issue Tools
      • View Changes
    1. issueid=648 June 24, 2009 2:14 PM
      Jella Jella is offline
      Regular Member
      Special:Imagelist database error
      click letter with no image related to letter

      When on the file list page where images are, Special:Imagelist seen here http://tvlampforum.com/showwiki.php?...cial:Imagelist
      and you click on a letter with no image starting with that letter: ... you get a database error page
      example I have no images listed starting with the letter C
      you then get a database error page stating
      Code:
      Database error in vBulletin 3.7.3:
      Invalid SQL:
      		SELECT COUNT(thread.threadid) AS rowcount
      		FROM thread AS thread
      		WHERE thread.forumid IN (60)
      			 AND thread.threadid IN ();
      MySQL 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 ')' at line 4
      Error Number  : 1064
      Request Date  : Wednesday, June 24th 2009 @ 02:10:35 PM
      Error Date    : Wednesday, June 24th 2009 @ 02:10:36 PM
      Script        : http://tvlampforum.com/showwiki.php?lampwiki=Special:Imagelist
      Referrer      : http://tvlampforum.com/showwiki.php?lampwiki=Special:Imagelist
      IP Address    : 98.229.125.21
      Username      : admin
      Classname     : vB_Database
      MySQL Version : 5.0.77-community
    Issue Details
    Issue Number 648
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Images
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.3.2
    Fixed Version 2.5.0
    Milestone VaultWiki 2.5.x
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 24, 2009 2:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/extensions/image/special/special_imagelist.php, find:
      PHP Code:
      $threadids = array(); 
      Replace with:
      PHP Code:
      $threadids = array(-1); 
      Reply Reply  
    2. June 29, 2009 2:22 PM
      Jella Jella is offline
      Regular Member
      That worked great, I fixed both sites, thank you Ted.
      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 10:27 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 © 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.