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

XF 1.3 Import from another 1.3 xenforo board

Discussion in 'XenForo Questions and Support' started by giorgino, Mar 13, 2014.

  1. giorgino

    giorgino Well-Known Member

    Importing the old 1.3 board into the new 1.3 board, I get this errors...

    • The data directory could not be found.
    • The internal data directory could not be found.
    I'm sure that the path is correct (pwd check).
    Code:
    > pwd
    /home/myforum/public_html/data
    
    What's wrong? o_O
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The path isn't correct.

    Check phpinfo in the ACP to determine the absolute path.
     
  3. giorgino

    giorgino Well-Known Member

    mmm... how? I don't understand what you mean Brogan :unsure:
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Navigate to admin.php?tools/phpinfo and search for DOCUMENT_ROOT to get the absolute path of your XenForo installation.
     
  5. giorgino

    giorgino Well-Known Member

    Oh :) Thanks, this is the result

    Code:
    _SERVER["DOCUMENT_ROOT"]    /home/myforum/public_html
    The path (/home/myforum/public_html/data) seems correct to me... o_O
     
  6. Mike

    Mike XenForo Developer Staff Member

    You're importing data from an install in the root?

    It could be a permission error as well. (If it can't be read, it's as if it doesn't exist.)
     
  7. giorgino

    giorgino Well-Known Member

    No I'm importing a 1.3 xenforo installation from /home/myoldforum/ to /home/mynewforum.
    Same server CentOS/WHM/Cpanel.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    In which case the path needs to include /myoldforum prior to /data.
     
  9. Mike

    Mike XenForo Developer Staff Member

    If you're sure the path is right (based on @Brogan's previous comment), then you need to look at the permission situation as well.
     
  10. giorgino

    giorgino Well-Known Member

    I'm sure for the path... but I don't figure out how to set the permission... perhaps 777?
     
  11. Mike

    Mike XenForo Developer Staff Member

    It may be down to the permissions of parent directories. If you don't have root, you won't be able to deal with it.

    TBH, the easiest thing may be to simply copy the data over so they're all in the same home directory.
     
  12. giorgino

    giorgino Well-Known Member

    Perfect workaround ;)
    Thanks
     

Share This Page