Cant call method prepare on an undefined value

Date: 8/23/2005 8:35 am   ·   Subject: Can't call method "prepare" on an undefined value at /usr/local/WebGUI/lib/WebGUI/SQL.pm line 446.  ·   Rating: 13

 

[root@plutao sbin]# perl testEnvironment.pl

WebGUI is checking your system environment:

Operating System:                            Linuxish
WebGUI Root:                                 ..
Perl Interpreter:                            OK
Checking for module LWP:                     OK
Checking for module HTTP::Request:           OK
Checking for module HTTP::Headers:           OK
Checking for module Digest::MD5:             OK
Checking for module DBI:                     OK
Checking for module DBD::mysql:              OK
Checking for module HTML::Parser:            OK
Checking for module Archive::Tar:            OK
Checking for module IO::Zlib:                OK
Checking for module Compress::Zlib:          OK
Checking for module Net::SMTP:               OK
Checking for module Tie::IxHash:             OK
Checking for module Tie::CPHash:             OK
Checking for module XML::Simple:             OK
Checking for module SOAP::Lite:              OK
Checking for module Time::HiRes:             OK
Checking for module Image::Magick:           OK
Checking for module Log::Log4perl:           OK
Checking for module Net::LDAP:               OK
Checking for module Date::Manip:             OK
Checking for module HTML::Highlight:         OK
Checking for module HTML::TagFilter:         OK
Checking for module HTML::Template:          OK
Checking for module Parse::PlainConfig:      OK
Checking for module XML::RSSLite:            OK
Checking for module DBIx::FullTextSearch:    OK
WebGUI modules:                              OK
Getting current WebGUI version:              OK
Your version:                                OK
Locating WebGUI configs:                     OK

Checking config file:                        vivi.conf
Verifying uploads folder:                    OK
Verifying DSN:                               OK
Verifying database connection:               OK

Testing complete!

and then ... 

perl -MDBI -e "DBI->connect('DBI:mysql:webgui;host=192.168.1.9','USER','PASSWORD',{ RaiseError=>0,AutoCommit=>1
}) or warn 'No connection'"