Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Everything Engine build problems

by JSchmitz (Canon)
on Mar 30, 2004 at 22:20 UTC ( [id://341114]=perlquestion: print w/replies, xml ) Need Help??

JSchmitz has asked for the wisdom of the Perl Monks concerning the following question:

This is the step to connect the Everything Engine to the Database - has anyone ran into this error before? we are totally stumped here - we have created the database and can connect to it as the specified user we created as per the Everything docs - does something need to be hacked in NodeBase.pm?? - any help would be mucho appreciated!!
ps - the table exists we can connect to it from MySQL command center client

here is the spot where it bombs but I am not sure what to call these three fields??
my $csr = $this->sqlSelectMany('title', "node", "type_nodetype=1"); while ($_ = $csr->fetchrow_hashref) { my $found = 0; my $name = $$_{title}; $name =~ s/\W//g; my $inc_name = "Everything/Node/$name.pm"; my $modname = "Everything::Node::$name"; foreach my $lib (@INC) { if (-e "$lib/$inc_name") { $found = 1; last;

sh-2.05b# ./nbmasta -h localhost -u web -p web import /usr/local/everything everything DBD::mysql::st execute failed: Table 'everything.node' doesn't exist at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Everything/NodeBase.pm line 380. Can't call method "fetchrow_hashref" on an undefined value at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Everything/NodeBase.pm line 205.

Jeffery

Replies are listed 'Best First'.
Re: Everything Engine build problems
by chromatic (Archbishop) on Mar 31, 2004 at 00:27 UTC

    Are you sure the node table exists in the everything database and the specified user has permission to read it? The error message indicates that something in that process does not work.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://341114]
Approved by kvale
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found