Categories
Apache Perl

Installing Bugzilla

This was weird. I lately tried to install Bugzilla on one of my virtual hosts but it’s testserver.pl script failed with:

Use of uninitialized value in pattern match (m//) at ./testserver.pl line 110.
Use of uninitialized value in pattern match (m//) at ./testserver.pl line 110.
TEST-FAILED Webserver is not executing CGI files.

The Apache error log told nothing more than

Premature end of script headers: testagent.cgi

All Google lookups failed to solve my problem. Although I had the impression that my CGI setup was somehow wrong, I couldn’t find the reason. Then I intensively checked the VirtualHost directive. The server uses a Plesk 8.0 installation for setting up hosts. The default configuration for virtual hosts with CGI there is to include a “SuexecUserGroup” directive. After removing it, the Bugzilla installation succeeded.

So you might wanna give it a try 😉

Update May 6, 2012: You might also want to try these commands when experiencing “Access Denied” problems in a virtual host environment:

find . -type f -exec chmod o+r {} \;
find . -type d -exec chmod o+rx {} \;

Do not forget to revert this change for localconfig file!!!

Categories
Miscellaneous

Personal Fix for DIY Dynamic Templates

Dan White wrote a wonderful Qt4 application for creating a personal D*I*Y planner. I like it a lot and it saves my job every single day since I use it. However, there is one flaw in his templates. The week numbers are missing in calendars. Luckily, he published his source code so I could make some fixes. And of course, I publish it to you for personal use as well.

The files you can download below are based on version 2.04. Following adjustments were made:

  • Added week numbers to day, week, month and year templates
  • Adjusted default page setting to European ISO style A4
  • Adjusted default zoom to 9 (instead of 25)

Download

Windows Executable 2.04 plus Fixes

Source Code 2.04 inkl. Fixes

Screenshots

Please excuse the German wording. I hope this will vanish on English PCs 🙂

Old version at the left, new version at the right…

day

week

month

year2

month-box