drupal

How to know when it's too early to upgrade your software

Submitted by reeses on Mon, 2007-01-29 13:46. |

Hint, it's best to wait for a point release when the upgrade instructions consist of "It's probably best to upgrade to 4.7 before upgrading to 5.0. You should disable your contributed modules and themes first. You should not upgrade it in place because the directory structure has changed. Oh yeah, and for more detail, watch this videocast of mumbling quietly through the installation while typing in a transparent terminal."

Drupal 4.7.0 released

Submitted by reeses on Wed, 2006-05-03 11:14. |

This had to have been the most painful web/db/php-based software upgrade ever.

$ cp drupal/sites/default/settings.php .
$ tar zxf drupal-4.7.0.tar.gz
$ cd drupal-4.7.0
$ cp -r * ../drupal
$ cp ../settings.php ../drupal/sites/default

And then, I had to hit update.php. Sheesh.

Blogger import into Drupal

Submitted by reeses on Wed, 2006-04-05 04:38. |

I succeeded (more or less) in importing my ancient Blogger posts into Drupal.

I used this guide as a base, but the database format has changed significantly with Drupal version 4.7. node and node_revisions have been broken out into two tables, making the SQL generated by the php template not work. As a result, I had to change it slightly, to the following:

<?php
$nid = 213;
<Blogger>
$iid = '<$BlogItemNumber$>';
$nid++;
$node=array();