This weekend I decided that it was time to install web-based bug-tracking software to allow the users of DeVIDE (all 2 of them) to be able to report bugs and to allow me to be able to keep track of all the reports.

Because of my experience with the phpBugTracker installation used by Kitware for VTK, ITK and a bunch of their other products, I decided to go with this software.

However, after installing and configuring this, I got the following error message when trying to login for the first time:

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/bothac/public_html/bugs/include.php on line 169

ARGH! After some searching around, this turns out to be a some generic PHP problem, solved by making the following changes before the session_start() call in include.php:

if (!defined('NO_AUTH')) {
// change by cpbotha
ini_set('session.save_handler', 'files');
// end of change by cpbotha

So, after fixing this, attempting to commit any change in the bug-tracking system lead to an apparently famous “headers already sent” error message. It turns out that you should not have any spaces or empty lines after the last “?>” in your config.php!

I mention this in the hope of saving somebody else all the trouble. This is otherwise a very useful system.

One thought on “phpBugTracker”

  1. Quite happy with the Redhat version of Bugzilla. Installed it here but it needed significant PERL hacking to make it fit our business process. The source is a mess to maintain – pity, coz it works quite well. Mr JJB did a great job on it – but without an in-house PERL hacker you’re dead. Then again, you could spend $100k on Clearquest and still be stuck with a shit system.

Leave a Reply

Your email address will not be published. Required fields are marked *