Category Archives: Programming

vBulletin – posts redirecting to content.php

Ran into an interesting issue on vBulletin today where a single user’s posts redirected to foobar.com/vbulletin-path/content.php instead of foobar.com/vbulletin-path/showthread.php?21589-Title-Of-My-Post. What we knew at the time was that it appeared limited to a single user, and to two of their posts (but none of their other 100’s of posts). Or at least nobody else was complaining and we couldn’t replicate it… Read more »

Spamassassin, RelayCountry, Exim, add_header, and (sorta) cPanel

Previously, my server was using MailScanner which allowed the direct addition of SpamAssassin headers into the email’s Mime Header. However, Exim doesn’t handle SpamAssassin the same way and the typically documented technique for adding headers doesn’t work. (Side note: this has nothing to do with cPanel per se, it just so happens this was on a cPanel box which uses… Read more »

Menalto Gallery GdFunctionality.class fix

When upgrading from PHP 5.2 to a newer 5.x version, Menalto’s Gallery resulted in the following error: Warning: Missing argument 3 for GdFunctionality::imageJpeg(), called in /home/userdir/public_html/gallery2/modules/gd/classes/GdToolkit.class on line 527 and defined in /home/userdir/public_html/gallery2/modules/gd/classes/GdFunctionality.class on line 351 Rather than just turning off warnings, I fixed it with the following code segment: