• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Errors after installation (NuWiki import)

    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.

    Results 1 to 13 of 13

    Thread: Errors after installation (NuWiki import)

    • Thread Tools
      • Show Printable Version
    1. July 14, 2010 #1
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257

      Errors after installation (NuWiki import)

      I'm installing Vaultwiki on a testing installation, which has a copy of my big board, including NuWiki. Installation itself was a breeze. Except that an error/warning was on the screen shortly. Im preparing for the importation of NuWiki > Vaultwiki. I must say that the instructions here should be expanded with the exact settings for each namespace and should define whether or not Vaultwiki should be enabled for the forum that needs to be created for books or templates.

      Now when adding a new forum (for books), I get this error:
      Code:
      Warning: Cannot use a scalar value as an array in [path]/admincp/vaultwiki_namespace.php  on line 479
      
      Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/adminfunctions_options.php on line 422
      
      Warning: Invalid argument supplied for foreach() in [path]/includes/adminfunctions_options.php on line 422
      This is likely the same error as I saw before.

      Every wiki shows about a hundred lines repeating this error:
      Code:
      Warning: Missing argument 3 for nuwiki_handle_bbcode_wiki(), called in [path]/vault/class/bbcode/autolink.php on line 350 and defined in [path]/nuwiki/nuwiki_plugins.php  on line 731
      What do I do now?
      Reply With Quote Reply With Quote

    2. July 14, 2010 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      As long as it continued past it, you should be able to ignore the error when adding the new forum. It occurs when VaultWiki tries to update the cache too many times on the same page load. You can click the "Rebuild" link for the Book namespace to make sure everything was cached correctly.

      As for the BB-Code error, ideally NuWiki should be disabled at this point. Right now there is a conflict because there are two definitions for the BB-Code "wiki".
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. July 14, 2010 #3
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      Rebuilding any namespace gives the same error.

      I have disabled NuWiki.
      Reply With Quote Reply With Quote

    4. July 14, 2010 #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Okay, after looking again I see that the line in question should not affect the namespace cache. It's trying to turn the wiki back on if it was disabled in vBulletin Options > VaultWiki: Server Settings > Turn on the wiki.

      Not sure why that's happening because basically the error is saying that $vbulletin->options is not an array, but a string. This is possibly due to a conflict with another mod, but I'd like to do a few tests of my own. What version of vBulletin are you currently on?

      You should be able to ignore the error if you manually make sure that setting is turned on.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. July 14, 2010 #5
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      The setting is turned on. I am on vb3.8.5
      Reply With Quote Reply With Quote

    6. July 14, 2010 #6
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      Just want to add that I have applied the fixes in the other thread, but the error above persists.
      Reply With Quote Reply With Quote

    7. July 15, 2010 #7
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Can you please list/link to any modifications that use admin_ hooks?
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    8. July 15, 2010 #8
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      none of the plugins use the hook location admin_ hooks
      Reply With Quote Reply With Quote

    9. July 15, 2010 #9
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      Can you clarify EXACTLY the process that results in the "cannot use scalar value as array" error? For this is occur, $settings has to actually be set to a non-zero numerical/boolean value somewhere and I'm not finding it.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    10. July 15, 2010 #10
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      Rebuilding any namespace will do it, but just now I rebuilt the default namespace and got the exact same error
      Reply With Quote Reply With Quote

    11. July 15, 2010 #11
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      I trust this is still on the test-board. If you disable all other products, and attempt to rebuild the namespace, does this still occur? If not, re-enable them one-by-one and let me know on which product the conflict occurs.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    12. July 15, 2010 #12
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      I found it. The errors are a conflict with: Product : AWCoding- Back-End
      This is the back end of the AWCoding Donation System. Version 3.0.8

      AWCoding adds values to the object, but in no shape or form does it change it to a string.

      The plugin in that affects Vaulwiki is the init_startup:
      include(DIR.'/awcoding/plugins/awc.php');
      How can this affect Vaultwiki? Its the standard add to object array.
      Last edited by Alfa1; July 15, 2010 at 9:42 PM.
      Reply With Quote Reply With Quote

    13. July 22, 2010 #13
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      584
      Rep Power
      257
      Bug report was moved here:
      http://www.vaultwiki.org/issues/1814/

      Next build will have a fix.

      Any idea when the next build will be out or if I can apply the fix?
      Would be nice to advance on the conversion test. Looking good so far.
      Reply With Quote Reply With Quote

    Similar Threads

    1. Import Mediawiki-Installation to Xenforo
      By hollosch in forum VaultWiki Questions
      Replies: 76
      Last Post: January 22, 2015, 8:44 PM
    2. Comparison between NuWiki and Vaultiki
      By Alfa1 in forum VaultWiki Questions
      Replies: 4
      Last Post: December 7, 2010, 9:01 PM
    3. Some NuWiki import questions
      By Alfa1 in forum VaultWiki Questions
      Replies: 14
      Last Post: December 5, 2010, 10:09 PM
    4. Paid upgrade old nuWiki install
      By iphoneclub in forum Pre-Sales Questions
      Replies: 1
      Last Post: December 23, 2009, 12:16 AM
    5. Import from Nuwiki
      By Storyteller in forum VaultWiki Questions
      Replies: 1
      Last Post: November 17, 2008, 5:21 PM

    Tags for this Thread

    able, adding, admincp, any, autolink, bbcode, before, big, board, books, error, errors, few, first, forum, get, import, installation, installing, instructions, load, looking, manual, many, missing, namespace, nuwiki, object, options, other, right, same, screen, settings, shows, sure, templates, that, them, two, url, vaultwiki, vbulletin, warning, wiki, zero

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 10:01 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.