I am trying to create a backed up site to perform tests on. I am using the user guide that is here. I have followed the instructions to the T and all the paths on the new site are still pointing to the old site. I have a new database and changed all config, database and all paths in CP.
The way I am trying to this might help with this issue. I am trying to have a full site in a sub folder. Normal site is www.mysite.com and I am wanting to have a separate full functioning backed up version under www.mysite.com/testsite/. Is this even possible?
I do have a .htaccess in the main site but I took it out of the testsite. I reviewed the config.php, index.php, admin.php and /system/index.php and didn’t find any reference to the other site. When looking at the admin.php and index.php, I don’t see any reference to any site??
and put in the correct url to your test site and see if that helps you out?
When you say that all the paths are still pointing to the original site, could you be more specific about this. Is this soemthing that is happening on in the CP or on the front end of the site? Could you post up a screenshot or code sameple of the issue?
Well, maybe we have something here. Am I supposed to be using Multiple Site Manager?
My admin.php says (exact copy) $assign_to_config[‘cp_url’] = ‘http://domain2.com/admin.php’;
Also, I am in the process of setting up a complete backup under a sub-domain off another site with a totally different host. Just so there isn’t any issues with files getting crossed.
Ok, I got the new backup site uploaded in a totally different domain and host. Went thru all the file changes per the instructions and the site is working perfect. All the paths are pointing to the right spot. Everything looks great, except. I can’t get in the CP. I get to the login screen and when I try to login, nothing happens. I think if I can get everything going right if I can get in the CP.
What exactly happens when you login? Does the page refresh and you are not logged in? Doe clicking “login” result in no action? Are you seeing the “invalid username or password” error?
Could you try logging in to both domain.com/admin.php as well as domain.com/system/index.php
I got into my CP and changed all the links. Everything seemed to go smooth. When I go to the main page and click on a channel, I get a blank page with this error (No input file specified) at the top of the page. I checked and rechecked all my links and they are all updated to the new path. What am I missing.
There are a couple of things to double check here.
1) Make sure that the index.php file in the “root” of your backup site is the file from the top level of your main site, modified with the proper $system_path variable.
When moving sites around like this, it is possible to get index.php and /system/index.php confused, and they are not interchangeable.
I got into my CP and changed all the links. Everything seemed to go smooth. When I go to the main page and click on a channel, I get a blank page with this error (No input file specified) at the top of the page. I checked and rechecked all my links and they are all updated to the new path. What am I missing.
Is the above error occurring in the CP or on the front end of your site. Are you trying to publish/edit a channel entry or view a section of your site. Could you post up a screenshot of what you are seeing.