• 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

Cambion

Well-known member
#1
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.
 

Brogan

XenForo moderator
Staff member
#2
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.
 

Cambion

Well-known member
#4
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.
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.
 

Brogan

XenForo moderator
Staff member
#5
The board URL only deals with email links and the logo.
You should disable emails on the test installation anyway:
PHP:
$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.