i'm trying to install a magento extension in magento 1.8.1 community edition, but magento connect hangs at installing extension. the package is downloaded into the app/code folder, but doesn't appear to go any further. no error log entries created (there's an existing system.log, but no exception.log).
i've reset permissions per: http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions
then i tried too install manually with "./mage install http://connect20.magentocommerce.com/community [name_of_module]"
but downloader/lib/Mage/Connect/Command/Install.php on line 71-73 sets up $config->magento_root=dirname(dirname($_SERVER['SCRIPT_FILENAME'])); but the value seems to be blank (I'm guessing magento connect configures that somewhere)
how can i get either magento connect to work, or alternatively manually install the extension?