Drupal Mass Mailer Module Bug

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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.

99 comments on this post.
  1. t.a. barnhart:

    ----

  2. andrew morton:

    ----

  3. admin:

    ----

  4. OSLinux:

    ----

  5. Alegro:

    ----

  6. Pat Laffoon:

    ----

  7. Leta Iribarren:

    ----

  8. Camellia Repenning:

    ----

  9. Shala Cassiano:

    ----

  10. Marcela Fitchett:

    ----

  11. Suzette Pittman:

    ----

  12. Cassondra Hurley:

    ----

  13. Ammie Helmstetler:

    ----

  14. cumberbuns:

    ----

  15. Evangelina Vero:

    ----

  16. Carlie Kaskey:

    ----

  17. Efterskole:

    ----

  18. Tour India:

    ----

  19. custom glass etching:

    ----

  20. personal trainer certification:

    ----

  21. nyc car service:

    ----

  22. efterskoleliv:

    ----

  23. womens boot camp:

    ----

  24. Bibi Dew:

    ----

  25. boot camp business:

    ----

  26. personal trainer certification:

    ----

  27. jobs in nutrition:

    ----

  28. operate a fitness boot camp business:

    ----

  29. personal trainer certification:

    ----

  30. Download HD Desktop Games Wallpapers:

    ----

  31. kolon kanseri belirtileri:

    ----

  32. Herschel Brunskill:

    ----

  33. fitness marketing coach:

    ----

  34. personal training business:

    ----

  35. personal trainer business:

    ----

  36. a928280:

    ----

  37. I've said that least 928280 times:

    ----

  38. Net Games:

    ----

  39. Best Games:

    ----

  40. istanbul rent a car:

    ----

  41. destination wedding:

    ----

  42. kız oyunu:

    ----

  43. Accident Attorney Philadelphia:

    ----

  44. photo painting:

    ----

  45. Bank Owned Homes Altamonte Springs:

    ----

  46. personal trainer marketing coaching:

    ----

  47. marketing for personal trainers:

    ----

  48. marketing information for personal trainers:

    ----

  49. agen bola sbobet:

    ----

  50. modern rug:

    ----

  51. free sex:

    ----

  52. liseli porno:

    ----

  53. Internet Games:

    ----

  54. Cheap Bike Jerseys:

    ----

  55. Internet Game:

    ----

  56. LittleBlueKangaroo:

    ----

  57. Labs:

    ----

  58. Rudolf Aguirre:

    ----

  59. Internet Games:

    ----

  60. billiga webbhotell:

    ----

  61. Stefani Levenstein:

    ----

  62. Nikon D5100 vs Canon T3i:

    ----

  63. how to become a public speaker:

    ----

  64. AIR DOCTOR INC. AIR CONDITIONING and HEATING REPAIR:

    ----

  65. Marion:

    ----

  66. Free Online Game:

    ----

  67. billiga webbhotell:

    ----

  68. Edward Mcintosh:

    ----

  69. hot tub gazebo:

    ----

  70. Triglyceride:

    ----

  71. Financial Planning for Retirement:

    ----

  72. Aqua-Comfort Wasserbetten:

    ----

  73. Pa Blanda:

    ----

  74. web link directory:

    ----

  75. klussen voor sex:

    ----

  76. Arthritis Treated with Alternative Medicine:

    ----

  77. sikiÅŸ izle:

    ----

  78. barrière de sécurité:

    ----

  79. marketing naples fl:

    ----

  80. how to get free microsoft points:

    ----

  81. time and attendance system:

    ----

  82. Kacy Beltrami:

    ----

  83. Sisaster preparedness:

    ----

  84. balustrady:

    ----

  85. secondhand bricks:

    ----

  86. roksa:

    ----

  87. headphones:

    ----

  88. bayan escort:

    ----

  89. sex cams:

    ----

  90. John:

    ----

  91. Carlton Farm:

    ----

  92. Jewel Kreger:

    ----

  93. David Goodgine:

    ----

  94. Waltraud Belarde:

    ----

  95. casque audio sans fil:

    ----

  96. lit parapluie:

    ----

  97. disque dur interne:

    ----

  98. E-Zigaretten:

    ----

  99. singles:

    ----

Leave a comment






8 × = forty