Forums / Cotonti / Support / Changed domain, login no longer possible

Trustmaster
#35519 2012-09-20 08:39

For those who will need it in future, here is what you should do if you have changed a domain:

  1. Open datas/config.php and change $cfg['mainurl'].
  2. Open phpMyAdmin, change the cookiedomain config in cot_config table: 
    UPDATE `cot_config` SET `config_value` = 'mynewdomain.com' WHERE `config_name` = 'cookiedomain';
  3. In phpMyAdmin, clear the cot_cache table:
    TRUNCATE TABLE `cot_cache`;

     

May the Source be with you!