0

I did not work with Magento before. For the purpose of a new task(migrate data from Magento to some other system), I created a new fresh installation of Magento.

Following docs, I installed sample data first and then Magento 1.9.3.6.

Followed this article. After I created /package/module/etc/config.xml and app/etc/modules/package_Module.xml with content that is provided in the example. I got an error:

Fatal error: Call to a member function getIdFieldName() on boolean in /home/zeljko/projects/magento/app/code/core/Mage/Core/Model/Abstract.php on line 151

And if the cache is removed I got:

Fatal error: Call to a member function getAllOptions() on boolean in /home/zeljko/projects/magento/app/code/core/Mage/Core/Model/Cache.php on line 478

As much as I could investigate problem comes from app/Mage.php line 515 method getResourceSingletone which returns false.

Files in my module are the same as in the example from that link above. I checked a few times everything follows the naming convention.

Because this is my first Magento install I have to ask:

What is wrong?

  • there can be any Type O,it would be better if you can double check the file/direcory name with standards.If you can share the custom module code then we can get more hints. – Knight017 Mar 26 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.