Jump to content

Should this work? Or am I doing something wrong?


joer80
 Share

Recommended Posts

I have a testing.mywebsite.com, and a testing2.mywebsite.com.

I made the website as testing.mywebsite.com but then uploaded the files to another subdomain to try another look.  So they both started off with the same files and database, but I changed the header files of testing2 to give the client another look option.

For some reason, I can not login to the testing2 subdomain but I can under the regular testing one.  When I try to login to testing2 it says "processlogin: admin - login failed"

I tried clearing the cache and session folder and switching browsers but it does not seem to help.  

Any suggestions?

Thanks! 

Link to comment
Share on other sites

In your /site/config.php file on the testing2.mywebsite.com domain you should make sure you have changed

$config->httpHosts = array('testing.mywebsite.com');

to

$config->httpHosts = array('testing2.mywebsite.com');
  • Like 2
Link to comment
Share on other sites

Ok, I think I have this fixed.  I just downloaded the testing. website to my computer and uploaded it again to testing2 and it worked.  I then uploaded my testing2 template folder to put the design different again.   

Must have been missing some files or something?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...