Magento commerce reference and backup posts, installation points.
Since i started to work with magento e-commerce, i have lost few kilos. Probably this is good weight loss program for me.
From today onward i want to keep backup of the steps, references etc to my blog. I hope this will make me easy to find them easily next time.
Some of the code helpful to change permission on files and folders while upgrading magento through connect manager.
/* * Change permission to write * Through SSH. */ chmod o+w var var/.htaccess app/etc chmod -R o+w media //or, just change the whole thing writeable for a while chmod -R 777 staging
//Now change back the permissions find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \;
Upgrade key to install latest magento:
magento-core/Mage_All_Latest
If the upgrade breaks the magento, try to fix through PEAR using SSH.
./pear install -f --alldeps magento-core/Mage_All_Latest-stable