userprefs.cgi at has errors




18 years ago
6 years ago


(Reporter: darwin, Assigned: justdave)





18 years ago
This page is serving the following error.  It worked at one point, but broke 
without any system changes.  All the other pages seem fine.  Your suggestions 
are greatly appreciated.  Thanks.


Software error:
Execution of /usr/local/apache/htdocs/userprefs.cgi aborted due to compilation 

For help, please send mail to the webmaster (, giving this 
error message and the time and date of the error.

Comment 1

18 years ago
Can you run "perl -c userprefs.cgi" from your bugzilla install directory and
post its output here?

Comment 2

18 years ago
I received an responses from who wanted me to run "perl -c 
userprefs.cgi".  This is the output.

bash-2.03# perl -c userprefs.cgi
userprefs.cgi had compilation errors (#1)
    (F) The final summary message when a perl -c fails.
Content-type: text/html

<H1>Software error:</H1>
<CODE>userprefs.cgi had compilation errors.
For help, please send mail to this site's webmaster, giving this error message 
and the time and date of the error.

[Fri Jun 15 15:41:21 2001] userprefs.cgi: userprefs.cgi had compilation errors.
that was real useful (not)  :)   Gotta love Perl.

OK, try it again with "perl -cw".  The w will probably give us more info (I 
hope).  What version of Perl are you running?  That's screwing that it says it 
had compilation errors and doesn't report what the errors were...
Ahh...  I know... it's using Carp, so it's trying to write to the errors to the 
error log, which you don't have defined.

Try running it from your web page and grab the error messages out of your error 
log from the web server.
Summary: → userprefs.cfi at has errors
Summary: userprefs.cfi at has errors → userprefs.cgi at has errors

Comment 5

18 years ago
We fixed the problem by upgrading the Perl to 5.6.1.  It works fine now, thanks.
ok, based on this file working fine on our tinderbox test suites with both Perl 
5.005 and perl 5.6.0, I'm assuming you may have had missing or corrupted perl 
modules that got replaced with working copies when you upgraded.  Glad to hear 
you have it working!
Last Resolved: 18 years ago
Resolution: --- → WORKSFORME
moving to Bugzilla product
reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.12 → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.