Hi,
I had a little problem with the rewrite config from the xml (regarding the cron jobs).
Following script:
<?php
require_once __DIR__ . '/../../../htdocs/app/Mage.php';
Mage::app();
$model = Mage::getModel('catalogrule/observer');
$observer = null;
$model->dailyCatalogUpdate($observer);
With your config magento tries to load the file "Chuvisco_CatalogRuleFix_Model_Resource_Rule_Rule"
(duplicate Rule).
I changed the config to:
<global>
<models>
<catalogrule>
<rewrite>
<action_index_refresh>Chuvisco_CatalogRuleFix_Model_Action_Index_Refresh</action_index_refresh>
</rewrite>
</catalogrule>
<catalogrule_resource>
<rewrite>
<rule>Chuvisco_CatalogRuleFix_Model_Resource_Rule</rule>
</rewrite>
</catalogrule_resource>
</models>
</global>
That works for the rule part.
Hi,
I had a little problem with the rewrite config from the xml (regarding the cron jobs).
Following script:
With your config magento tries to load the file "Chuvisco_CatalogRuleFix_Model_Resource_Rule_Rule"
(duplicate Rule).
I changed the config to:
That works for the rule part.