[rt-users] Upgrade from 3.0.2 to 3.0.8 generates error from webmux.pl.

Dan Armeneau darmeneau at prl.ab.ca
Thu Jan 15 13:39:50 EST 2004


I am running FreeBSD 5.1 and currently RT 3.0.8 but right after the upgrade
from RT 3.0.2 I get 'The server encountered an internal error or
misconfiguration and was unable to complete your request' error on the login
page.  After checking the 'server.name-error_log' I see this error which I
can't seem to resolve:

----------[Error Log Snip]-------------


[Thu Jan 15 11:56:28 2004] [error] Can't locate object method
"TransactionDepth" via package "RT::Handle" at /usr/local/rt3/bin/webmux.pl
line 144.

----------[End of Error Log Snip]------

Here is the webmux.pl script from lines 124 to 149 but my knowledge of Perl
is insufficient to rectify the problem.

----------[webmux.pl Snip]-------------

sub handler {
    ($r) = @_;

    local $SIG{__WARN__};
    local $SIG{__DIE__};

    RT::Init();

    # We don't need to handle non-text items
    return -1 if defined( $r->content_type ) && $r->content_type !~
m|^text/|io;

    my %session;
    my $status;
    eval { $status = $ah->handle_request($r) };
    if ($@) {
        $RT::Logger->crit($@);
    }

    undef (%session);

    if ($RT::Handle->TransactionDepth) {
        $RT::Handle->ForceRollback;
        $RT::Logger->crit("Transaction not committed. Usually indicates a
software fault. Data loss may have occurred") ;
    }
    return $status;
}

----------[End of webmux.pl Snip]------

If anybody here can point me in the right direction I would be forever
grateful.


Dan Armeneau - Computer Technician
Parkland Regional Library
5404 56 Avenue,
Lacombe, AB T4L 1G1
Phone: 403.782.3850  Fax: 403.782.4650
http://www.prl.ab.ca




More information about the rt-users mailing list