Mac OS X Global Environment Variables
Posted June 27th, 2008 by ssextonHaving just spent way too long (couple hours) figuring out how to set environment variables on Mac OS X 10.5 in such a way that they were accessible from a bundled Java application (specifically, M2_HOME in IntelliJ so that the Maven integration would work 100%), I'm writing this up so that 1) I don't have to remember it later, and 2) to possibly save other folks the hassle.
For the impatient, the solution is
1) edit /etc/launchd.conf to contain a line like this:
setenv M2_HOME /opt/maven/2.0.9
2) reboot
Your environment variable will now be accessible in every possible context (that I could find) in which you can run your application. There are other ways to do this, but none of them worked for me. If you're interested in the details, read on.
Drupal Tip: Forcing cron to get un-stuck
Posted February 3rd, 2008 by ssextonI just wasted the better part of an hour trying to troubleshoot a "cron run failed" error on one of my Drupal sites (oddly, only one of four was affected). Trying to run cron manually from the status page gives a "cron run failed" error, and looking at the "Recent log entries" (aka watchdog, apparently) showed a message "Attempting to re-run cron while it is already running".
GoDaddy + Drupal : How it went for me
Posted February 2nd, 2008 by ssextonThere is a bit of frustration with trying to get Drupal working on a GoDaddy Linux shared hosting plan, specifically the "Clean URLs" feature. I don't pretend to understand it, but in case anyone else is struggling with this, here's how it went for me:
1. For starters, I was porting an existing Drupal from another site over to GoDaddy. The previous installation had "Clean URLs" working fine.
2. I moved the code over to GoDaddy, updated the database settings, and was happy to see the home page come up.
3. Sadly, that is ALL that would come up. Any other link gives a 404 Error page.
New Web Host (again)
Posted February 2nd, 2008 by ssextonSwitched to a new web host (again). The last one had a nasty habit of going down 2-3 times a week due to "server overload". I'm now on a new host, keeping my fingers crossed.
New Web Host
Posted August 8th, 2007 by ssextonThis site has been moved to a new web host. So far I'm pretty happy with them, and the nicest thing I can say about the old host, is nothing at all ( as in "if you have nothing nice to say, don't say anything at all" ).
As part of the move, the Products link no longer works. I never finished converting that one over to the new site layout, and I couldn't see bringing the old baggage over to the new host.