• 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
    • VW 3.0.2 to 4.0.0 RC1 upgrade 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: VW 3.0.2 to 4.0.0 RC1 upgrade error

    • Issue Tools
      • View Changes
    1. issueid=3899 August 1, 2014 7:53 PM
      gerryvz gerryvz is offline
      New Member
      VW 3.0.2 to 4.0.0 RC1 upgrade error
      Installer hangs up on step 4

      I followed the version 3 to 4 upgrade instructions, and modified my config.php.vb4 file to remove the non VB4 related items.

      I also renamed the config.php.vb4 file to just config.php and removed the .vb3 and .vb5 config files, as I don't think they are needed (are they?)

      Created new sub-folder for attachments, with proper permissions.
      Went to do the upgrade script and got the following on step 4

      Installing VaultWiki v4.0.0 RC 1
      Step 4
      Code:
      Parse error: syntax error, unexpected '180' (T_LNUMBER), expecting ')' in /homepages/0/d315437492/htdocs/forums/vault/core/controller/install/db/insert/bbcode/vb3.php on line 196
      Any thoughts as to the problem?

      Alternately, would it just be better to remove all of the newly transferred VW4 and old VW3 code and do a clean install?

      This is a VB 4.2.2 forum, BTW.
    Issue Details
    Issue Number 3899
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.0 RC 1
    Fixed Version 4.0.0 RC 2
    Milestone VaultWiki 4.0 Gold
    Software DependencyvBulletin 4.x w/ ckEditor
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)


    Page 1 of 2 12 Next LastLast


    1. August 2, 2014 10:05 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you have a lot of data on 3.0.2, I wouldn't recommend doing a clean install. The issue is that you are about 40 versions back, so you are bound to run into problems... the first of which is that we no longer have the upgrade script posted for such an old version.

      But you WILL need VaultWiki 4 installed, in order to begin this process. In vault/core/controller/install/db/insert/bbcode/vb3.php, find:
      Code:
      'bbcodeexample' => "'[gallery] widths="180" perrow="1" feature="1" rows="1" |
      Replace with:
      Code:
      'bbcodeexample' => "'[gallery] widths=\\\"180\\\" perrow=\\\"1\\\" feature=\\\"1\\\" rows=\\\"1\\\" |
      This should get you on your way.

      The transfer process from VaultWiki 3 into VaultWiki 4 only supports 1 version: VaultWiki 3.0.20. So while you are getting VW4 installed, I will see if I can find that other upgrade script for you.

      EDIT: Looking back at your the registration/purchase dates on your account, it appears more likely that you have VaultWiki 3.0.20 installed, rather than 3.0.2, which is a difference of 18 versions. Please confirm, as it could save me some unnecessary work building another VCS today.
      Reply Reply  
    2. August 2, 2014 3:08 PM
      gerryvz gerryvz is offline
      New Member
      Sorry...yes I got my numbers transposed. It is 3.0.20.

      It looks like the text above that I'll be replacing, is the same as the old text?!?

      Thanks
      Gerry
      Reply Reply  
    3. August 2, 2014 7:44 PM
      pegasus pegasus is offline
      VaultWiki Team
      There should be 3 backslashes \\\ before each " that appears inside the gallery tag. For some reason vBulletin keeps removing them from my post.

      This change is applied already in build 003 if you just want to download the ZIP again.
      Reply Reply  
    4. August 3, 2014 10:12 AM
      gerryvz gerryvz is offline
      New Member
      OK, I will re-download. Should I just re-install all the files and overwrite the earlier files I uploaded? My Wiki is still turned off and everything is just as I left it ... new folder created for attachments, Wiki disabled, etc.
      Reply Reply  
    5. August 3, 2014 10:26 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you reupload all the files you should be able to continue where you left off.
      Reply Reply  
    6. August 7, 2014 9:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      Marking this issue as fixed, since it is now possible to download VaultWiki 3 for users who need to update a really old version like 3.0.1, to get to a version that VaultWiki 4 is able to import.
      Reply Reply  
    7. August 9, 2014 10:59 AM
      gerryvz gerryvz is offline
      New Member
      Finally have time to re-install all the files and re-start the upgrade.
      Reply Reply  
    8. August 9, 2014 1:12 PM
      gerryvz gerryvz is offline
      New Member
      OK, I re-uploaded the new VaultWiki files, modified the config.php slightly to remove extraneous (non VB4) lines, and ran the auto-installer script. Everything seemed to install OK, and after deleting the installer directory I was able to access the control panel for the new VaultWiki.

      I modified the base URL to be my forum's URL with the wiki extension: http://www.500eboard.com/forums/showwiki.php

      When I click on the radio button to turn the wiki on, and click "save" it still stays on "No" - effectively it's not letting me turn the Wiki on.

      I tried this both in the new VaultWiki Admin panel, as well as the "Options->Settings" part of the main control panel.

      Can you advise on how to force the system to turn the wiki on at the radio button?

      Also I am getting the following message at vBulletin when I click on the Wiki button in the top bar:


      vBulletin Message
      The wiki is currently disabled while we perform maintenance. Please try again later.


      Thanks
      Gerry
      Reply Reply  
    9. August 9, 2014 1:14 PM
      gerryvz gerryvz is offline
      New Member
      Also, is there anything I need to do in terms of actively importing pages, data, attachments, etc. in to the new VaultWiki so that I can see things displayed?
      Reply Reply  
    10. August 9, 2014 1:21 PM
      pegasus pegasus is offline
      VaultWiki Team
      The wiki will only turn on when there are no data rebuilds in progress that were triggered by a previous setting change. If this takes more than a few minutes, then the data rebuild is probably frozen and you will need to submit a Support Ticket service via the Members area so a developer can find out why and correct the problem.

      So far, I have only seen the builder get frozen if there were rebuilds already in progress from an earlier version and the wiki was upgraded to RC 1 while they were still in progress. So if you have a frozen builder on a fresh installation, that definitely deserves a look.

      EDIT: It seems the setting value will not save as "Yes", even when there are no rebuilds in progress. In vault/core/model/settings/vw_enabled/vw.php, find:
      Code:
      		if ($value)
      		{
      			return false;
      Replace with:
      Code:
      		if ($log)
      		{
      			$value = false;
      
      			return false;
      Reply Reply  
    11. August 9, 2014 1:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      Quote Originally Posted by gerryvz
      Also, is there anything I need to do in terms of actively importing pages, data, attachments, etc. in to the new VaultWiki so that I can see things displayed?
      Yes, you must actively run the import script. See: https://www.vaultwiki.org/blogs/56/#...ultWiki-3-Data
      If you have any trouble or errors with the script, please just submit a Ticket Support service. It will save a lot of time and headaches.

      Note that currently there is a known issue where reputation points gained from wiki comments are not imported. If this is okay by you, then go ahead and run the importer.
      Reply Reply  
    12. August 9, 2014 1:58 PM
      gerryvz gerryvz is offline
      New Member
      Didn't do any good.

      I am not seeing any content imported anywhere, and am not able to access the wiki even though I should be able to.

      I guess this upgrade is just a total loss.

      Is there any way I can just down-grade to my old version of the software, 3.0.20, so that I can get the functionality back for my users?

      This is pretty ridiculous and I can't believe that I paid money to deal with this.

      I've never in my life had problems like this with any type of forum upgrade or mod, phpBB, vBulletin, or whatever.

      PLEASE post downgrade instructions. Given that I now do not plan to use VaultWiki 4.0.0 on my site any longer, I'd also like to get a refund on my money paid for the license.

      Thank you.
      Reply Reply  
    13. August 9, 2014 2:00 PM
      gerryvz gerryvz is offline
      New Member
      Just so you know, the import script gave me the following:
      Code:
      Fatal error: Call to a member function clean_gpc() on a non-object in /homepages/0/d315437492/htdocs/forums/vault/core/controller/cp/impex/vw.php on line 29
      Reply Reply  
    14. August 9, 2014 2:15 PM
      pegasus pegasus is offline
      VaultWiki Team
      There is no "downgrade" process, as VaultWiki 4 is a separate product. If you performed the edit in my previous post here: https://www.vaultwiki.org/issues/3899/#note21103, then you would have been able to turn the wiki on, as I was able to confirm your issue and the edit fixed it. And if you submitted the Ticket Support as I suggested, I would have performed the import for you without you paying for it.

      If you've never had problems like this with any forum or web software, then you are lucky. I have had issues with nearly every vBulletin upgrade due to PHP incompatibility. As another example, PayPal's Merchant API is not compatible with Zend Opcache, which took me almost 2 days to figure out.

      We cannot give refunds after the software has been downloaded. This is made plain in the license text here: https://www.vaultwiki.org/pages/Info...nt#a-5-Refunds
      Which you are presented with before every time you download the product.

      However, as you have seen we are committed to our product and supporting our product, and I guarantee that we will get this working for you.
      Reply Reply  
    15. August 9, 2014 4:59 PM
      gerryvz gerryvz is offline
      New Member
      I performed the edit as listed in your previous post. It did not change anything.
      Reply Reply  
    Page 1 of 2 12 Next LastLast
    + 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 6:26 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.