Archives, anyone?
- From: lane@xxxxxxxxxxxxxx (Lane)
- Date: Sun, 17 Sep 2006 22:16:12 -0500
Hi.
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/Storable.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
.
- Follow-Ups:
- Re: Archives, anyone?
- From: Owen
- Re: Archives, anyone?
- Prev by Date: Re: Safely timing out DBI queries
- Next by Date: Re: New here. dbi:DBM:mldbm=Storable;f_dir=/foo/bar. Inserts when asked to update and other weirdness
- Previous by thread: DBI->connect() fails
- Next by thread: Re: Archives, anyone?
- Index(es):
Relevant Pages
|
|