Closed
Bug 472435
Opened 16 years ago
Closed 15 years ago
Error 500 on viewing bug
Categories
(Testopia :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: buchner.johannes, Assigned: gregaryh)
References
()
Details
I get the following error when calling show_bug.cgi: Undefined subroutine &ModPerl::ROOT::ModPerl::Registry::var_www_html_bugs_show_bug_2ecgi::ValidateBugID called at /var/www/html/bugs/show_bug.cgi line 62.\n This is the same as my Bug 472046 I fixed it like this: Index: show_bug.cgi =================================================================== RCS file: /cvsroot/mozilla/webtools/bugzilla/show_bug.cgi,v retrieving revision 1.53.2.1 diff -u -r1.53.2.1 show_bug.cgi --- show_bug.cgi 17 Sep 2008 23:55:41 -0000 1.53.2.1 +++ show_bug.cgi 7 Jan 2009 04:46:12 -0000 @@ -59,7 +59,7 @@ my $id = $cgi->param('id'); # Its a bit silly to do the validation twice - that functionality should # probably move into Bug.pm at some point - ValidateBugID($id); + Bugzilla::Bug::ValidateBugID($id); push @bugs, new Bugzilla::Bug($id); if (defined $cgi->param('mark')) { foreach my $range (split ',', $cgi->param('mark')) { I don't know why these errors only seem to be happening to me (the other bug was marked invalid). FWIW, here is my apache/mod_perl-config: <Location /> AddHandler perl-script .cgi .pl PerlHandler ModPerl::Registry PerlSendHeader On PerlOptions +ParseHeaders AllowOverride None Order Deny,Allow Allow from all </Location> LoadModule perl_module modules/mod_perl.so PerlModule Apache2::compat PerlOptions +GlobalRequest PerlSwitches -I/var/www/html/tests -I/var/www/html/bugs -I/var/www/html/bugs/ -I/var/www/html/bugs/lib -w -T PerlConfigRequire /var/www/html/bugs/mod_perl.pl
Assignee | ||
Comment 1•15 years ago
|
||
This is really strange. I am not able to reproduce this even with mod_perl turned on. I will keep a link to it in case someone else runs into it, at which point we can reopen and investigate further. For now, I will assume since it is working for you.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•