Magento Forum

   
Message error when modifying a product discounted…
 
lorenzo01
Sr. Member
 
Avatar
Total Posts:  221
Joined:  2007-09-06
France
 

hello,
I receive an error when I modify a simple product which is discounted , after saving product this message appears :

NoticeUndefined offset:  4 in /home.10.16/carreint/www/app/code/core/Mage/CatalogRule/Model/Mysql4/Rule.php on line 238
[0] in Mage_CatalogRule_Model_Mysql4_Rule
->applyAllRulesForDateRange("2008-04-12 00:00:00""2008-04-13 00:00:00"Mage_Catalog_Model_Productin /home.10.16/carreint/www/app/code/core/Mage/CatalogRule/Model/Mysql4/Rule.php on line 371
[1] in Mage_CatalogRule_Model_Mysql4_Rule
->applyToProduct(Mage_CatalogRule_Model_RuleMage_Catalog_Model_ProductArray[1]in /home.10.16/carreint/www/app/code/core/Mage/CatalogRule/Model/Rule.php on line 176
[2] in Mage_CatalogRule_Model_Rule
->applyToProduct(Mage_Catalog_Model_ProductArray[1]in /home.10.16/carreint/www/app/code/core/Mage/CatalogRule/Model/Observer.php on line 41
[3] in Mage_CatalogRule_Model_Observer
->applyAllRulesOnProduct(Varien_Event_Observerin /home.10.16/carreint/www/app/code/core/Mage/Core/Model/App.php on line 987
[4] in Mage_Core_Model_App
->dispatchEvent("catalog_product_save_after"Array[1]in /home.10.16/carreint/www/app/Mage.php on line 276
[5] in Mage
::dispatchEvent("catalog_product_save_after"Array[1]in /home.10.16/carreint/www/app/code/core/Mage/Core/Model/Abstract.php on line 275
[6] in Mage_Core_Model_Abstract
->_afterSave() in /home.10.16/carreint/www/app/code/core/Mage/Catalog/Model/Product.php on line 274
[7] in Mage_Catalog_Model_Product
->_afterSave() in /home.10.16/carreint/www/app/code/core/Mage/Core/Model/Abstract.php on line 235
[8] in Mage_Core_Model_Abstract
->save() in /home.10.16/carreint/www/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 323
[9] in Mage_Adminhtml_Catalog_ProductController
->saveAction() in /home.10.16/carreint/www/app/code/core/Mage/Core/Controller/Varien/Action.php on line 341
[10] in Mage_Core_Controller_Varien_Action
->dispatch("save"in /home.10.16/carreint/www/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 141
[11] in Mage_Core_Controller_Varien_Router_Admin
->match(Mage_Core_Controller_Request_Httpin /home.10.16/carreint/www/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147
[12] in Mage_Core_Controller_Varien_Front
->dispatch() in /home.10.16/carreint/www/app/Mage.php on line 424
[13] in Mage
::run("default"in /home.10.16/carreint/www/index.php on line 40

any helps
thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
lorenzo01
Sr. Member
 
Avatar
Total Posts:  221
Joined:  2007-09-06
France
 

When I click to apply rules, i’ve got this message, this bug does not appear in my previous ver 0.9

NoticeUndefined offset:  27 in /home.10.16/carreint/www/app/code/core/Mage/CatalogRule/Model/Mysql4/Rule.php on line 238
[0] in Mage_CatalogRule_Model_Mysql4_Rule
->applyAllRulesForDateRange("2008-04-14 00:00:00"in /home.10.16/carreint/www/app/code/core/Mage/Adminhtml/controllers/Promo/CatalogController.php on line 230
[1] in Mage_Adminhtml_Promo_CatalogController
->applyRulesAction() in /home.10.16/carreint/www/app/code/core/Mage/Core/Controller/Varien/Action.php on line 341
[2] in Mage_Core_Controller_Varien_Action
->dispatch("applyRules"in /home.10.16/carreint/www/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 141
[3] in Mage_Core_Controller_Varien_Router_Admin
->match(Mage_Core_Controller_Request_Httpin /home.10.16/carreint/www/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147
[4] in Mage_Core_Controller_Varien_Front
->dispatch() in /home.10.16/carreint/www/app/Mage.php on line 424
[5] in Mage
::run("default"in /home.10.16/carreint/www/index.php on line 40

any ideas
thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top