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!

Upgrading

Apache Solr Upgrade Wierdness

On my greg-willis.com website I've got the Apache Solr Search Integration module set up and working as my search and 'related content' engine. In my recent upgrade frenzy, I upgraded to the 6.x-1.0-rc1 version and promptly busted it. Since I became busy with projects that actually paid money, I disabled the module and life went on. But I had a break today and figured it out.

The Error:
After I upgraded when I went to admin/settings/apachesolr I received a php error that referenced a missing SolrPhpClient/Apache/Solr/Service.php.

The Solution:
I found the solution on an install page, Step 4 of 9 Installing “Apache Solr Search Integration” Drupal module (surprisingly enough). In terminal, enter:
svn checkout -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient
This will install the needed SolrPhpClient/Apache/Solr/Service.php file. Hope this helps.

Tags: Apache Solr | Upgrading

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