• 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
    • cannot upgrade

    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: cannot upgrade

    • Issue Tools
      • View Changes
    1. issueid=2954 March 15, 2013 1:29 PM
      bing11 bing11 is offline
      New Member
      cannot upgrade

      when I run /vault/install/index.php

      show me
      Code:
      Parse error: syntax error, unexpected T_STATIC in /home/chineseu/public_html/bbs/vault/core/model/db/vw.php on line 228
    Issue Details
    Issue Number 2954
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Alpha 1 Depot
    Fixed Version 4.0.0 Alpha 2
    Milestone VaultWiki 4 Alpha X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 15, 2013 1:31 PM
      bing11 bing11 is offline
      New Member
      I use vb4
      Reply Reply  
    2. March 15, 2013 1:48 PM
      pegasus pegasus is offline
      VaultWiki Team
      What is your PHP version?

      I have marked the issue fixed because the use of the static keyword at that location is unnecessary and could be replaced with self. However, static is still perfectly valid there in current versions of PHP, so my question is still relevant.

      You will be unable to install or upgrade VaultWiki 4 if your PHP version is less than 5.3. The installer uses a variant of anonymous functions that was not introduced until 5.3.
      Reply Reply  
    3. March 15, 2013 1:56 PM
      bing11 bing11 is offline
      New Member
      yes upgrade 5.3.22 now

      but Clicking the [Upgrade] nothing happening
      Reply Reply  
    4. March 15, 2013 2:03 PM
      pegasus pegasus is offline
      VaultWiki Team
      If the button isn't working, add ?step=1 to the URL and this will take you to the old style upgrade where you have to click through. It might also show you any errors that are making the Upgrade button stop working.
      Reply Reply  
    5. March 15, 2013 2:05 PM
      bing11 bing11 is offline
      New Member
      stop 2/43
      Reply Reply  
    6. March 15, 2013 2:06 PM
      bing11 bing11 is offline
      New Member
      Step 1

      Ensuring permissions and caches are up-to-date
      Reply Reply  
    7. March 15, 2013 2:13 PM
      pegasus pegasus is offline
      VaultWiki Team
      Can you click through? No next step button?
      Reply Reply  
    8. March 15, 2013 2:17 PM
      bing11 bing11 is offline
      New Member
      no
      it is not working
      Reply Reply  
    9. March 15, 2013 2:35 PM
      pegasus pegasus is offline
      VaultWiki Team
      It appears the Upgrade button doesn't work because the Javascript hasn't loaded. This occurs when the forum is not using the remote YUI option and has not yet installed/upgraded at least partially to version 4. Fixed in the current build.
      Reply Reply  
    10. March 15, 2013 2:39 PM
      bing11 bing11 is offline
      New Member
      what can I do now?
      Reply Reply  
    11. March 15, 2013 2:59 PM
      bing11 bing11 is offline
      New Member
      at 31 step
      Reply Reply  
    12. March 15, 2013 3:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/import/handle/vw3/popularity/vw.php, find:
      Code:
      	public function do_pending_popularity($startat)
      Replace with:
      Code:
      	public function do_pending($startat)
      Reply Reply  
    13. March 16, 2013 1:38 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/import/handle/vw3/language/vw.php, find:
      Code:
      		$setting = vw_DB::get($this->from)->query()->select(array(
      			'fields' => array('value'),
      			'table' => 'setting',
      			'where' => vw_DB::get($this->from)->query()->eq('varname', "'languageid'"),
      			'first' => 1
      		));
      
      		if (!$setting['languageid'])
      		{
      			$setting['languageid'] = 1;
      		}
      
      		$fieldname = 'translate_' . intval($setting);
      Replace with:
      Code:
      		$db_alter = vw_Hard_Core::controller('DBalter')->get();
      
      		if (!$db_alter->fetch_table('vault_language'))
      		{
      			return false;
      		}
      
      		foreach ($db_alter->get('fields') AS $fieldname => $field)
      		{
      			break;
      		}
      
      		if (!$fieldname)
      		{
      			return false;
      		}
      Reply Reply  
    14. March 17, 2013 9:06 PM
      bing11 bing11 is offline
      New Member
      help please
      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 8:17 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 © 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.