When you're doing migration from a different server and domain make sure you change the value of the following tables:
ps_configuration
--------------------
PS_SHOP_DOMAIN
PS_SHOP_DOMAIN_SSL
ps_shop_url
--------------------
domain
domain_ssl
Note:
ps_
is just a prefix, it can differ during fresh installation- if you upload your database, make sure that the rows are correct, sometimes, due to some instances, it'll not able to download all rows.
- try removing cache though it's somehow irrelevant but sometimes it work
rm cache/class_index.php