Forums / Cotonti / Support / Quick Q about live and localhost

Trustmaster
#36269 2012-11-18 06:16
#36268 Kingsley: 

I never use my localhost to update production sites, I do however, dl the production site to use it on my localhost while I create/adjust the theme (saved me the time to create a local db with all kinds of content, the easy way out, I know..). The only times I did do localhost to production is when it is a completely new site. Yeah I know.. it was the easy option.. Saved me the time of manually copying page/forum structures and whatnot from local to production. But if that breaks things now, I will quit doing that :)

You're right, moving from localhost to production for the 1st time sounds reasonable too. But you have to fix config.php, cookiedomain/cookiepath in cot_config and clear cache (both in datas/cache and cot_cache table) for your production site to start working correctly. I think this can be added as a 5th case above.

May the Source be with you!