Magento Collection on Mysql4 = No such file or directory -
in downloaded module there specific phone call mage::getmodel('module/statistic_collection')
, gives me failed open stream: no such file or directory
error path namespace/module/model/statistic/collection.php
exists in namespace/module/model/mysql4/statistic/collection.php
. how can tell magento need add together mysql4
folder ?
you have 2 options:
mage::getresourcemodel('module/statistics_collection')
or
mage::getmodel('module/statistics')->getcollection()
magento
No comments:
Post a Comment