I just installed rt 2.1.70 onto my debian machine, I’m seeing a very
weird problem…
After installing it, I see the login box. If I enter the wrong
password, it tells me my password is wrong, and to try again. If I
enter the correct password, I get a weird system error:
System error
error:
Can’t locate object method “ClausesToSQL” via package “RT::Tickets” at
/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1931.
context:
…
277: }
278:
279: # All errors returned from this routine will be in exception form.
280: local $SIG{‘DIE’} = sub {
281: rethrow_exception( $_[0] );
282: };
283:
284: #
285: # $m is a dynamically scoped global containing this
…
code stack:
/usr/share/perl5/HTML/Mason/Request.pm:281
/usr/local/rt3/lib/RT/Tickets_Overlay.pm:1931
/usr/local/rt3/lib/RT/Tickets_Overlay.pm:1722
/usr/local/rt3/share/html/Elements/MyTickets:36
/usr/local/rt3/share/html/index.html:32
/usr/local/rt3/share/html/autohandler:162
(I’m happy to send the raw error along if people want it, it’s long)
All my log variables are set to debug, and I don’t see anything in the
syslogs, nor in the logfile, nor in apache’s error logs.
the database is fresh, I’ve tried with both fascgi and modperl, here’s
a snippet of my apache config for modperl:
Can't locate object method "ClausesToSQL" via package "RT::Tickets" at
/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1931.
anyone have any ideas? either about the problem, or how to debug it?
The error is caused by a require failing, but it shouldn’t be failing,
and you should get a different error.
seems odd for it not to find that though, I can clearly see if defined
in Tickets_Overlay_SQL.p
Check the permission of html files? I had similar problems before,
and the permission was set to 600, owner was me instead of root:wheel.
Resolved it and everything was fine.
Can't locate object method "ClausesToSQL" via package "RT::Tickets" at
/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1931.
anyone have any ideas? either about the problem, or how to debug it?
The error is caused by a require failing, but it shouldn’t be failing,
and you should get a different error.
seems odd for it not to find that though, I can clearly see if defined
in Tickets_Overlay_SQL.p
Check the permission of html files? I had similar problems before,
and the permission was set to 600, owner was me instead of root:wheel.
Resolved it and everything was fine.
seems unlikely. The only files www-data (my apache user) can’t read in the rt tree are:
For what it’s worth, there’s a bug in the overlay mechanism that was
masking the fact that seph was erroring out because Regexp::Common was
missing.
-jesseOn Tue, Feb 11, 2003 at 07:25:08PM -0800, seph wrote:
Can't locate object method "ClausesToSQL" via package "RT::Tickets" at
/usr/local/rt3/lib/RT/Tickets_Overlay.pm line 1931.
anyone have any ideas? either about the problem, or how to debug it?
The error is caused by a require failing, but it shouldn’t be failing,
and you should get a different error.
seems odd for it not to find that though, I can clearly see if defined
in Tickets_Overlay_SQL.p
Check the permission of html files? I had similar problems before,
and the permission was set to 600, owner was me instead of root:wheel.
Resolved it and everything was fine.
seems unlikely. The only files www-data (my apache user) can’t read in the rt tree are: