Drupal Mass Mailer Module Bug

99

I love Drupal.

It’s fabulous software. It’s the only cms (content management software) I’ve ever used that actually functioned how I wanted it to function. All of the features for it and all the add-ins for it behave exactly as you would expect, which is a LOT more than you can say for most other CMS’s.

However, I found a bug.

No, of course not in the core of drupal. The core of drupal is pretty rock solid.

The bug was in the mass mailer module, written to allow drupal to interface with phplist, an open source mailing list management software package (a very good one).

Apparently there have been quite a few people who have had a hard time installing and getting massmailer to work, because Will wrote a How to install the Mass Mailer tutorial over on the drupal website.

Now, most drupal modules are easy to install. This one isn’t.

However, after following the directions, and not getting it to work, I started debugging.

I’ve done this before. Had a problem with some software package and tried all kinds of stuff to get it to work and couldn’t figure it out…so I started debugging.

The difference was that this time I found a bug. Every other time, I either got frustrated with how the code just went in circles or how everything seemed to work correctly.

The bug was in line 62 of the config.php file that’s distributed with massmailer. It’s in the massmailer/engines/phplist/config.php file.

The line was:

$database_host = $db_info['host'] ‘:’ $db_info['port'];

Which gives you a parse error.

The line should be:

$database_host = $db_info['host'] .’:’. $db_info['port'];

Which makes the whole program run correctly.

This is a great piece of code by Aaron Welch. It’s super useful and very well done. It just had a simple bug. I’m guessing not everyone got the same version of the config file I got because others have gotten the module to work out of the box.

The reason I post this whole story is because I’ve never actually had this sort of experience before. I’m a pretty good php programmer. I’m not the best. However, I have done my fair share of programming. But this was the first time I spent a few hours debugging someone elses stuff and found a bug in it that I fixed and got the whole thing to work.

I’m basically just shocked that I found a bug. Not that I found a bug. That I found a BUG.

Filed under Technology by  #

Pings on Drupal Mass Mailer Module Bug

2/3/2012
2/4/2012
2/5/2012

Comments on Drupal Mass Mailer Module Bug Leave a Comment

10/23/2005

t.a. barnhart @ 5:20 pm #

----

andrew morton @ 7:00 pm #

----

10/27/2005
5/22/2007

OSLinux @ 6:56 am #

----

1/18/2012

Alegro @ 3:13 am #

----

1/21/2012

Pat Laffoon @ 11:29 pm #

----

1/22/2012

Leta Iribarren @ 11:46 pm #

----

1/23/2012

----

1/24/2012

Shala Cassiano @ 4:10 am #

----

1/25/2012

----

1/26/2012

----

1/27/2012

----

1/28/2012

----

1/30/2012

cumberbuns @ 12:09 am #

----

----

1/31/2012

Carlie Kaskey @ 2:01 am #

----

2/1/2012

Efterskole @ 2:43 pm #

----

Tour India @ 8:24 pm #

----

----

2/2/2012

nyc car service @ 12:39 am #

----

efterskoleliv @ 9:44 am #

----

----

Bibi Dew @ 1:50 pm #

----

----

----

2/3/2012

----

a928280 @ 1:11 pm #

----

----

----

kız oyunu @ 9:37 pm #

----

photo painting @ 10:12 pm #

----

2/4/2012

----

modern rug @ 2:15 am #

----

free sex @ 2:52 am #

----

liseli porno @ 4:06 am #

----

----

----

Labs @ 12:42 pm #

----

Rudolf Aguirre @ 1:07 pm #

----

----

----

2/5/2012

Marion @ 3:40 am #

----

----

Edward Mcintosh @ 11:24 am #

----

hot tub gazebo @ 12:25 pm #

----

Triglyceride @ 2:14 pm #

----

Pa Blanda @ 5:37 pm #

----

----

----

sikiÅŸ izle @ 10:02 pm #

----

----

----

Kacy Beltrami @ 11:49 pm #

----

----

2/6/2012

balustrady @ 12:26 am #

----

----

roksa @ 1:34 am #

----

headphones @ 2:19 am #

----

bayan escort @ 4:29 am #

----

sex cams @ 6:34 am #

----

John @ 7:00 am #

----

Carlton Farm @ 7:12 am #

----

Jewel Kreger @ 8:01 am #

----

David Goodgine @ 8:25 am #

----

----

----

lit parapluie @ 10:38 am #

----

----

E-Zigaretten @ 11:19 am #

----

singles @ 12:02 pm #

----

Leave a Comment

Fields marked by an asterisk (*) are required.


eight + = 17

Register Login

Switch to our mobile site