Skip to content

Instantly share code, notes, and snippets.

@ifnull
Created July 11, 2012 21:13
Show Gist options
  • Save ifnull/3093580 to your computer and use it in GitHub Desktop.
Save ifnull/3093580 to your computer and use it in GitHub Desktop.
Aitoc Fix
sudo mkdir store/var/ait_rewrite/
sudo chmod -R 777 store/var/ait_rewrite/
sudo chmod -R 777 store/app/code/local/Aitoc/
sudo chmod -R 777 store/app/etc/modules/Aitoc_*.xml
git update-index --assume-unchanged store/app/etc/modules/Aitoc_Aitpreorder.xml
git update-index --assume-unchanged store/app/etc/modules/Aitoc_Aitsys.xml
sed -e "s/\<active\>true\<\/active\>/\<active\>false\<\/active\l>/g" -i '' store/app/etc/modules/Aitoc_Aitpreorder.xml
sed -e "s/\<active\>true\<\/active\>/\<active\>false\<\/active\l>/g" -i '' store/app/etc/modules/Aitoc_Aitsys.xml
sudo rm -fR store/var/cache/*
sudo rm -fR store/var/ait_install/*
sudo rm -fR store/var/ait_rewrite/*
sudo rm -fR store/var/cache/*
sudo rm -fR application/caches/*
sudo rm -fR store/media/catalog/product/cache/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment