Instead of performing an upgrade on Magento Connect or simply using a filesystem upgrade to upgrade the database I chose to build a new Magento installation and use profile importing to rebuild the store. These were my steps. I completed them on a local xxamp server and then moved them over to our web server on a subdirectory, and once it was working to my liking i copied it over to root to go live. Make sure your current site stays live so you can export data and copy settings from it.
- create a completely new database, and a user with all access permissions for that db, write down the info
- note - most apps will add prefix_ to your db, make sure you write that down for your connectivity
- create folder for installation
- download latest version of magento 1.4 and place into installation folder
- use browser to open site and run installation wizard
- go into category manager and add categories matching your old site
- you will need to go into your old site and pull the entity_id from the table catalog_category_entity to make sure your new category ids match the old so your products import properly
- add all of your custom attributes along with any options for dropdown values
- build your attribute sets based on your old sites attribute sets
- go into your configurations and copy all the settings from your old site
- readd your static blocks
- readd your cms pages
- edit the 1.4 skin to match your old skin - note old css files will no longer work so you will have to rebuild your skin - replace images you have changed, and use the style.css under css subfolder to manipulate your site's skin
- test your skin and apply it to the site
- go through your new website bug testing and checking for theme problems to make sure its exactly how you will want it
- add any tweaks to your code that you may have done - perhaps on the design in app... please note old design tweaks will probably not work and your new site. recode as necessary
- add any extensions you will need - note many old extensions will no longer work
- if you are using aw_blog add it in, and import posts, cats, and postcats tables into your sql db using phpmyadmin
- at this point i uploaded my files and database to the live host subdirectory to prepare for the launch to new live site
- working with permissions - i have found many of our install problems have been permission based - you should safely be able to set all directories to 755 and files to 644. with the exception of
- /media should be set to 775
- /var should be set to 775
- /app/etc/ should be set to 775
- /app/etc/local.xml should be set to 664
- /var/.htaccess should be set to 664
- add category images and meta information for seo and display purposes
- copy all shopping cart rules to new site
- copy all tax rules and tables to new site
- if you need to increase max_execution time - use a php.ini instead of .htaccess .htaccess doesnt always work
- copy the contents of your /media/catalog/products on your old install to your /media/import on your new install (use file transfer on your server as ftp will ruin your images with losing capitalizations)
- use this module hack to export products with all product images from the old site:
- download the files from http://www.foowebs.com/apps/foowebsMagentoExporter.zip
- copy the files to your old install of magento
- after installing the files and clearing your cache you should run the export profile for all products and the resulting csv should include a column for add_images
- use this module hack to import products with all product images from old site:
- download the files from http://www.foowebs.com/apps/foowebsFullImport.zip
- copy the files to your new install of magento
- after installing the files clear your cache, and run the import all products profile locating the file you just exported with the other module
- your products should now be all imported, you will probably need to go to configuration, index management and reindex your site, also go to cache management and clear your cache
- at this point i would take some runs through the site to make sure everything is working properly
- copy your email templates from the old website to the new
- create a test order on the new website to make sure ordering functions properly
- clear all cache on old install and new
- ask your host administrator to run a backup on file structure and dbs so you can restore if necessary
- take any backups you can of your own
- at this point you should use your cpanel to move all the root files to a subdirectory and move the subdirectory containing your new install to the public_html root
- test the new site out - clearing cache and checking permissions if its not viewing properly
- pray :)
No comments:
Post a Comment