Installing Joomla Extensions - FTP protection issues

I'm currently learning how to develop Joomla extensions and spent the entire day yesterday trying to upload a Hello World module to my test server. I've had issues uploading Joomla extensions in the past, but this was the worst. As usual it was a Unix issue, not a Joomla issue though. These issues are described other places, so I'm just recording the basics of what I had to do here.

I was getting the following error when trying to upload the module

Error! Could not find a Joomla! XML setup file in the package.

Warning: file_get_contents(/..../joomla/tmp/install_4a09e3c4e12de/mod_testextension.xml) [function.file-get-contents]: failed to open stream: Permission denied in /....joomla/libraries/domit/xml_domit_lite_parser.php on line 1082

Unable to find install package

When I looked at the tmp directory, the files had been uploaded, but the protection was 640, so while the upload itself worked, the module couldn't be installed. Figuring out why took forever since I had never heard of an FTP protection mask (never set up FTP myself). My server is running on OSX so to fix this I had to create an FTP configuration file in /etc/ftpd.conf with the following single line.

umask all 002

I'm not sure yet if this is the correct way to fix this problem, but it got me working for the moment. I also saw mention of the apache suphp module which I suspect is a better way. I read enough to realize it will be a pain to configure it, so this is a collection of URLs to review later:




White screen during Joomla component install

With the new version of Joomla (1.5.2) I now have trouble installing some components using "Extensions/Install-Uninstall/Upload Package File". All I get is a white screen with no messages or errors. I did find a workaround though:

Read more: White screen during Joomla component install