1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

From VB to Xenforo questions

Discussion in 'Installation, Upgrade, and Import Support' started by Ellie, Jun 4, 2013.

  1. Ellie

    Ellie Member

    Hi,

    We are moving over from a VB site and just downloaded Xenforo.

    Obviously we need to get it looking how we want before we go live but I'm not clear on what I need to do.

    Do I just install it first in a test area,create a test database and play around with it?

    Thanks
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Shelley likes this.
  3. Ellie

    Ellie Member

    That's great. It's all installed on test now and I 100% love it. It's so intuitive and simple. What a clever bunch you are :)
     
    Stuart Wright likes this.
  4. Ellie

    Ellie Member

    I have run into this problem when adding the absolute paths to attachments and avatars

    Server Error

    file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/soapchat/httpdocs/attachments) is not within the allowed path(s): (/var/www/vhosts/soapchat.net/httpdocs/:/tmp/)
    XenForo_Application::handlePhpError()
    file_exists() in XenForo/Importer/vBulletin.php at line 153
    XenForo_Importer_vBulletin->validateConfiguration() in XenForo/Importer/vBulletin.php at line 31
    XenForo_Importer_vBulletin->configure() in XenForo/ControllerAdmin/Import.php at line 56
    XenForo_ControllerAdmin_Import->actionConfig() in XenForo/FrontController.php at line 313
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in /var/www/vhosts/soapchat.net/httpdocs/xf/admin.php at line 13


    Is this something I am doing wrong with the paths or do I do to contact my host?

    Thanks
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    @Ellie

    Your host or server person needs to relax the "open_basedir" setting in PHP to include your attachment path.
     
  6. Ellie

    Ellie Member

    I think it was me. I ended up using /var/www/vhosts/soapchat.net/httpdocs/attachments and it worked.
     
    Jake Bunce likes this.
  7. Liam W

    Liam W Well-Known Member

    Yeah, you had the wrong path to your htdocs directory (your host used a non-default value). They also had that setting enabled, which prevented you from accessing the invalid directory, resulting in the error.
     
  8. Ellie

    Ellie Member

    Everything seems to have worked first time. Amazing. I have the XF set up in a test folder and VB is at the root.

    What do I do now to put XF live? Do I delete all the VB files and install XF in the root?

    Thanks
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Move the vB files out of the root and the XF files in. Then update this setting:

    Admin CP -> Home -> Options -> Basic Board Information -> Board URL
     
  10. Liam W

    Liam W Well-Known Member

    Remove ALL vB files (the easiest thing to do would be to copy the xF folder out of the root, and then delete everything in the root), then move the xF files to the root.

    Before you do that, update the board URL in the settings (or the board won't load when you have moved it).
     
  11. Ellie

    Ellie Member

    It all went really well but I didn't import albums deliberately but is it too late to do it now? I believe you can't do incremental imports, so would it need to start again?
     
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Correct. Start again from scratch.

    It may be possible to only run the modules you need, but several modules depend on each other. It is better to start over.
     
  13. Ellie

    Ellie Member

    Thanks. I think we will live without the old albums if that's the case :)
     

Share This Page