Going live
PermalinkI had the beta site working beautifully on a BlueHost temporary IP address (what they give you for development until you are ready to go live). As soon as I pointed the DNS to it, the edit bar went missing throughout the site, and generally it became a mess. Prior to the DNS change, I had followed the recommendations in the Moving a Site tutorials (update the site.php, turn off pretty URLs, etc).
After it was broken, I then pointed the DNS back to the client's old hosting company in order to regroup and troubleshoot the problems.
I contacted the hosting company but eventually ended up deleting and re-installing the entire CMS and recreating it by importing the data, theme, etc. Now I have it working again but am nervous about going through that whole experience again. But I need to go live with it asap.
This website does have some javascript on it. Should I disable it all until after going live?
Does anyone have advice for how to make this beta site go live smoothly once I point the DNS to it?
Thanks,
-Sherri

I did think it was cache-related though did not get any help from the tech support at the hosting company as none of them knew anything about concrete5.
1. The base URL in config/site.php didn't get changed to match the DNS change.
2. Some theme PHP or javascript files were using full URL's or incorrect paths and broke when you switched the DNS.
I'm not sure though, usually going from development to production is fairly seamless. One thing I do frequently is change the hosts file on my computer so I can preview exactly how the site will function after the DNS change. Then you can fix any problems you find without the added pressure of the site being down.
I am thinking perhaps your second suggestion, though I used the
<?php echo DIR_REL?>
I like your idea of changing the hosts file on your computer in order to simulate the live site though I have never done it. I am on a mac and will have to research how to do that.
Thanks.
My guess is that the problems I encountered were due to either caching or javascript, but I am not sure which. I like the idea of simulating the live host environment if I can figure out how to do that.
There are so many people with similar questions about missing edit bars, I'd like to be able to solve this and possibly help someone else.
I believe the solution was to:
1. install the static version of the old site on the root of the beta server (so that the site will never appear to be down)
2. (re-)install Concrete5 in a sub-folder on this server and make sure everything works fine
3. change the DNS to point to this server (thereby changing it from a Bluehost IP address and subfolder URL to the real one)
follow the instructions to the letter on this:http://www.concrete5.org/documentation/how-tos/developers/how-to-mo...
Then, it finally worked.