I'm trying to update from 1.7.0.2 to 1.9.0.1
I tried to update from Magento Connect and by ./mage scripts.
Then I found this roadmap and today morning I also tried this way.
By all the ways, when I call the URL of my site I get immediately a blank page and this error in the apache log:
PHP Fatal error: Call to a member function getAllOptions() on a non-object in /home/MYSITE/19_www/app/code/core/Mage/Core/Model/Cache.php on line 478
Searching the web someone speak about a problem with Aitoc extensions which should be updated.
This could be my case so in the morning I also try to delete all Aitoc and AdjustWare modules by removing folders in /app/code/… and removing xml files from /app/etc/modules.
After that I get this error:
PHP Fatal error: Class 'Aitoc_Aitsys_Model_Rewriter_Autoload' not found in /home/MYSITE/19_www/app/code/local/Mage/Core/Model/App.php on line 6
So It seems that Aitoc modules are anyway loaded or requested.
Could someone help me?
Best Answer
It appears that you have local copies of core files which will make it tough to upgrade.
app/code/local/Mage/Core/Model/App.php
is mentioned in one of the error messages that you have posted.What I would suggest is check all the local core files so that you know what modifications you have made and why. Make a note of these as you will need to re-make these changes later on. Then simply remove all the files under
/code/local/Mage
then you should have a "clean" install of 1.9 that is working, if all extensions install are compatibly.After you have a clean version of 1.9 then I would suggest re-making all the modifications you have made under local, but try to use rewrites and events where possible rather the coping the complete file under the local code pool.