Archives, anyone?
am 18.09.2006 05:16:12 von LaneHi.
Can someone please point me to a searchable archive of dbi-users.
And, if you can point me to a specific reference about this problem, then I'll
be just as happy as can be.
I'm getting the following error:
DBD::DBM::st execute failed: Storable binary image v37.49 more recent than I
am (v2.7) at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/thaw.al) line 366,
at /usr/local/lib/perl5/site_perl/5.8.8/MLDBM/Serializer/Storab le.pm line 27
[for Statement "select * from GroupFolders where GroupID='K1' and
FolderID='K1'"] at /usr/home/scandb/www/docs/Admin.cgi line 192.
in the second "select" in this section of code:
my $dbh = DBI->connect('dbi:DBM:mldbm=Storable;f_dir=/foo/bar');
my $gfh = $dbh->prepare("select * from Groups order by GroupID");
$gfh->execute();
while (my $gref = $gfh->fetchrow_hashref) {
my $groupId = $gref->{GroupID};
my $gffh = $dbh->prepare("select * from GroupFolders where GroupID='$groupId'
and FolderID='$folderId'");
$gffh->execute();
if ($gffh->rows > 0) {
#do something here
} else {
#do the opposite here
}
}
my version info is:
DBD::DBM 0.03 using SDBM_File + MLDBM + Storable
DBD::File 0.35
DBI::SQL::Nano 0.03
SQL::Statement 1.15
DBI 1.52
OS freebsd (5.4-release-p14)
Perl 5.008008 (i386-freebsd-64int)
and
perl -MStorable -le 'print $Storable::VERSION'
2.15