I get a fatal error when trying to instantiate a Model in Magento and call method load().
I’ve just config the resource model and maybe my config.xml is not well-formed.
<config>
<frontend>
<routers>
<weblog>
<use>standard</use>
<args>
<module>Mypack_Weblog</module>
<frontName>weblog</frontName>
</args>
</weblog>
</routers>
</frontend>
<global>
<models>
<weblog>
<class>Mypack_Weblog_Model</class>
<resourceModel>weblog_mysql4</resourceModel>
<weblog_mysql4>
<class>Mypack_Weblog_Model_Mysql4</class>
</weblog_mysql4>
</weblog>
</models>
</global>
</config>
I’m a beginner and spent many hours on it : please, help !
The resource model doesn’t go inside the other model.