Monday, December 21, 2009
Slept in. 1 citrus olive oil cookie. Configured Patrick's computer to automount the CrashPlan local backup drive on a schedule. If I restart my computer, that drive doesn't automatically mount on his. I think due to the way our network is set up it cannot be added to his login items, so a simple script and crontab entry is required instead. Usual oatmeal breakfast. Housecleaning and tidying. Updated Drupal core to 6.15 for Patrick's website. Troubleshot a problem in which connecting my iPhone to my computer doesn't start iTunes even though the proper checkbox is selected in iTunes. I found in Image Capture that I can specify what application should open when my iPhone is connected, but if i set that to iTunes and quit Image Capture the problem remains. If I then start Image Capture again, the setting changes have reverted to open no application when connecting the iPhone. I downloaded and reinstalled iTunes 9.0.2. This resolved the problem for me. Time Machine error "An error occurred while creating the backup folder." and "Error: (-36) Creating directory" and "Couldn't create backup directory for computer name [computername]" and "Backup failed with error: 2". Restarted the iMac. Ran Disk Utility's Repair Disk on the drive. This seemed to fix the problem. Configured my computer to push sites live without requiring a password using SSH keys and rsync. Snack: leftover cocktail shrimp from the Recharge Spa party. Did some website archiving and MAMP Pro configuring. Dinner at home with Patrick: blue shell tacos with salmon, organic refried beans, brown rice spanakorizo, hot water. With MAMP PRO, I kept opening websites and receiving a dialog from Firefox: "You have chosen to open..." and "application/x-httpd-php". It took me a long time to resolve this. Normally this means that PHP is not running, but I knew mine was because the PHP info page displayed as expected in MAMP PRO. To resolve this, I needed to clear my web browser cache, and alter the appropriate .htaccess files in my site to no longer say "AddHandler application/x-httpd-php5 .php" (e.g., delete the 5 or comment out the whole line). Another problem that took me a long time to resolve was using rsync to transfer files from a folder on my Linux-based web hosting provider's server to my Mac running 10.6.2 where some of the filenames had special characters. After much trial and error, the rsync settings that worked for me were "-s --iconv=utf8,iso88591"—this command was run on my Mac. Before I figured this out, I had mistakenly thought that the iconv syntax was SOURCE,DESTINATION but instead it is LOCAL,REMOTE. Another problem I figured out was that the httpd.conf for MAMP PRO is not in /Applications/MAMP/conf/apache—instead it's in /Applications/MAMP PRO/MAMP PRO.app/Contents/Resources. The problem I had was that favicons were displaying with a MAMP favicon instead of my own favicons. Commenting out the favicon line in the httpd.conf, restarting the services, and emptying browser caches fixed it for me. Deleted links to my Amazon and ThinkGeek wish lists—those feeds are broken. Checked in on work email for about 30 minutes even though I'm on vacation.