Magento Migration
1) import database
2) SELECT * FROM core_config_data WHERE path = 'web/unsecure/base_url' OR path = 'web/secure/base_url';
3) delete content on var/
4) change database info on app/etc/local.xml
http://stackoverflow.com/questions/20773160/could-not-determine-temp-directory-please-specify-a-cache-dir-manually
If admin pages are on error:
Firstly, copy /lib/Zend/Cache/Backend/File.php to
/app/code/local/Zend/Cache/Backend/File.php
Then on line 91 or near this line, you will find:
'cache_dir' => null,
Change to:
'cache_dir' => "var/tmp/",
Now create a directory named tmp(or whatever name you have given above) : /var/tmp
change permisssion to /var/tmp to 777