• 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
    • Fatal error during upgrade (2.0.0 -> 2.3.2)

    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: Fatal error during upgrade (2.0.0 -> 2.3.2)

    • Issue Tools
      • View Changes
    1. issueid=713 July 22, 2009 10:03 AM
      Hilary Hilary is offline
      Junior Member
      Fatal error during upgrade (2.0.0 -> 2.3.2)

      Hi,

      Not sure if this is the right place for a help request, or if a private message is better. So I've done both . (There isn't a support desk tucked away somewhere, is there?)

      I started upgrading from version 2.0.0. All went well until I reached
      vault/install/upgrade_212.php?step=2

      On this page I get the error message:
      Code:
      Fatal error: Call to a member function fetch_namespaceid() on a non-object in /path/to/vault/install/upgrade_212.php on line 120
      So I'm stuck between versions, with no Wiki, and need help.
    Issue Details
    Issue Number 713
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.1.2
    Fixed Version 2.3.2
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 1
    Assigned Users (none)
    Tags (none)




    1. July 22, 2009 1:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      I responded to your PM, to the following effect:

      Download the ZIP again and replace vault/install/upgrade_212.php.
      Navigate to: /vault/install/upgrade_212.php?step=2 to continue your upgrade.
      Reply Reply  
    2. July 22, 2009 1:34 PM
      Hilary Hilary is offline
      Junior Member
      Thank you - I'm continuing the conversation via pm. (Is that the best place for this kind of question?)
      Reply Reply  
    3. July 22, 2009 1:48 PM
      pegasus pegasus is offline
      VaultWiki Team
      Not exactly. We encourage conversations that don't include login details to be posted here. If they involve bug reports or feature requests, it's better to post them in the forum below this on the home page.

      In your PM you mentioned that you got the invalid namespace ID global error message. As of 2.1.0, the setting it refers to no longer uses the forum ID, but instead the 0 - 6 numbers on the left column of the Namespace Manager. In most cases, this number should be set to 6.

      Once that's done, I recommend checking each of the namespaces in the Namespace Manager to be sure that the correct forum is still associated with each namespace. When this is all okay, click "Rebuild All Namespaces" at the bottom of the Namespace Manager.

      There are a lot of new tools to check out since 2.0.0, so you may benefit from having a look at the VaultWiki Manual, especially since I know some of the settings have changed.

      After you finish, please report back what additional steps you have had to take that were not covered by the upgrade script, so we can try to improve the early-version upgrade portions. I suspect that a number of folks will be trying the same kind of multiple-version upgrade as you when 2.5 is released later this week.
      Reply Reply  
    4. July 22, 2009 2:51 PM
      Hilary Hilary is offline
      Junior Member
      OK - error message gone, main forum accessible.

      But...
      • the urls of all pages have changed - from /showwiki.php?title=WikiWing:Hexagram+Index to /showwiki.php?title=Hexagram+Index . Since there are lots of links, and people set bookmarks etc, it'd be nice if I could change this back somehow (is that part of the .htaccess thing?)
      • the tag for internal linking to articles isn't working (doesn't create links, just displays [wikiwing]...[/wikiwing] on the page)
      • the styling in the articles is fried - is there a way to import what I had? (It used just to be in a single CSS file, didn't it? Could you remind me what that was called?)


      I guess there's still something wrong with namespaces. The attachment is what I see on the namespace manager page; I've set it to '6' in options as you suggested.
      Attachment 616
      Reply Reply  
    5. July 22, 2009 3:05 PM
      pegasus pegasus is offline
      VaultWiki Team
      The old URLs should 301 redirect to the new URLs, so bookmarks should still work (once you fix your namespaces).

      Your problem with the mixed up titles occurs when the original forum ID settings didn't have unique values. I have tried to account for this in the upgrade files now, though it probably would still require user intervention at the end if someone else did this.

      Visit the Namespace Manager and edit those namespaces, top to bottom, so the titles are
      1: Special
      2: Template
      3: Help
      4: Header
      5: Book
      6: WikiWing

      For #6 WikiWing, change the BB-Code Tag to 'wikiwing'.

      The styling no longer uses the CSS file. Visit the AdminCP -> CES VaultWiki -> Wiki Style Manager -> Wiki CSS to make your changes. You should really only add colors and such here, as all the margins and padding are hard-coded so the layout doesn't break. You can refer to your file vault/special.css for help.
      Reply Reply  
    6. July 22, 2009 3:41 PM
      Hilary Hilary is offline
      Junior Member
      Much better, thanks. The links are working again. Two problems left as far as I can see now - the styling (aaarrggh... what happened to the elegant Ajax navigation between article, discussion, editing etc? all gone...) and the addition of a bunch of extra buttons to the 'edit' box. How can I remove/edit those? (Especially, how can I remove them from all the rest of the forum?)
      Reply Reply  
    7. July 22, 2009 4:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      You can remove them from the wiki or forum editor using the options in AdminCP -> CES VaultWiki -> Wiki Code Manager.

      You may have to revert a number of templates to fix the styling. It should say "you have x outdated templates" at the top of your AdminCP Home.
      Reply Reply  
    8. July 22, 2009 5:11 PM
      Hilary Hilary is offline
      Junior Member
      Got it - two reverted templates later, I have the Ajax back.

      I really like the code manager - I remember spending ages before trying to edit code I didn't understand to remove and change images. Much easier!
      Reply Reply  
    9. July 22, 2009 7:21 PM
      Hilary Hilary is offline
      Junior Member
      Quick style questions - where do I edit
      • the font size (it's shrunk with the upgrade)
      • the background and link style for the tab links (there's no visual clue that they're links and no 'tab' outline any more)
      • the background colour for the article

      ?

      Thanks!
      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 1:54 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.