magento - Fatal error: Undefined class constant 'ACTION_FLAG_PRODUCTS_PERMISSION_DENIED' OrderController.php -


in magento dash board while opening sales/orders in dashboard displaying orders when click open i'm getting

error : " fatal error: undefined class constant 'action_flag_products_permission_denied' in  /app/code/core/mage/adminhtml/controllers/sales/ordercontroller.php on line 119" 

and sales/invoices empty in dashboard

there update in magento 1.8 changed viewaction in app/code/core/mage/adminhtml/controllers/sales/ordercontroller.php call mage_sales_model_order::action_flag_products_permission_denied. in magento 1.7, wasn't case.

this change relates constant added app/code/core/mage/sales/model/order.php - const action_flag_products_permission_denied= 'product_permission_denied'; on line 359.

i'd guess, in instance, you've updated one, not other. please ensure both updated in core. alternatively, rewriting mage_sales_model_order , hasn't (or has incorrectly) implemented constant.


Comments