Magento Migration

 In Magento

OLD ADMIN

1 – clear cache and index management (also manually the var/cache/folders)

2- backup and export database through phpmyadmin (magento backup has issues) utf8/primary key

3- backup file/folder structure

 

NEW INSTALL

1 – install blank database

2- upload file/folder structure (you may need to CHMOD new directories to their appropriate permissions on some installs)

3-  import magento backup db (NOTE: when importing through phpmyadmin make sure to UNCHECK THE PHP TIMEOUT, this will sometimes causes primary keys/indexes to break or get left out, due to sql formatting.

 

IF YOU NEED TO REINSTALL – Sometimes if you are installing an existing db you will receive “magento already installed” error…to correct, open the magento root on your server and go to app/etc folder and delete the local.xml file, it will then display the install screen.

 

WHEN MIGRATING FROM OTHER SERVER – you may have to change path url temporarily or for a new domain

UPDATE core_config_data SET value="http://whatever.com/" WHERE path="web/unsecure/base_url";
UPDATE core_config_data SET value="https://whatever.com/" WHERE path="web/secure/base_url"

URL REWRITE ISSUES - IF SET TO 1 CHANGE TO 0 TO DISABLE - RE-ENABLE AFTER INDEX/CACHE MANAGEMENT ENABLED.

4. login to magento admin and re-assign index and cache management

 

NOTES AND ERRORS: You may receive a few issues with duplicate records, primary key disappearing, template not displaying and urls not relinking properly.

Recent Posts