My Bugzilla installation will send users their passwords via email, but clicking on any of "Go to query page", "Enter new bug", and "Bug Reports" produces a "Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 224." error. It sometimes occurs on line 245. At first I had a Mysql permissions problem where Bugzilla couldn't log into the database, but the error still occurs even after I fixed that. I am running on RedHat Linux 5.2 w/ kernel 2.2.9, Perl 5.004_04, with all perl modules installed, and Mysql 3.22.20a. Any help is much appreciated. -Andy (email@example.com)
Please look in your server error log files (probably /etc/httpd/logs/error_log) and see if there are useful error messages then. The "subsitution loop" thing is a problem with redhat's version of perl, I believe.
Here's part of the error_log: Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 245. Use of uninitialized value at /usr/local/apache/htdocs/bugs/reports.cgi line 245 (#1) (W) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign an initial value to your variables. Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 224 (#2) (P) The substitution was looping infinitely. (Obviously, a substitution shouldn't iterate more times than there are characters of input, which is what happened.) See the discussion of substitution in perlop/"Quote and Quote-like Operators". Substitution loop at /usr/lib/perl5/CGI/Carp.pm line 245. Use of uninitialized value at globals.pl line 499 (#1) (W) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign an initial value to your variables. Might have something to do with the uninitialized values?
This went away after I upgraded to Perl 5.005_03.
Closing bug; submitter said it went away with new version of perl.
per Terry, auto-verifying any resolved bug that hasn't been touched since before 2.10 was released.
moving all closed Bugzilla bugs to the new Bugzilla product. This batch is DUPLICATE/INVALID/WORKSFORME/WONTFIX reassigning to default owner and QA in case of the bug being reopened. Clearing milestones, since we really shouldn't have them on these types of resolutions. Sorry for the spam everyone...
damn, bit by bug 30731. sorry for the respam... one more coming to complete fixing this...
finishing status correction