Monday, 16 November 2015

Item (Mage_Catalog_Model_Product) with the same id already exist in magento

 This is my solution
 step 1  Edit : /www/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php
Line: 256

step 2 Replace: return parent::addItem($object);

With: try { return parent::addItem($object); } catch (Exception $ex) { } 

Tuesday, 3 November 2015

There has been an error processing your request admin panel in magento

step 1  main directory in tmp folder create
step 2  tmp folder Set directory permissions to 777 or 755
step 3 Open “lib/Zend/Cache/Backend/File.php“
step 4 locate the following code

protected $_options = array( ‘cache_dir’ => null

and replace with

protected $_options = array( ‘cache_dir’ => ‘tmp’

sqlstate hy000 1045 access denied for user localhost using password yes in magento

step 1   change local.xml.sample to local.xml
stpe 2   change the detabese user name and password