From bugzilla-daemon@bugs.koha-community.org Mon Apr 1 12:48:34 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] New: updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Mon, 01 Apr 2013 10:48:17 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8962847538647259137==" --===============8962847538647259137== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D9962 Bug ID: 9962 Summary: updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedataba se.pl line 5342. Classification: Unclassified Change sponsored?: --- Product: Koha Version: 3.8 Hardware: PC OS: Linux Status: NEW Severity: blocker Priority: P5 - low Component: Installation and upgrade (web-based installer) Assignee: koha-bugs@lists.koha-community.org Reporter: egpetridis@yahoo.com CC: gmcharlt@gmail.com Hi all, I have been running Koha (development/git) on a Debian VM for some months now, with only a few problems so far.=20 Tried recently to upgrade to version 3.08.11.002; when I access the Web installer however, I get the following error and cannot proceed further, as I= =E2=80=99m constantly brought to the same point: Web installer =E2=80=BA Step 3 We are upgrading from Koha 3.08.11.001 to 3.08.11.002, you must update your database Updating database structure Update report : =E2=80=A2 Status: 500 =E2=80=A2 Content-type: text/html =E2=80=A2 =20 =E2=80=A2

Software error:

=E2=80=A2
Undefined subroutine &main::CheckVersion called at
/home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342.
=E2=80=A2    
=E2=80=A2

=E2=80=A2 For help, please send mail to the webmaster (webmaster@koha), giving this error message =E2=80=A2 and the time and date of the error. =E2=80=A2 =20 =E2=80=A2

Update errors : =E2=80=A2 [Sat Mar 30 17:23:15 2013] updatedatabase.pl: Undefined subrouti= ne &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Any clues, any suggestions?=20 uname =E2=80=93a reports ver 2.6.32.5-686 git shortlog is quite long to fit into a message, so I defer posting unless someone asks for it. Thank you in advance Manos Petridis PS Sent again, to the bugs list this time, as I fail to find my original posting in the March 2013 Koha Archives at http://lists.katipo.co.nz/pipermail/koha/2013-March/date.html=20 nor at the custom search at http://www.google.com/cse?cx=3D003732456596742799141:4x-q-r-zypo&q=3Dupdateda= tabase.pl%3A%20Undefined%20subroutine%20%26main%3A%3ACheckVersion%20called%20= at%20%2Fhome%2Fkoha%2Fkohaclone%2Finstaller%2Fdata%2Fmysql%2Fupdatedatabase.p= l%20line%205342&oq=3Dupdatedatabase.pl%3A%20Undefined%20subroutine%20%26main%= 3A%3ACheckVersion%20called%20at%20%2Fhome%2Fkoha%2Fkohaclone%2Finstaller%2Fda= ta%2Fmysql%2Fupdatedatabase.pl%20line%205342&gs_l=3Dpartner.12...262144.26214= 4.0.262790.0.0.0.0.0.0.0.0..0.0.gsnos%2Cn%3D13..0.0.20j400j2..1ac.1.#gsc.tab= =3D0&gsc.q=3Dupdatedatabase.pl%20petridis --=20 You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============8962847538647259137==-- From bugzilla-daemon@bugs.koha-community.org Mon Apr 1 22:56:18 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Mon, 01 Apr 2013 20:56:05 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3135165207923836943==" --===============3135165207923836943== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 Manos PETRIDIS changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P2 Severity|blocker |major -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============3135165207923836943==-- From bugzilla-daemon@bugs.koha-community.org Sat Apr 6 21:59:58 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sat, 06 Apr 2013 19:59:39 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5470184246876423868==" --===============5470184246876423868== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 --- Comment #1 from Manos PETRIDIS --- Created attachment 17217 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17217&action=edit screencap #1 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============5470184246876423868==-- From bugzilla-daemon@bugs.koha-community.org Sat Apr 6 22:00:40 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sat, 06 Apr 2013 20:00:25 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5137480538256415690==" --===============5137480538256415690== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 --- Comment #2 from Manos PETRIDIS --- Created attachment 17218 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17218&action=edit screencap #2 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============5137480538256415690==-- From bugzilla-daemon@bugs.koha-community.org Sat Apr 6 22:02:13 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sat, 06 Apr 2013 20:01:51 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4499503890182682130==" --===============4499503890182682130== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 --- Comment #3 from Manos PETRIDIS --- Created attachment 17219 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17219&action=edit latest updates applied -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============4499503890182682130==-- From bugzilla-daemon@bugs.koha-community.org Sat Apr 6 22:12:35 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sat, 06 Apr 2013 20:12:17 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5251902947605986364==" --===============5251902947605986364== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 --- Comment #4 from Manos PETRIDIS --- Please note a notion to a similar error, at the end of bug #9382 discussion. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============5251902947605986364==-- From bugzilla-daemon@bugs.koha-community.org Sun Apr 7 01:18:39 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sat, 06 Apr 2013 23:18:20 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5916622582099425382==" --===============5916622582099425382== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 Derryn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |derrynj@gmail.com --- Comment #5 from Derryn --- I don't currently have the means to check it myself, but I know how you can check and fix it yourself. 1. Open the updatedatabase.pl file for editing 2. Search for the following if ( CheckVersion($DBversion) ) { 3. Replace with if (C4::Context->preference("Version") < TransformToNum($DBversion)) { 4. Retry web-installer Hope this helps -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============5916622582099425382==-- From bugzilla-daemon@bugs.koha-community.org Sun Apr 7 01:21:27 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sat, 06 Apr 2013 23:21:11 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6016028124813610296==" --===============6016028124813610296== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 --- Comment #6 from Derryn --- (In reply to comment #5) > I don't currently have the means to check it myself, but I know how you can > check and fix it yourself. > > 1. Open the updatedatabase.pl file for editing > 2. Search for the following > if ( CheckVersion($DBversion) ) { > 3. Replace with > if (C4::Context->preference("Version") < TransformToNum($DBversion)) > { > 4. Retry web-installer > > Hope this helps Without the .. i thought bugzilla might be smart enough to recognition the tags and make it easier to read. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============6016028124813610296==-- From bugzilla-daemon@bugs.koha-community.org Sun Apr 7 07:41:37 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sun, 07 Apr 2013 05:41:19 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8622472397968389904==" --===============8622472397968389904== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 --- Comment #7 from Manos PETRIDIS --- Thank you Derryn, it worked! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============8622472397968389904==-- From bugzilla-daemon@bugs.koha-community.org Sun Apr 7 09:46:07 2013 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sun, 07 Apr 2013 07:45:48 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4506787152235940678==" --===============4506787152235940678== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 Chris Cormack changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |chris@bigballofwax.co.nz Resolution|--- |FIXED --- Comment #8 from Chris Cormack --- The good news was, it was never actually released, but yep there was a cut and paste error in git, fixed now -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. --===============4506787152235940678==-- From bugzilla-daemon@bugs.koha-community.org Sun Aug 3 23:52:33 2014 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 9962] updatedatabase.pl: Undefined subroutine &main::CheckVersion called at /home/koha/kohaclone/installer/data/mysql/updatedatabase.pl line 5342. Date: Sun, 03 Aug 2014 21:40:01 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6756477740868097582==" --===============6756477740868097582== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9962 Manos PETRIDIS changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egpetridis@yahoo.com -- You are receiving this mail because: You are watching all bug changes. --===============6756477740868097582==--