Help with Live Site redirect from Test site

We have recently inherited a client using CS Cart and wanted to setup a test site for their graphics person to play with. Copied over main directory from their live site and created a subdomain and new database for this test site.

Went through the install scripts and now on the test site, any and all functions that happen redirect you to the live site. Where would any redirect information be contained.

Also, it keeps failing on the installing Skins portion of the install saying that it cannot read from or write to a certain directory. I have now checked both the Skins directory root for write permissions and the repository for read permissions, have even gone as far as providing 777 to everything it was under those directories as well. Any thoughts?

check the settings for http_host and https_host in config.local.php