-
- e_mick

-
Total Posts: 8
Joined: 2008-04-10
Melbourne, Australia
|
I still have the Sample Data installed, and am experimenting with adding a Category (having already done some customization, and wanting to see just how fully-functional the store is before spending time doing any more).
I go through the Admin Add Category steps, with ALL STORE VIEWS selected, and create a category that is ACTIVE (YES) | ANCHOR (YES) | DISPLAY MODE (PRODUCTS ONLY).
When I click SAVE CATEGORY I am always getting this error:
Fatal error: Uncaught exception ‘Zend_Db_Statement_Exception’ with message ‘SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘entity_id’ cannot be null’ in W:\www\lib\Zend\Db\Statement\Pdo.php:238 Stack trace: #0 W:\www\lib\Zend\Db\Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 W:\www\lib\Zend\Db\Adapter\Abstract.php(406): Zend_Db_Statement->execute(Array) #2 W:\www\lib\Zend\Db\Adapter\Pdo\Abstract.php(206): Zend_Db_Adapter_Abstract->query(’INSERT INTO `ca...’, Array) #3 W:\www\lib\Zend\Db\Adapter\Abstract.php(484): Zend_Db_Adapter_Pdo_Abstract->query(’INSERT INTO `ca...’, Array) #4 W:\www\app\code\core\Mage\Catalog\Model\Resource\Eav\Mysql4\Abstract.php(112): Zend_Db_Adapter_Abstract->insert(’catalog_categor...’, Array) #5 W:\www\app\code\core\Mage\Eav\Model\Entity\Abstract.php(1173): Mage_Catalog_Model_Resource_Eav_Mysql4_Abstract->_insertAttribute(Object(Mage_Catalog_Model_Category), Object(Mage_Catalog_Model_Resource_Eav_Attribute), ‘axles_M8_150x15...’) #6 W:\www\app\code\core\Mage\Catalog\ in W:\www\lib\Zend\Db\Statement\Pdo.php on line 238
I hope someone can shed some light on this.
|