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

XF 1.1 Best way to set up a test site

Discussion in 'XenForo Questions and Support' started by Cambion, Jul 8, 2013.

  1. Cambion

    Cambion Well-Known Member

    What is the best way to set up a test site? I was trying to set up one just to test 1.2 out but when I did that, anytime I would make changes to the test site it also made changes on the live site which I of course do not want.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You have to also create a new database, import your existing site database to it and edit the config.php file to point to it.
  3. Vincent

    Vincent Well-Known Member

    Don't forget to update the Board URL too on the new board. Else it looks like nothing works ;)
    Cambion likes this.
  4. Cambion

    Cambion Well-Known Member

    yeah I did all that but for some reason any changes I made on the test site affected the live site.
    for instance I had attempted to change the test sites color so I wouldn't get it confused with my actual live site and when I changed the color on the test site...it also changed the color on the live one as well.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    The board URL only deals with email links and the logo.
    You should disable emails on the test installation anyway:
    $config['enableMail'] = false;
    You were using the same database then.
    As I said, you need two separate databases and the config.php needs to be updated.
  6. Lisa

    Lisa Well-Known Member

    Then you must have it linking to the same database.

Share This Page