[Koha-bugs] [Bug 7587] New: Wrong table name for local cover images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 19:27:37 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7587

             Bug #: 7587
           Summary: Wrong table name for local cover images
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: katrin.fischer at bsz-bw.de
         QAContact: koha.sekjal at gmail.com


While testing I noticed lots of error messages in my logs and tracked it down
to a big difference in updatedatabase.pl vs. kohastructure.sql.

While kohastructure has
2679 CREATE TABLE `bibliocoverimage` (

updatedatabase is
4631         q|CREATE TABLE `biblioimages` (

Opac error logs:
[Thu Feb 23 07:54:26 2012] [error] [client 127.0.0.1] [Thu Feb 23 07:54:26
2012] opac-detail.pl: DBD::mysql::st execute failed: Table 'koha.biblioimages'
doesn't exist at /home/katrin/kohaclone/C4/Images.pm line 127., referer:
http://localhost/cgi-bin/koha/opac-search.pl?q=der
[Thu Feb 23 07:54:26 2012] [error] [client 127.0.0.1] [Thu Feb 23 07:54:26
2012] opac-detail.pl: Database error! at /home/katrin/kohaclone/C4/Images.pm
line 128., referer: http://localhost/cgi-bin/koha/opac-search.pl?q=der
[Thu Feb 23 07:54:26 2012] [error] [client 127.0.0.1] [Thu Feb 23 07:54:26
2012] opac-image.pl: DBD::mysql::st execute failed: Table 'koha.biblioimages'
doesn't exist at /home/katrin/kohaclone/C4/Images.pm line 127., referer:
http://localhost/cgi-bin/koha/opac-detail.pl?biblionumber=21
[Thu Feb 23 07:54:26 2012] [error] [client 127.0.0.1] [Thu Feb 23 07:54:26
2012] opac-image.pl: Database error! at /home/katrin/kohaclone/C4/Images.pm
line 128., referer:
http://localhost/cgi-bin/koha/opac-detail.pl?biblionumber=21

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list