• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Update from 4.0.12 to 4.0.20

    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.

    Results 1 to 6 of 6

    Thread: Update from 4.0.12 to 4.0.20

    • Thread Tools
      • Show Printable Version
    1. October 18, 2017 #1
      DragonSigh
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      DragonSigh is offline
      Junior Member
      Join Date
      August 26, 2011
      Posts
      9
      Rep Power
      0

      Update from 4.0.12 to 4.0.20

      Hello. I'm trying to update my VaultWiki from 4.0.12 to 4.0.20. Uploaded all the files and launched /vault/install/index.php and then I get this error:

      Step 2

      Updating data in table: vw_lastupdate

      PHP Warning: mysqli_query(): (42S22/1054): Unknown column 'f.unresizable' in 'field list' in ..../includes/class_core.php on line 1386

      PHP Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/MYSITE:/home/admin/tmp) in ..../includes/class_core.php on line 1084
      Code:
      Database error in vBulletin 4.2.5:
      
      Invalid SQL:
      SELECT `e`.*,`attachment`.*,`gi`.*,`l`.*,`ch`.*,`c`.*,`i`.*,`r`.*,`page`.*,`f`.`filesize` AS `filesize`,`f`.`dateline` AS `file_dateline`,`f`.`width` AS `width`,`f`.`height` AS `height`,`f`.`unresizable` AS `unresizable`,`f`.`extension` AS `extension`,`e`.`dateline` AS `attach_dateline`,`sub`.`subscribeid` AS `issubscribed`,`sub`.`notifytype` AS `subscribetype`,`sub`.`options` AS `subscribeoptions`,`mk`.`readtime`,`gi`.`userid` AS `group_userid`,`l`.`userid` AS `translate_userid`,`ch`.`userid` AS `chapter_userid`,`r`.`dateline` AS `edit_dateline`,`r`.`flags` + 0 AS `flags`,`r`.`parentid` AS `edit_parentid`,`page`.`pageid` FROM `vb_vw_page` `page`  LEFT JOIN `vb_vw_route` `i` ON (`page`.`pageid` = `i`.`itemid` AND `i`.`itemtypeid` = 1) 
       LEFT JOIN `vb_vw_counter` `c` ON (`c`.`routeid` = `i`.`routeid`) 
       LEFT JOIN `vb_vw_revision` `r` ON (`r`.`revisionid` = `page`.`revisionid`) 
       LEFT JOIN `vb_vw_chapter` `ch` ON (`page`.`pageid` = `ch`.`pageid`) 
       LEFT JOIN `vb_vw_langitem` `l` ON (`page`.`pageid` = `l`.`pageid`) 
       LEFT JOIN `vb_vw_teamitem` `gi` ON (`page`.`pageid` = `gi`.`pageid`) 
       LEFT JOIN `vb_vw_markread` `mk` ON (`mk`.`itemtypeid` = 1 AND `mk`.`itemid` = `page`.`pageid` AND `mk`.`userid` = 11) 
       LEFT JOIN `vb_vw_subscribe` `sub` ON (`sub`.`nodetypeid` = 1 AND `sub`.`nodeid` = `page`.`pageid` AND `sub`.`userid` = 11) 
       LEFT JOIN `vb_vw_attachment` `attachment` ON (`attachment`.`pageid` = `page`.`pageid`) 
       LEFT JOIN `vb_vw_attachmentedit` `e` ON (`e`.`attacheditid` = `attachment`.`attacheditid`) 
       LEFT JOIN `vb_vw_attachmentfile` `f` ON (`e`.`attachfileid` = `f`.`attachfileid`)   WHERE  `page`.`pageid` IN (152,161,183)  LIMIT 3;
      
      MySQL Error   : Unknown column 'f.unresizable' in 'field list'
      Error Number  : 1054
      Request Date  : Wednesday, October 18th 2017 @ 12:54:42 PM
      Error Date    : Wednesday, October 18th 2017 @ 12:54:43 PM
      Script        : [url]http://MYSITE/vault/install/index.php[/url]
      Referrer      : [url]http://MYSITE/vault/install/index.php?step=1[/url]
      IP Address    : IP
      Username      : USER
      Classname     : vB_Database_MySQLi
      MySQL Version : 5.5.57-0+deb8u1
      Server        : 178.32.13.220
      User Agent    :
      What should I do?
      Last edited by DragonSigh; October 18, 2017 at 5:55 AM.
      Reply With Quote Reply With Quote

    2. October 18, 2017 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      In vault/core/controller/fetch/attach/vw.php, find and remove:
      Code:
      $prep['f']['fields']['unresizable'] => 'unresizable'
      Also, your PHP and/or vBulletin installation is misconfigured. Your server has an open_basedir restriction in effect, but you have not defined a custom temporary file directory using php.ini upload_tmp_dir and/or you have not setup the safe directory in vBulletin Options > Server Settings and Optimization Options > Safe Mode Upload Enabled, and Safe Mode Temporary Directory.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. October 19, 2017 #3
      DragonSigh
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      DragonSigh is offline
      Junior Member
      Join Date
      August 26, 2011
      Posts
      9
      Rep Power
      0
      Thank you. The process progressed a bit, but stopped on a new error.

      Code:
      Upgrading to 4.0.17
      Step 15
      
      Updating data in table: vw_attachmentfile
      
      PHP Warning: unpack(): Type C: not enough input, need 1, have 0 in ..../vault/core/model/image/structure/gif/vw.php on line 290
      
      PHP Warning: reset() expects parameter 1 to be array, boolean given in ..../vault/core/model/image/structure/gif/vw.php on line 291
      Reply With Quote Reply With Quote

    4. October 19, 2017 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      This suggests that one of the wiki attachments on your site is a GIF file that ends abruptly in the middle of a GIF comment or GIF watermark, and your PHP version is less than 7.0.

      In vault/core/model/image/structure/gif/vw.php, find:
      Code:
      	public function subblock_to_string($block)
      	{
      After it, add:
      Code:
      if (!strlen($block)) return '';
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. October 19, 2017 #5
      DragonSigh
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      DragonSigh is offline
      Junior Member
      Join Date
      August 26, 2011
      Posts
      9
      Rep Power
      0
      Thanks but nothing has changed, still the same errors. PHP version is 5.6.30.
      On PHP 7.1.10 it gives me the same errors.
      Last edited by DragonSigh; October 19, 2017 at 11:59 AM.
      Reply With Quote Reply With Quote

    6. October 19, 2017 #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      688
      It does not make sense to me that a string could have a positive length or not be considered empty but still contain 0 characters. Please submit a private ticket so that we can look into this issue further: https://www.vaultwiki.org/members/?do=tickets
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Do you have any plan to update this site to xenforo?
      By Alfa1 in forum VaultWiki Questions
      Replies: 14
      Last Post: April 28, 2021, 10:02 AM

    Tags for this Thread

    4.0.12, 4.0.20, directory

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 1:55 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.