SearchBuilder/Mason Problems?

Hi Everybody,

I was wondering if anyone can help, I am trying to get RT working for the 

first time, I got it installed ok and the admin page comes up ok but when I
press the login box I get the the error below ( for your information I am
running mandrake 8.1, Mason 1.04, DBIx-SearchBuilder-0.47,
Apache-AdvancedExtranetServer/1.3.22). Any suggestions or pointers
appreciated.

Kind regards
Caroline

Mason error

error in file:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm

   line 789: 
       Can't call method "SimpleQuery" on an undefined value

context:

785:
my $self = shift;
786:
my $QueryString = shift;
787:
my @bind_values = (@_);
788:
789:
my $sth = $self->_Handle->SimpleQuery($QueryString, @bind_values);
790:
791:
#TODO this only gets the first row. we should check if there are
more.
792:
793:
eval {

component stack:
/autohandler
code stack:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:720
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record/Cachable.pm:71
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:689
/rt/opt/lib/RT/CurrentUser.pm:185
/rt/opt/WebRT/data/obj/autohandler:43

sorry forgotten to say I am using rt-2.0.9.

Many thanks
CarolineOn Tuesday 11 December 2001 12:13 pm, you wrote:

Hi Everybody,

I was wondering if anyone can help, I am trying to get RT working for the
first time, I got it installed ok and the admin page comes up ok but when
I press the login box I get the the error below ( for your information I
am running mandrake 8.1, Mason 1.04, DBIx-SearchBuilder-0.47,
Apache-AdvancedExtranetServer/1.3.22). Any suggestions or pointers
appreciated.

Kind regards
Caroline

Mason error

error in file:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm

   line 789:
       Can't call method "SimpleQuery" on an undefined value

context:

785:
my $self = shift;
786:
my $QueryString = shift;
787:
my @bind_values = (@_);
788:
789:
my $sth = $self->_Handle->SimpleQuery($QueryString, @bind_values);
790:
791:
#TODO this only gets the first row. we should check if there are
more.
792:
793:
eval {

component stack:
/autohandler
code stack:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:720

/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record/Cachable.pm:71
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:689
/rt/opt/lib/RT/CurrentUser.pm:185
/rt/opt/WebRT/data/obj/autohandler:43


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

That sounds like your database connection isn’t being properly initialized.
Do the CLI tools work?On Tue, Dec 11, 2001 at 12:13:28PM +0000, Mole wrote:

Hi Everybody,

I was wondering if anyone can help, I am trying to get RT working for the
first time, I got it installed ok and the admin page comes up ok but when I
press the login box I get the the error below ( for your information I am
running mandrake 8.1, Mason 1.04, DBIx-SearchBuilder-0.47,
Apache-AdvancedExtranetServer/1.3.22). Any suggestions or pointers
appreciated.

Kind regards
Caroline

Mason error

error in file:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm

   line 789: 
       Can't call method "SimpleQuery" on an undefined value

context:

785:
my $self = shift;
786:
my $QueryString = shift;
787:
my @bind_values = (@_);
788:
789:
my $sth = $self->_Handle->SimpleQuery($QueryString, @bind_values);
790:
791:
#TODO this only gets the first row. we should check if there are
more.
792:
793:
eval {

component stack:
/autohandler
code stack:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:720
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record/Cachable.pm:71
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:689
/rt/opt/lib/RT/CurrentUser.pm:185
/rt/opt/WebRT/data/obj/autohandler:43


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

I have exactly the same problem, same packages installed too.

The only thing I found in the previos posts is that I should upgrade
SearchBuilder, but thats the last version in CPAN.

Ruben.On Tue, 11 Dec 2001, Mole wrote:

sorry forgotten to say I am using rt-2.0.9.

Many thanks
Caroline

On Tuesday 11 December 2001 12:13 pm, you wrote:

Hi Everybody,

I was wondering if anyone can help, I am trying to get RT working for the

first time, I got it installed ok and the admin page comes up ok but when
I press the login box I get the the error below ( for your information I
am running mandrake 8.1, Mason 1.04, DBIx-SearchBuilder-0.47,
Apache-AdvancedExtranetServer/1.3.22). Any suggestions or pointers
appreciated.

Kind regards
Caroline

Mason error

error in file:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm

   line 789:
       Can't call method "SimpleQuery" on an undefined value

[…]

Hi

Thanks for the replies

The CLI stuff tools are working ok. I can add users and change passwords no
problem so the database seems to be working fine. This appears to be a web
interface issue, I’ve taken a look at my apache config and nothing seems to
be amiss.

kind regards
CarolineOn Tuesday 11 December 2001 5:49 pm, you wrote:

That sounds like your database connection isn’t being properly initialized.
Do the CLI tools work?

On Tue, Dec 11, 2001 at 12:13:28PM +0000, Mole wrote:

Hi Everybody,

I was wondering if anyone can help, I am trying to get RT working for

the first time, I got it installed ok and the admin page comes up ok but
when I press the login box I get the the error below ( for your
information I am running mandrake 8.1, Mason 1.04,
DBIx-SearchBuilder-0.47,
Apache-AdvancedExtranetServer/1.3.22). Any suggestions or pointers
appreciated.

Kind regards
Caroline

Mason error

error in file:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm

   line 789:
       Can't call method "SimpleQuery" on an undefined value

context:

785:
my $self = shift;
786:
my $QueryString = shift;
787:
my @bind_values = (@_);
788:
789:
my $sth = $self->_Handle->SimpleQuery($QueryString,
@bind_values); 790:
791:
#TODO this only gets the first row. we should check if there are
more.
792:
793:
eval {

component stack:
/autohandler
code stack:
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:720

/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record/Cachable.pm:71
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:689
/rt/opt/lib/RT/CurrentUser.pm:185
/rt/opt/WebRT/data/obj/autohandler:43


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users