[Bug 4096] New: Patron Card Tool throwing many errors
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Summary: Patron Card Tool throwing many errors Product: Koha Version: HEAD Platform: PC OS/Version: All Status: NEW Severity: blocker Priority: P5 Component: Tools AssignedTo: cnighswonger@foundations.edu ReportedBy: nengard@gmail.com Estimated Hours: 0.0 Change sponsored?: --- When on the patron card tool, when clicking any of the Manage links (other than Manage images) I get this: Software error: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/C4/Creators/Lib.pm line 537. When choosing a 'New Layout' this is the error: Software error: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/patroncards/edit-layout.pl line 62. And this is the error with 'New Batch' Software error: Can't call method "get_attr" without a package or object reference at /home/nengard/kohaclone/patroncards/edit-batch.pl line 121. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 --- Comment #1 from Nicole C. Engard <nengard@gmail.com> 2010-02-02 18:27:11 --- Information from the Error Log: nengard@debian:~/koha-dev$ tail -f var/log/koha-error_log [Mon Feb 01 19:39:53 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:39:53 2010] manage.pl: Database returned the following error on attempted SELECT: Table 'koha.creator_batches' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 268., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:39:53 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:39:53 2010] manage.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/C4/Creators/Lib.pm line 537., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:39:59 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:39:59 2010] edit-layout.pl: DBD::mysql::st execute failed: Table 'koha.creator_images' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 235., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:39:59 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:39:59 2010] edit-layout.pl: Database returned the following error: Table 'koha.creator_images' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 237., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:39:59 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:39:59 2010] edit-layout.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/patroncards/edit-layout.pl line 62., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:40:42 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:40:42 2010] edit-profile.pl: profile_id is currently undefined. at /home/nengard/kohaclone/C4/Creators/Profile.pm line 186., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:40:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:40:48 2010] edit-batch.pl: Found = in conditional, should be == at /home/nengard/kohaclone/patroncards/edit-batch.pl line 108., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:40:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:40:48 2010] edit-batch.pl: DBD::mysql::st execute failed: Table 'koha.creator_batches' doesn't exist at /home/nengard/kohaclone/C4/Creators/Batch.pm line 145., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:40:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:40:48 2010] edit-batch.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/nengard/kohaclone/C4/Creators/Batch.pm line 150., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:40:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:40:48 2010] edit-batch.pl: Can't call method "get_attr" without a package or object reference at /home/nengard/kohaclone/patroncards/edit-batch.pl line 121., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:22 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:22 2010] manage.pl: DBD::mysql::st execute failed: Table 'koha.creator_layouts' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 180., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:22 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:22 2010] manage.pl: Database returned the following error: Table 'koha.creator_layouts' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 182., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:22 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:22 2010] manage.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/C4/Creators/Lib.pm line 537., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:26 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:26 2010] manage.pl: DBD::mysql::st execute failed: Table 'koha.creator_templates' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 152., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:26 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:26 2010] manage.pl: Database returned the following error: Table 'koha.creator_templates' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 154., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:26 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:26 2010] manage.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/C4/Creators/Lib.pm line 537., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:29 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:29 2010] manage.pl: DBD::mysql::st execute failed: Unknown column 'creator' in 'where clause' at /home/nengard/kohaclone/C4/Creators/Lib.pm line 214., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:29 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:29 2010] manage.pl: Database returned the following error: Unknown column 'creator' in 'where clause' at /home/nengard/kohaclone/C4/Creators/Lib.pm line 216., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:29 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:29 2010] manage.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/C4/Creators/Lib.pm line 537., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:32 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:32 2010] manage.pl: DBD::mysql::st execute failed: Table 'koha.creator_batches' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 266., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:32 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:32 2010] manage.pl: Database returned the following error on attempted SELECT: Table 'koha.creator_batches' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 268., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:32 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:32 2010] manage.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/C4/Creators/Lib.pm line 537., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:36 2010] [error] [client 10.0.2.2] Can't locate Graphics/Magick.pm in @INC (@INC contains: /home/nengard/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/nengard/kohaclone/patroncards/image-manage.pl line 7., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:36 2010] [error] [client 10.0.2.2] BEGIN failed--compilation aborted at /home/nengard/kohaclone/patroncards/image-manage.pl line 7., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:36 2010] [error] [client 10.0.2.2] Premature end of script headers: image-manage.pl, referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:42 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:42 2010] edit-layout.pl: DBD::mysql::st execute failed: Table 'koha.creator_images' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 235., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:42 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:42 2010] edit-layout.pl: Database returned the following error: Table 'koha.creator_images' doesn't exist at /home/nengard/kohaclone/C4/Creators/Lib.pm line 237., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:42 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:42 2010] edit-layout.pl: Can't use string ("-1") as an ARRAY ref while "strict refs" in use at /home/nengard/kohaclone/patroncards/edit-layout.pl line 62., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:48 2010] edit-batch.pl: Found = in conditional, should be == at /home/nengard/kohaclone/patroncards/edit-batch.pl line 108., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:48 2010] edit-batch.pl: DBD::mysql::st execute failed: Table 'koha.creator_batches' doesn't exist at /home/nengard/kohaclone/C4/Creators/Batch.pm line 145., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:48 2010] edit-batch.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /home/nengard/kohaclone/C4/Creators/Batch.pm line 150., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl [Mon Feb 01 19:45:48 2010] [error] [client 10.0.2.2] [Mon Feb 1 19:45:48 2010] edit-batch.pl: Can't call method "get_attr" without a package or object reference at /home/nengard/kohaclone/patroncards/edit-batch.pl line 121., referer: http://localhost:8080/cgi-bin/koha/patroncards/home.pl -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Nicole C. Engard <nengard@gmail.com> 2010-02-02 18:30:56 --- apparently it was upgrade issues -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Chris Nighswonger <cnighswonger@foundations.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |WONTFIX --- Comment #3 from Chris Nighswonger <cnighswonger@foundations.edu> 2010-02-02 18:31:16 --- These errors are due to a failed database update. I would suggest starting over with a clean database and running the web installer again. If the errors still occur after that, feel free to re-open this bug. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Priority|P5 |PATCH-Sent Resolution|WONTFIX | -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|cnighswonger@foundations.edu|nengard@gmail.com Status|REOPENED |NEW -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 --- Comment #4 from Nicole C. Engard <nengard@gmail.com> 2010-02-03 15:47:07 --- Created an attachment (id=1519) --> (http://bugs.koha.org/cgi-bin/bugzilla3/attachment.cgi?id=1519) patch -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4096 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com