Steve Oliver's blog

Mercury is setup. Now what?

After setting up mercury, importing my site (kinda), and switching Cache mode to External, I'm now getting some Varnish HITs...

Hudson import_site (Mercury) job

While using Hudson's **import_site** (Mercury) job to import my Pressflow site into my new Mercury server, I came across the following issues:

1. At first, I thought I'd be able to point the TARBALL argument to a remote http:// url.  This did not work.  I had to point to a local location.

2. Then I had to point to the untarred location, instead of the .tar file.  (When pointing to my .tar file, I got this error: `Fatal error: Archive file "http://www.example.com/myarchive.tar" does not exist.`).

Working with Git submodules

So I've got all my contrib and custom modules and themes as git submodules within a plain Pressflow installation ... Today I learned that after I add all my submodules, push the entire (parent) project to "origin" or "collab", and then clone it down somewhere else, in the new location I have to run `git submodule init` and `git submodule update` to have each of the git submodules populate themselves.

This is because the parent repo, which I just cloned, only has a 3-part reference to the submodules: each of their (1) git origin/source, (2) relative path, and (3) last commit.

pantheon mercury hudson and crap

Following instructions at http://groups.drupal.org/node/115654:

  1. # git clone git://github.com/boztek/mercury.git -b linode /opt/pantheon
  2. # cd /opt/pantheon
  3. # python setup.py ...

Fatal error: local() encountered an error (return code 1) while executing 'cp apt.pantheon.list /etc/apt/sources.list.d/pantheon.list'

Why won't my site send mail!?

After moving my sites to KnownHost, my Drupal sites (6 and 7) aren't sending emails out..  On the site for which I actually could remember my password, I eventually got it to send mail by enabling (with some config trouble) the SMTP module.  Now for this one....  sendmail works...  php's mail() works... WTF?

Pressflow dog

Pressflow dog

I set up a private git server for my projects

Created my project

I checked out pressflow/6.git

renamed tracking remote 'origin' to 'upstream'

created new tracking remote 'collab' pointing to my project repo on private git server

... now, i need to:

Multiple Forms on One Page

I noticed a bug on my page where one form in a block was being submitted to another form that was in the body of the page.

By default, when a form has no "#action" defined in the $form array, it will post to itself--on whichever page it is displayed--and magically work :)

But when you have more than one form on one page, make sure each form has an #action property set to a valid menu callback that routes back to drupal_get_form for each form.

:)

Looking Forward to Development in Drupal (7 and 8) with Git, Drush, and ...Eclipse?

Beginning my Drupal 7 development today with a git clone of drupal, and setting up my local development environment with MAMP and Drush, I am glad to be started with Drupal 7 and excited to have that 8.x branch enticing me on, too.  I know git will help ease the pain of site and multi-site maintenance against the latest Drupal releases, and Drush (4.x) will help blast through build, deployment, and management chores.

Reminder: Disable Profile Module to see *Content* Profile Fields

In migrating from [Drupal core's] Profile module to [Drupal contrib] Content Profile module, I was not seeing the new Content Profile fields display in the output of the Panel Page to which I added them ... until:

  1. I created the 'Content Profile' Relationship Context, and 
  2. I disabled the Drupal core Profile module.

Funny Drupal Taxonomy Term (ID)s

I find it funny that the taxonomy term ids on drupal.org, for some older versions of Drupal, happen to match those versions' numbers.

Drupal 4.5.x tag is at http://drupal.org/taxonomy/term/45

Drupal 4.6.x tag is at http://drupal.org/taxonomy/term/46, and

Drupal 4.7.x tag is at http://drupal.org/taxonomy/term/47

Syndicate content