19th Street Design is now Greg Willis Industries!

Head on over to the new website for updated information and the new contact form. I'll keep this old website up until the summer of 2012. Make sure you update your links to the new site. Thanks!

Drupal 6

Gallery2 "Error (ERROR_MISSING_OBJECT) : Parent 7 path" Error

I've got an embedded Gallery2 installation within my Drupal website at greg-willis.com/gallery. Once configured, it runs along pretty smoothly. But setting it up can be a bear -- especially if you want those SEO friendly clean URLs. It's been my experience on a couple of different servers that you have to tweak the main .htaccess file to get everyone playing nicely.

Tags: Debugging | Drupal 5 | Drupal 6 | Gallery2

Installing Apache Solr on Drupal 6

One of the sessions that most interested me at the Do It With Drupal thing in December 08 was Drupal Search Options led by Robert Douglas. He spoke mostly about Apache Solr and how it can be an alternative to Drupal's core search. In addition to being faster and more accurate than core search, it can perform a faceted search (like eBay, Amazon, or any number of retailer have).

A big caveat for Apach Solr in Drupal, however, is the Java requirement. Ya gotsta have Java on your server to this thing to work. In my old hosted server, I was SOL. But since I've moved to Slicehost, I can install pretty much whatever I want. So first-up on the weird-things-I-want-on-my-websites list was the Apache Solr search on my Drupal sites.

And yes I installed it and yes it works (try the search at greg-willis.com. But I didn't find any tip-to-tail installation information, so I thought I'd add my experience to help anyone looking to do what I did. The whole shebang is below the fold...

Tags: Drupal 6 | Search | Slicehost | Web Server

Imagecache Not Creating Directories After Upgrade

After upgrading a site from D5 to D6, I installed the imagecache module to better handle my thumbnails, but it wasn't working. I had created a preset, created an imagefield, selected the preset in the display fields -- but Drupal created neither the image files nor the directories. Both /files and /temp were 777.

So in /admin/settings/file-system I created a new /files_temp directory. Turns out the .htaccess file was different. I copied the new /files_temp/.htaccess over the old /files/.htaccess, switched the /admin/settings/file-system directory back to the old /files, and it worked.

To save all that back-and-forth, just replace the contents of the old .htaccess file:

Options None
<IfModule mod_rewrite.c>
RewriteEngine off
</IfModule>

with the contents of the new one:

Options None
Options +FollowSymLinks

Tags: Drupal 6 | Imagecache | Upgrading
Syndicate content