Apachectl configtest errors

2.1.51 resolves my problem with the closed database connection, but now
I’m finding that Apache won’t start, as per the apachectl configcheck
output below. Any suggestions?

[Thu Nov 28 00:29:07 2002] [error] syntax error at
/opt/rt3/lib/RT/CustomFields_Overlay.pm line 128, near "unless"
Compilation failed in require at (eval 107) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Ticket_Overlay.pm line 124.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Ticket_Overlay.pm
line 124.
Compilation failed in require at (eval 92) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Tickets.pm line 52.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Tickets.pm line 52.
Compilation failed in require at /opt/rt3/bin/webmux.pl line 38.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 38.
Compilation failed in require at (eval 3) line 1.

Syntax error on line 4 of /opt/rt3/etc/apache.conf:
syntax error at /opt/rt3/lib/RT/CustomFields_Overlay.pm line 128, near
"unless"
Compilation failed in require at (eval 107) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Ticket_Overlay.pm line 124.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Ticket_Overlay.pm
line 124.
Compilation failed in require at (eval 92) line 3.
Compilation failed in require at /opt/rt3/lib/RT/Tickets.pm line 52.
BEGIN failed–compilation aborted at /opt/rt3/lib/RT/Tickets.pm line 52.
Compilation failed in require at /opt/rt3/bin/webmux.pl line 38.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 38.
Compilation failed in require at (eval 3) line 1.

2.1.51 resolves my problem with the closed database connection, but now
I’m finding that Apache won’t start, as per the apachectl configcheck
output below. Any suggestions?

Yes.

/Autrijus/

— /home/autrijus/rt-2-1-51/lib/RT/CustomFields_Overlay.pm Wed Nov 27 01:34:54 2002
+++ lib/RT/CustomFields_Overlay.pm Thu Nov 28 18:27:46 2002
@@ -123,8 +125,7 @@
sub _DoSearch {
my $self = shift;

  • #unless we really want to find disabled rows, make sure we’re only finding
    -enabled ones.
  • unless we really want to find disabled rows, make sure we’re only finding enabled ones.

    unless($self->{‘find_disabled_rows’}) {
    $self->LimitToEnabled();
    }