• 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
    • Converting from vBulletin to xenForo?

    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.

    Page 3 of 3 FirstFirst Previous 123
    Results 31 to 41 of 41

    Thread: Converting from vBulletin to xenForo?

    • Thread Tools
      • Show Printable Version
    1. March 4, 2015 #31
      GWTZ
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      GWTZ is offline
      Junior Member
      Join Date
      October 1, 2014
      Posts
      19
      Rep Power
      142
      Hi

      A general question as I keep hitting it on ocassions where I'm forced to take breaks between steps.

      A few times now I hit a problem where I try to load our xenforo build to continue the import and get errors such as:

      Code:
      Parse error: syntax error, unexpected $end in /home/[REDACTED]/public_html/[REDACTED]/library/Zend/Db/Statement/Mysqli.php on line 252


      I then have to reinstall 2 or 3 files from the zip each time this occurs to even access the forum. Doing so also informs me that the 'install' folder which is required to be deleted from the VW files is back again and must be removed again.

      Just curious if any of the code changes could cause this or if this is a seperate issue I should be making those above me aware of. Thanks.
      Last edited by GWTZ; March 4, 2015 at 5:29 PM.
      Reply With Quote Reply With Quote

    2. March 4, 2015 #32
      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,959
      Blog Entries
      18
      Rep Power
      688
      This sounds like your opcode cache is keeping a broken version of a file in memory. Whenever this happens try restarting PHP if it runs as its own process, or restarting Apache if it's not.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. March 4, 2015 #33
      GWTZ
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      GWTZ is offline
      Junior Member
      Join Date
      October 1, 2014
      Posts
      19
      Rep Power
      142
      Many thanks. Apparently someone else might have been tinkering with the overall server.

      As for specific errors:

      Code:
      Step {1}
      
      vw_importing_content_tags
      An exception occurred: Database Error: SELECT contenttypeid FROM `contenttype` WHERE class = 'vwPage' Mysqli prepare error: Table 'toonzone_xf.contenttype' doesn't exist in /home/[REDACTED]/public_html/[REDACTED]/vault/core/controller/db/xf.php on line 136
      vw_DB_Controller_XF->throw_error() in vault/core/controller/db/xf.php at line 218
      vw_DB_Controller_XF->query_first() in vault/core/model/db/mysql/vw.php at line 29
      vw_DB_MySQL_Model->select() in vault/core/controller/import/handle/dependency/tagging/vb4.php at line 38
      vw_Import_Handle_Dependency_Tagging_Controller_vB4->query() in vault/core/controller/import/handle/dependency/tagging/vb4.php at line 28
      vw_Import_Handle_Dependency_Tagging_Controller_vB4->get_tags() in vault/core/controller/import/handle/vw4/tagging/vw.php at line 51
      vw_Import_Handle_VW4_Tagging_Controller->do_tags() in vault/core/controller/import/steps/vw4/vw.php at line 350
      {closure}() in vault/core/controller/progress/vw.php at line 100
      vw_Progress_Controller->call() in vault/core/controller/cp/impex/vw.php at line 114
      vw_CP_ImpEx_Controller->import() in vault/core/controller/cp/impex/vw.php at line 35
      vw_CP_ImpEx_Controller->execute() in library/vw/XenForo/ControllerAdmin/Wiki.php at line 115
      vw_XenForo_ControllerAdmin_Wiki->actionIndex() in library/XenForo/FrontController.php at line 347
      XenForo_FrontController->dispatch() in library/XenForo/FrontController.php at line 134
      XenForo_FrontController->run() in admin.php at line 14
      Reply With Quote Reply With Quote

    4. March 5, 2015 #34
      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,959
      Blog Entries
      18
      Rep Power
      688
      In vault/core/controller/import/handle/dependency/vw.php, find:
      Code:
      	public function of($classname)
      	{
      		$of = vw_Hard_Core::controller('Import/Handle')->create('Dependency/' . $classname, 0, $this->dependency);
      Replace with:
      Code:
      	public function of($classname, $key = '')
      	{
      		if ($key === '')
      		{
      			$key = 'import';
      		}
      
      		$of = vw_Hard_Core::controller('Import/Handle')->create('Dependency/' . $classname, $key, $this->dependency);
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. March 6, 2015 #35
      GWTZ
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      GWTZ is offline
      Junior Member
      Join Date
      October 1, 2014
      Posts
      19
      Rep Power
      142
      Thanks

      Code:
      Step {1}
      
      vw_importing_content_tags
      Fatal error: Call to a member function get_tags() on a non-object in /home/[REDACTED]/public_html/[REDACTED]/vault/core/controller/import/handle/vw4/tagging/vw.php on line 51
      Reply With Quote Reply With Quote

    6. March 6, 2015 #36
      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,959
      Blog Entries
      18
      Rep Power
      688
      You must have made the previous edit incorrectly. For the conditions required to trigger the error above, you would have received a fatal error already in the 'of' method that was modified. It seems like you replaced the entire method, but you should have only replaced the quoted lines from the method.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    7. March 9, 2015 #37
      GWTZ
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      GWTZ is offline
      Junior Member
      Join Date
      October 1, 2014
      Posts
      19
      Rep Power
      142
      Quote Originally Posted by pegasus View Post
      You must have made the previous edit incorrectly. For the conditions required to trigger the error above, you would have received a fatal error already in the 'of' method that was modified. It seems like you replaced the entire method, but you should have only replaced the quoted lines from the method.
      I admit to attempting with a } removed near the end, though that was only because after inputting the new code the importer still reports the same error.

      This is the original content of vault/core/controller/import/handle/dependency/vw.php

      Code:
      class vw_Import_Handle_Dependency_Controller
      {
      	protected $dependency;
      
      	public function set_dependency($dependency)
      	{
      		if ($dependency != $this->dependency)
      		{
      			$this->dependency = $dependency;
      		}
      	}
      
      	public function of($classname)
      	{
      		$of = vw_Hard_Core::controller('Import/Handle')->create('Dependency/' . $classname, 0, $this->dependency);
      		$of->set_dependency($this->dependency);
      
      		return $of;
      	}
      }
      This is how it looks after the edit:

      Code:
      class vw_Import_Handle_Dependency_Controller
      {
      	protected $dependency;
      
      	public function set_dependency($dependency)
      	{
      		if ($dependency != $this->dependency)
      		{
      			$this->dependency = $dependency;
      		}
      	}
      
      	public function of($classname, $key = '')
      	{
      		if ($key === '')
      		{
      			$key = 'import';
      		}
      
      		$of = vw_Hard_Core::controller('Import/Handle')->create('Dependency/' . $classname, $key, $this->dependency);
      		return $of;
      	}
      }
      Reply With Quote Reply With Quote

    8. March 11, 2015 #38
      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,959
      Blog Entries
      18
      Rep Power
      688
      I've been up and down over this code, and unfortunately that is the limit of the debugging I can do based on theory alone. In order to investigate further, I would need to be working with the importer that is throwing that error. I will gladly look into it if you can submit a ticket here.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    9. March 11, 2015 #39
      GWTZ
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      GWTZ is offline
      Junior Member
      Join Date
      October 1, 2014
      Posts
      19
      Rep Power
      142
      Hi

      Thank you for all your help so far and sorry for any stress I might have caused. Just getting authorisation from my boss, dependent on which I'll submit the ticket
      Reply With Quote Reply With Quote

    10. March 11, 2015 #40
      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,959
      Blog Entries
      18
      Rep Power
      688
      You had $source['on'] set to false in the import configuration. So all your entries in the config file were ignored, and it was trying to import from the XenForo database into the same XenForo database. This is expected behavior when you use that setting, but probably explains why you have been encountering so many other errors (importing a database into itself doesn't make sense when the source tables are the same as the target tables - that is, VW4 -> VW4).

      I notice you are having a lot of other issues too due to some files not being fully uploaded to your server. For example, the /vault/recources/js directory has a number of incomplete files in it. You will not be able to import in auto-mode while this is the case, and importing in manual-mode is usually not an option for wikis that already have content (it will take a very long time and you have to be there the whole time).

      Since the account that submitted the ticket is not the same as the license holder's account, I don't have access to the complete files to re-upload them myself. You will have to do that on your end.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    11. March 12, 2015 #41
      GWTZ
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      GWTZ is offline
      Junior Member
      Join Date
      October 1, 2014
      Posts
      19
      Rep Power
      142
      That problem likely stems from me having been told to near wholesale copy the specifics of the config file a colleague used to update the vbulletin version to 4.0. Though of course ultimately it's my fault and I apologise.

      With regard to uneven files, I don't suppose you could highlight which directories specifically or is it best assumed to be everything? I think I mentioned it before but for some reason when uploading to the server from my system for some reason it doesn't always copy the entirety of files. Fine if I'm uploading the odd item but a headache when trying to upload mass folders for an install or such.
      Reply With Quote Reply With Quote

    Page 3 of 3 FirstFirst Previous 123

    Similar Threads

    1. converting an existing Vbulletin forum?
      By fj123 in forum VaultWiki Questions
      Replies: 15
      Last Post: April 5, 2016, 10:51 AM
    2. vBulletin 4.2
      By ricktas in forum General Discussion
      Replies: 4
      Last Post: June 13, 2012, 6:01 PM
    3. converting mediawiki
      By Lord Doys in forum VaultWiki Questions
      Replies: 1
      Last Post: October 1, 2011, 9:21 PM
    4. Converting html pages
      By ibaker in forum Pre-Sales Questions
      Replies: 2
      Last Post: September 8, 2011, 3:35 AM
    5. Lost article content when converting old NuWiki staff wiki to VaultWiki
      By iphoneclub in forum VaultWiki Questions
      Replies: 5
      Last Post: May 7, 2010, 7:16 PM

    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 6:44 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 © 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.