[rt-devel] Installing problems 1.3.30
robert rotman
rotman at inode.at
Fri Jan 5 12:36:51 EST 2001
Hello,
When i try to start apache i get:
syntax error at /usr/local/rt2/lib/RT/Tickets.pm line 1284, near
"$method;"
BEGIN failed--compilation aborted at /usr/local/rt2/lib/RT/Ticket.pm line
1344.
....
when i commend-out (the --->) :
/^(.*?)date(.*)$/i && do {
my $o = $1;
my $m = $2;
my ($obj);
#TODO: optimize
$obj = $Ticket->DueObj if $o =~ /due/i;
$obj = $Ticket->CreatedObj if $o =~ /created/i;
$obj = $Ticket->StartsObj if $o =~ /starts/i;
$obj = $Ticket->StartedObj if $o =~ /started/i;
$obj = $Ticket->ToldObj if $o =~ /told/i;
$obj = $Ticket->LastUpdatedObj if $o =~ /lastu/i;
$method = 'ISO' if $m =~ /iso/i;
$method = 'AsString' if $m =~ /asstring/i;
$method = 'AgeAsString' if $m =~ /age/i;
last SWITCH;
---> # $obj->$method
};
apache starts but the rt-mailgate returns an error.
any suggestions?
robert
More information about the Rt-devel
mailing list