• 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
    • Install error on 2-1-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: Install error on 2-1-0

    • Issue Tools
      • View Changes
    1. issueid=254 September 22, 2008 3:37 AM
      vimto vimto is offline
      Regular Member
      Install error on 2-1-0
      Parse error: syntax error, unexpected '.'

      I've uploaded all the new 2-1-0 files, overwriting all existing files, and then attempted to install the product-ces_nwsp_spec files, also allowing overwrite.

      I am getting this error which stops the install:
      Code:
      Parse error: syntax error, unexpected '.' in /home/bluedragon/public_html/forums/vault/install/special_upgrade.php on line 1662
      The forums were turned off during this install.
    Issue Details
    Issue Number 254
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.1.0
    Fixed Version 2.1.0
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 22, 2008 5:58 AM
      vimto vimto is offline
      Regular Member
      Had to turn off wiki on website until this can be resolved as it's broken my site.
      Reply Reply  
    2. September 22, 2008 7:37 AM
      pegasus pegasus is offline
      VaultWiki Team
      Find:
      PHP Code:
      '" . ($title = $db->escape_string($headerinfo['title'])) ? $title : . "', 
      Replace with:
      PHP Code:
      '" . ($title = $db->escape_string($headerinfo['title'])) ? $title : '' . "', 
      Reply Reply  
    3. September 22, 2008 8:23 AM
      vimto vimto is offline
      Regular Member
      Thanks, the installation has now completed, but I'm now getting further errors with the running of the wiki software, none of the actual links are working, see here:
      http://www.bluedragons.co.uk/forums/...splay.php?f=38

      I've not got time to explain further as I have to head off to work now, will look again later.

      Thanks for your help so far.
      Reply Reply  
    4. September 22, 2008 5:23 PM
      pegasus pegasus is offline
      VaultWiki Team
      Okay well for some reason vB messed up the quotes when I posted the code above, and this messed up your installation. What you are going to have to do is this, re-upgrade to 2.1.0, by:

      • reducing your VaultWiki version to "2.1.0 Beta 1" in the Manage Products page.
      • Completely re-download the ZIP to fix your botched install files along with a number of other important changes.
      • Upgrade to 2.1.0 as normal.
      • There are new instructions for installing VaultWiki Categories in the Installation pages.
      Reply Reply  
    5. September 22, 2008 6:25 PM
      vimto vimto is offline
      Regular Member
      Thanks, I followed your instructions above which cleared up a few things but also raised a few other issues.

      All of my namespaces in the namespace manager were gone, So I recreated these to what I could remember:

      Template
      Book
      Wiki
      Header
      Help

      And associated these with each of the forums. I then rebuilt all namespaces, this seemed to remove all the error messages that I was getting all over the place and rebuilt all the links in my wiki forum (forum 38). Your installation help page could do with a list of the default namespaces that users need to create on a new installation, as it is they wouldn't have a clue (like me really)

      I next followed the rest of your installation help page and came to the bit that said Update Permissions. I couldn't find in my admin panel where to actually update these and there is no information in the help page on where to do this, So I need some help on this please.

      Under this is the Cleanup part which says:
      If you upgraded from a version prior to 2.1.0, delete the file /includes/functions_vault.php.

      Now I updated from 2.04 to 2.1.0 so this applies to me and I deleted this file as per these instructions....I then went to the Namespace manager in the admin panel and it came up with a page not found error pointing to this page....so re-uploaded that page to fix it. Something wrong there I think.

      I'm left with a few problems with my wiki which I could use some help with:
      If I click on a link to a page in my wiki i get an error which says "No such special page, you have requested an invalid special page. A list of special pages may be found at......etc"

      If I try to create a new article I get a message which says "you do not have permission to access this page. This could be due to on of several reasons....etc"

      I expect these are both related to the new permissions, but as I can't find these I'm pretty stuck.
      Reply Reply  
    6. September 22, 2008 7:09 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yeah you should also replace your includes/functions.php file in Cleanup. I'll add that. The reason you get the no such special page error is because you created the namespaces yourself. The namespaces are hardcoded in a particular order, and you got the order wrong.

      The installer is supposed to create these namespaces automatically for you. The reason this occurred is because your first attempt at install went through and the old namespace IDs were erased even though the data had never been copied over. When you reinstalled correctly, the old IDs were still gone, so the data was again not copied over.

      Run the following query, replacing PREFIX- with your forum's TABLE_PREFIX:
      Code:
      TRUNCATE TABLE PREFIX-vault_namespace;
      REPLACE INTO PREFIX-vault_namespace
      (namespaceid, title, bbcodetag, constant)
      VALUES
      (1, 'Special', 'special', 1),
      (2, 'Template', 'template', 0),
      (3, 'Help', 'help', 0),
      (4, 'Header', 'header', 0),
      (5, 'Book', 'book', 1),
      (6, 'Default', 'wiki', 1);
      After that you should go back to the Namespace Manager part of the Installation and do the process over from there.
      Reply Reply  
    7. September 23, 2008 3:34 AM
      vimto vimto is offline
      Regular Member
      Thanks, this did the trick,

      I inserted the mysql code, re-associated the forums with the namespaces and rebuilt them all. Now working fine, thanks

      I'm still a bit unsure as to where the CES VaultWIki Special Page Permissions and CES VaultWiki Permissions are though?

      also

      on the Cleanup part, I'd re-word it to something like this:

      If you upgraded from a version prior to 2.1.0, replace the file /includes/fuctions.php with a backup from your vbulletin download/backup and then delete the file /includes/functions_vault.php.
      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 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.