• 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
    • Problem upgrading to 2.3.0

    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: Problem upgrading to 2.3.0

    • Issue Tools
      • View Changes
    1. issueid=585 May 11, 2009 4:41 AM
      vimto vimto is offline
      Regular Member
      Problem upgrading to 2.3.0

      I've just upgraded to 2.3.0 and I'm getting the following errors:
      Code:
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_plugins_bbcode.php on line 138
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_plugins_bbcode.php on line 138
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 757
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 781
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 757
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 781
      I disabled all the plugins to see if these were causing the errors but nope, tried re-uploading everything, tried re-running the installation but it noticed that everything was installed ok.

      At the moment I've had to disable the entire system else I can't login to the admin screen with it activated, something about cookies already sent.

      Any chance that you could take a look and let me know what's wrong?
    Issue Details
    Issue Number 585
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 2.3.0
    Fixed Version 2.3.0
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 11, 2009 4:44 AM
      Will.Spencer Will.Spencer is offline
      Junior Member
      I am seeing the same error messages here, also after the upgrade to 2.3.0.
      Code:
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 757
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 781
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 757
      
      Warning: Invalid argument supplied for foreach() in [path]/vault/special_class_wiki.php on line 781
      I had to turn VaultWiki off, because it was spewing these errors even on the normal vBulletin pages.
      Reply Reply  
    2. May 11, 2009 5:12 AM
      Storyteller Storyteller is offline
      Junior Member
      Hi,

      i also have problems after upgradind to 2.3.0.
      • Only the Default-Style is working on Forumhome. Custom-Styles are all broken.
      • In the Forum-Manager there are the Vault-Wiki-Options two times at modifing the Forums-Settings
      • Opening a Wiki-Article gives a white page
      • Opening Wiki-List gives the following DB-Error:
        Code:
        Datenbankfehler in vBulletin 3.8.2:
        
        Invalid SQL:
        
        		SELECT  post.pagetext AS preview,
        			thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
        			thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
        			thread.prefixid, thread.taglist, hiddencount, deletedcount
        			, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
        			, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
        			, threadread.readtime AS threadread
        			, threadredirect.expires
        			,
        	thread.title AS title, article.lastmodified,
        	thread.title AS title, article.lastmodified
        		FROM vb_3thread AS thread
        			LEFT JOIN vb_3deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
        			 LEFT JOIN vb_3subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
        			 LEFT JOIN vb_3threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 1)
        			LEFT JOIN vb_3post AS post ON(post.postid = thread.firstpostid)
        			
        			LEFT JOIN vb_3threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
        			
        LEFT JOIN vb_3vault_article AS article ON (thread.threadid = article.threadid)
        LEFT JOIN vb_3vault_article AS article ON (thread.threadid = article.threadid)
        		WHERE thread.threadid IN (0,75,78,76,105,108,106,102,128,101,79) 
        		ORDER BY sticky DESC, thread.title;
        
        MySQL-Fehler  : Not unique table/alias: 'article'
        Fehler-Nr.    : 1066

      That's it for the moment.
      I rebuild all Namespaces and Styles but still the same.

      Greetings
      Storyteller
      Reply Reply  
    3. May 11, 2009 9:00 AM
      pegasus pegasus is offline
      VaultWiki Team
      It seems that you all somehow got 2 copies of VaultWiki to install on your database. I have made some changes to the upgrader now.

      Simply download the ZIP again and run vault/install/upgrade.php. If the product is disabled, this should fix the database. If it won't let you use the script, you may need to change the untouchable setting "vault_version" to "2.2.9". Since the product is disabled you would run the query:
      Code:
      UPDATE {prefix}setting
      SET value = '2.2.9'
      WHERE varname = 'vault_version'
      Reply Reply  
    4. May 11, 2009 10:28 AM
      Storyteller Storyteller is offline
      Junior Member
      I upgrade with the new Zip-file again (after restore a backup) and it works! Many Thanks Pegasus. Now it's time further to test.

      Greetings
      Storyteller
      Reply Reply  
    5. May 11, 2009 10:58 AM
      pegasus pegasus is offline
      VaultWiki Team
      To clarify... You don't need to restore a backup... Just disable VaultWiki temporarily and upgrade with the new ZIP file.
      Reply Reply  
    6. May 11, 2009 4:37 PM
      vimto vimto is offline
      Regular Member
      Thanks for looking into this, I followed your instructions above and everything now works great.
      Reply Reply  
    7. May 12, 2009 3:54 AM
      Will.Spencer Will.Spencer is offline
      Junior Member
      We're back online too. Thanks Pegasus!
      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 12:16 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.