hi all,

http://oss.segetech.com/bugzilla-svn-wiki.html
i try to integrate bugzilla with SVN and mediawiki. i use this documentation(from the link above) to do this project.
but the problem now is, when i try to patch from this website to enable the magic identifier in bugzilla.this patch made my bugzilla from stop working. which mean i have to reinstall my bugzilla to make it work again.
i tried this patch 2-3 time and the problem remain the same... and every time i install this patch. i have to reinstall the bugzilla back.
i use the patch from this link to patch for mailman and its work fine... maybe the patch for bugzilla is does not work for me but i use the bugzilla 3.0.2 and also bugzilla 3.1.3.
you can check the patch here... thanks


################################################## #######################
# Patch for Bugzilla to enable the magic identifiers in bug comments.
--- bugzilla-3.0.2-orig/Bugzilla/Template.pm
+++ bugzilla-3.0.2/Bugzilla/Template.pm
@@ -311,6 +311,18 @@ sub quoteUrls {
$text =~ s~^(>.+)$~<span class="quote">$1</span >~mg;
$text =~ s~</span >\n<span class="quote">~\n~g;

+ # BugID:
+ $text =~ s~\b(BugID\s?(\d+)\b
+ ~$1 . " " . get_bug_link($2,$2)~egox;
+
+ # VCS:
+ $text =~ s~\b(VCS\s?([0-9A-Za-z_/\-.]*)\b
+ ~$1 <a href=\"/cgi-bin/viewvc.cgi/$2\">$2</a>~igx;
+
+ # Wiki:
+ $text =~ s~\b(Wiki\s?([A-Za-z_\-:]*)\b
+ ~$1 <a href=\"/wiki/index.php/$2\">$2</a>~igx;
+
# mailto:
# Use |<nothing> so that $1 is defined regardless
$text =~ s~\b(mailto:|)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b
################################################## ########################

this is the error message from web browser
################################################## ##########
################################################## ################################################## ########
500 internal server error

Can't locate Bugzilla/Template.pm in @INC (@INC contains: . lib/i386-linux-thread-multi lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at Bugzilla.pm line 45.
BEGIN failed--compilation aborted at Bugzilla.pm line 45.
Compilation failed in require at /var/www/html/bugzilla/index.cgi line 34.
BEGIN failed--compilation aborted at /var/www/html/bugzilla/index.cgi line 34.
################################################## ################################################## ############