Magento – Exception during cache and session cleaning

ce-1.9.3.1exceptionmagento-connect-manager

Every time, I install an extension through Magento Connect Manager I get the following error:

Exception during cache and session cleaning

I tried running Magento Cleanup file and then try again.

also tried downloader/lib/Mage/Archive/Helper/File/Gz.php in your Magento directory and replace

$this->_fileHandler = @gzopen64($this->_filePath, $mode);

Still having issue; my Php Version is 5.5 if that helps and my host is Site Ground. I am lost why I am getting this error. Nothing in the logs either.

EDIT

Here is a screenshot of this error; I tried other extensions same thing

enter image description here

Best Answer

Solution:

All you have to do is go to downloader/Maged/Connect.php, find

var response = transport.responseJSON || transport.responseText.JSONeval(true) || {};

replace it with:

var response = transport.responseJSON || JSON.parse(transport.responseText) || {};
Related Topic