i am trying to setup magento site in my local windows 10 system. i was downloaded the entire content and database from LINUX server into my local. when try to open admin URL link getting below issue. Please suggest.
a:4:{i:0;s:42:"Invalid response: HTTP/1.1 400 Bad Request";i:1;s:1322:"#0 C:\xampp\htdocs\live\lib\Credis\Client.php(538): Credis_Client->read_reply('select')
#1 C:\xampp\htdocs\live\lib\Credis\Client.php(440): Credis_Client->__call('select', Array)
#2 C:\xampp\htdocs\live\lib\Cm\Cache\Backend\Redis.php(117): Credis_Client->select(0)
#3 C:\xampp\htdocs\live\lib\Zend\Cache.php(153): Cm_Cache_Backend_Redis->__construct(Array)
#4 C:\xampp\htdocs\live\lib\Zend\Cache.php(94): Zend_Cache::_makeBackend('Mage_Cache_Back...', Array, true, true)
#5 C:\xampp\htdocs\live\app\code\core\Mage\Core\Model\Cache.php(137): Zend_Cache::factory('Varien_Cache_Co...', 'Mage_Cache_Back...', Array, Array, true, true, true)
#6 C:\xampp\htdocs\live\app\code\core\Mage\Core\Model\Config.php(1354): Mage_Core_Model_Cache->__construct(Array)
#7 C:\xampp\htdocs\live\app\Mage.php(463): Mage_Core_Model_Config->getModelInstance('core/cache', Array)
#8 C:\xampp\htdocs\live\app\code\core\Mage\Core\Model\App.php(401): Mage::getModel('core/cache', Array)
#9 C:\xampp\htdocs\live\app\code\core\Mage\Core\Model\App.php(295): Mage_Core_Model_App->_initCache(Array)
#10 C:\xampp\htdocs\live\app\code\core\Mage\Core\Model\App.php(337): Mage_Core_Model_App->baseInit(Array)
#11 C:\xampp\htdocs\live\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#12 C:\xampp\htdocs\live\index.php(87): Mage::run('', 'store')
#13 {main}";s:3:"url";s:21:"/live/index.php/admin";s:11:"script_name";s:15:"/live/index.php";}
Comment the cache section from your
app/etc/local.xmlfile. The cache section will be as below.It is trying to connect to the cache server which is mentioned in
local.xmlfile. I think you took code of production setup and trying to setup in local environment. As you don't have cache in your local setup, it is unable to find the related details. Comment the cache section and clear thevarfolder. Then it is done.