For those who will need it in future, here is what you should do if you have changed a domain:
-
Open datas/config.php and change $cfg['mainurl'].
-
Open phpMyAdmin, change the cookiedomain config in cot_config table:
UPDATE `cot_config` SET `config_value` = 'mynewdomain.com' WHERE `config_name` = 'cookiedomain';
-
In phpMyAdmin, clear the cot_cache table:
TRUNCATE TABLE `cot_cache`;
May the Source be with you!