Bug 1022 - DBD::mysql::st fetchrow failed: fetch() without execute()
Summary: DBD::mysql::st fetchrow failed: fetch() without execute()
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Z39.50 / SRU / OpenSearch Servers (show other bugs)
Version: 2.2.0
Hardware: PC All
: P2 normal
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 02:56 UTC by Chris Cormack
Modified: 2017-09-04 08:20 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-20 23:37:57 UTC


---- Reported by swansoncw@yahoo.com 2005-10-20 14:56:06 ----

DBD::mysql::st fetchrow failed: fetch() without execute()
#  at /koha/intranet/modules/C4/Z3950.pm line 96.


Fix: 
add
   $sth->execute;
after
   $sth = $dbh->prepare("select * from z3950servers where checked=1");
in subroutine getz3950servers



=================================
Koha Version 2.2.4

OS version ('uname -a')Linux omeara 2.4.21-99-default #1 Wed Sep 24 13:30:51 UTC
2003 i686 i686 i386 GNU/Linux

Perl version5.008001

MySQL versionmysql Ver 12.21 Distrib 4.0.15, for suse-linux (i686)

Apache versionServer version: Apache/1.3.28 (Linux/SuSE) Server built: Nov 10
2004 16:30:07



--- Bug imported by chris@bigballofwax.co.nz 2010-05-20 23:37 UTC  ---

This bug was previously known as _bug_ 1022 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=1022

Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was swansoncw@yahoo.com.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, gmcharlt@gmail.com.
   Previous assignee was jferraro@athenscounty.lib.oh.us.