Now I try to run compiler but I get this weird error
Fatal error: Class Mage_Sales_Model_Mysql4_Abstract contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Mage_Core_Model_Resource_Abstract::_construct)
Hello,
I had the same problem
I added ”abstract” before class (file app\code\core\Mage\Sales\Model\Mysql4\Abstract.php)
like that :
abstract class Mage_Sales_Model_Mysql4_Abstract extends Mage_Sales_Model_Resource_Abstract
and it works
This is definitely a bug in Mage_Sales_Model_Mysql4_Abstract
It is used only if you have a module installed that rewrites one of the original sales resource models, otherwise this bug will not bite.
Adding the abstract keyword to the class is the correct fix.
When i compile/re-enable the compiler everything seems ok from Admin, but soon as i go back to the live site and anyone tries to add a product to the shopping card they just get a blank white screen and nothing else. There is no way to access the cart or checkout :(
I cleared the cache and reindexed all several times now and still get the same issue.
For the meantime i have disabled the compiler so that the store can be used, but i have no idea how to fix this issue. Does anyone have any good pointers?
I upgraded from 1.5.0.1 to 1.6. Everything was working fine on 1.5.0.1.
No i have not tried switching to the default theme. My current theme, was originally the default theme with a different look and feel. Also i only run a few extensions (none shopping cart/checkout related).
I dont have a sandbox/test version of the site to play with, so changing themes and recompiling could cause alarm (in terms of it looking different) to any online shoppers.
This is definitely a bug in Mage_Sales_Model_Mysql4_Abstract
It is used only if you have a module installed that rewrites one of the original sales resource models, otherwise this bug will not bite.
Adding the abstract keyword to the class is the correct fix.
This is definitely a bug in Mage_Sales_Model_Mysql4_Abstract
It is used only if you have a module installed that rewrites one of the original sales resource models, otherwise this bug will not bite.
Adding the abstract keyword to the class is the correct fix.
Care to submit a patch to the CE repos Brent?
Vinai
It works for me. Thanks!!!
@rrroulio how do you add abstract keyword to the class?
When i compile/re-enable the compiler everything seems ok from Admin, but soon as i go back to the live site and anyone tries to add a product to the shopping card they just get a blank white screen and nothing else. There is no way to access the cart or checkout :(
I cleared the cache and reindexed all several times now and still get the same issue.
For the meantime i have disabled the compiler so that the store can be used, but i have no idea how to fix this issue. Does anyone have any good pointers?