[rt-users] rt error anyone help ?

Ruslan Zakirov ruslan.zakirov at gmail.com
Mon Mar 6 18:09:28 EST 2006


On 3/6/06, Elaine . <cmap_sec at yahoo.co.uk> wrote:
> hi
> I have two frontends authenticating to the same
> database. I get these errors on the frontend that also
> runs the database. Is there a locking issue or
> something else ?
[snip]
>
> on tools click
>
> http://rt/rt/Tools/Offline.html
>
> error:  Undefined subroutine &Scalar::Util::weaken
> called at
Do you use mod_perl? If so then check that your libperl and perl are
compiled with the same options. Also if you updated perl then rebuild
mod_perl and Scalar::Util.

If this wouldn't help then I can send you patch I've writen to help
debug exactly this error.

>
> /usr/local/rt3/lib/RT/Action/Generic.pm line 108.
>
> context:  ...
> 104:  $self->{'TicketObj'} = $args{'TicketObj'};
> 105:  $self->{'TransactionObj'} =
> $args{'TransactionObj'};
> 106:  $self->{'Type'} = $args{'Type'};
> 107:
> 108:  Scalar::Util::weaken($self->{'ScripActionObj'});
>
> 109:  Scalar::Util::weaken($self->{'ScripObj'});
> 110:  Scalar::Util::weaken($self->{'TemplateObj'});
> 111:  Scalar::Util::weaken($self->{'TicketObj'});
> 112:  Scalar::Util::weaken($self->{'TransactionObj'});
>
> ...
>
> code stack:
> /usr/local/rt3/lib/RT/Action/Generic.pm:108
> /usr/local/rt3/lib/RT/Action/Generic.pm:80
> /usr/local/rt3/share/html/Tools/Offline.html:107
> /usr/local/rt3/local/html/autohandler:173
>

--
Best regards, Ruslan.


More information about the rt-users mailing list