Update
when I enabled log (System -> Configuration -> Developer -> Log), I saw these on system.log
2014-07-31T20:08:58+00:00 ERR (3): Warning: fopen(): Filename cannot be empty in /private/var/web/magento152/downloader/lib/Mage/Connect/Package/Reader.php on line 119
2014-07-31T20:08:58+00:00 ERR (3): Warning: get_resource_type() expects parameter 1 to be resource, boolean given in /private/var/web/magento152/downloader/lib/Mage/Connect/Package/Reader.php on line 140
2014-07-31T20:08:58+00:00 ERR (3): Warning: fclose() expects parameter 1 to be resource, boolean given in /private/var/web/magento152/downloader/lib/Mage/Connect/Package/Reader.php on line 123
ps: I get this error when I want to upload/install package file (Eightdigits_MarketingSuite-1.0.0.tgz)
I changed the method (Reader.php line 119) to
protected function _readFile()
{
$data = '';
if ($this->_file) {
$handle = fopen($this->_file, 'r');
try {
$data = $this->_loadResource($handle);
} catch (Mage_Exception $e) {
fclose($handle);
throw $e;
}
fclose($handle);
}
return $data;
}
When I tried upload again, now console printed out
CONNECT ERROR: Package file is invalid
Invalid package name, allowed: [a-zA-Z0-9_-] chars
Invalid version, should be like: x.x.x
Invalid stability
Invalid date, should be YYYY-DD-MM
Invalid channel URL
Empty authors section
Empty package contents section
this time system.log did not give any more logs on this issue... I assume it was not able to read package.xml file inside tgz file. I checked the package file and it has package.xml and looks like right. I have also tried package that was generated by Magento itself (using magento admin Package Extensions)
same environment if I try to install with Magento Connect, I get this error (now I cannot also install with Magento Connect, but today I installed at least on our test environment without problem)
CONNECT ERROR: Package 'Eightdigits_MarketingSuite' is invalid
Empty package contents section
Here also I do not get any error log on system.log file.