Ours not to question why
Ours but to do or die
Lord Tennyson, asked about Magento core team's code

Friday, 17 August 2012

Uninstall Aitoc module

Step 1:

Drop all tables with "Aitoc_" prefix

DROP TABLE Aitoc_TableName;

Step 2:

Delete/Rename/Move files from app/code/local/Aitoc/* 
Delete/Rename/Move directory app/code/local/Aitoc

Step 3:

After doing steps above, I got this error:

Warning: Varien_Autoload::include(Aitoc/Aitsys/Model/Init/Processor.php) [varien-autoload.include]: failed to open stream: No such file or directory in /home/devel/www/lib/Varien/Autoload.php on line 93

Warning: Varien_Autoload::include() [function.include]: Failed opening 'Aitoc/Aitsys/Model/Init/Processor.php' for inclusion (include_path='/home/devel/www/app/code/local:/home/devel/www/app/code/community:/home/devel/www/app/code/core:/home/devel/www/lib:.:/usr/share/php:/usr/share/pear') in /home/devel/www/lib/Varien/Autoload.php on line 93

Fatal error: Class 'Aitoc_Aitsys_Model_Init_Processor' not found in /home/devel/www/app/code/local/Mage/Core/Model/App.php on line 6

At first, I didn't noticed a little detail:

/home/devel/www/app/code/LOCAL/Mage/Core/Model/App.php on line 6

That Aitoc, insolently overwrites Core_Model_App.
So the most important step, for me, is to REMOVE IT, with no mercy.


  1. Hi there, im aitoc uninstall hell, can you please describe further what you did to fix this error? Thanks in advance.

    1. As I remember, I've just removed that file:
      as it was looking for the Aitoc class and it was the only difference between it and the original Mage/Core/Model/App.php

  2. This is very helpful. Thank you so much for sharing!

  3. And one last thing I had to do was flush the cache and everything is working again.

    1. I guess flushing cache is the most frequent thing you do while working with Magento ;)
      Glad I could help.