[Koha-bugs] [Bug 7796] C4/VirtualShelves.pm needs globally scoped $dbh for plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 28 17:20:31 CEST 2012


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

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Discussion               |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Today, I got this error again. Accessing
/cgi-bin/koha/catalogue/search.pl?idx=&q=human

DBD::mysql::db selectall_arrayref failed: MySQL server has gone away at
/srv/koha/C4/VirtualShelves.pm line 202.
DBD::mysql::db selectall_arrayref failed: MySQL server has gone away at
/srv/koha/C4/VirtualShelves.pm line 214.
DBD::mysql::db selectall_arrayref failed: MySQL server has gone away at
/srv/koha/C4/VirtualShelves.pm line 202.
DBD::mysql::db selectall_arrayref failed: MySQL server has gone away at
/srv/koha/C4/VirtualShelves.pm line 214.

I have virtualshelves "allow" in syspreference.

Even more interesting, after restart I got different error:

DBD::mysql::db selectall_arrayref failed: Unknown column 'allow_add' in 'where
clause' at /srv/koha/C4/VirtualShelves.pm line 202.
DBD::mysql::db selectall_arrayref failed: Unknown column 'allow_add' in 'where
clause' at /srv/koha/C4/VirtualShelves.pm line 214.

Which got me thinking... I was using database from version 3.07.00.019 which
explains why VirtualShelves which got changed in 3.07.00.032 didn't work.

I'm closing this ticket, although I sould re-visit question why plack didn't
force me to upgrade database to current version.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list