I’m currently working on a FIA-NET module for magento (a french anti-fraud system)
But I can’t progress since I don’t understand why i systematically get this error when I try to save my model in database :
Fatal error: Call to a member function beginTransaction() on a non-object in /var/www/magento/app/code/core/Mage/Core/Model/Resource/Abstract.php on line 57
I have created a class in Model/Fianet/Catproduct/Association.php
then I have created the associated Mysql4 Model in :
I also have created a page which contain a form in order to associate Magento’s categories to our product type.
But when I try to use my class in the page controller I get the error message :
$catproductModel = Mage::getModel('fianet/fianet_catproduct_association');
Here is the related config.xml part :
I joined the current module I have done, I someone can help me because i’m looking since 3 days for that.