In koha sometime we get "Internal server error" message when try to open MARC record after migration.
to get the error details visit the default koha error path "/var/log/koha/library" and open the log file "plack-error.log"
here is how the file look like
let us focus on the two errors on red and show how can we fix them
if the error message comes after upgrade from very old version of Koha to the latest version.
Software error:
Can't call method "branchname" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 1570.
The first solution is that execute a full index of Zebra. Apply following command;
sudo su
koha-rebuild-zebra -f -a -b -v library
if this not success then try to update the Koha source code
1) Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202.
update file "/usr/share/perl5/MARC/Record.pm"
add the next check
2) Can't call method "branchname" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 1570.
update file "/usr/share/koha/lib/C4/Biblio.pm"
add the next check
to get the error details visit the default koha error path "/var/log/koha/library" and open the log file "plack-error.log"
here is how the file look like
let us focus on the two errors on red and show how can we fix them
if the error message comes after upgrade from very old version of Koha to the latest version.
Software error:
Can't call method "branchname" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 1570.
The first solution is that execute a full index of Zebra. Apply following command;
sudo su
koha-rebuild-zebra -f -a -b -v library
if this not success then try to update the Koha source code
1) Use of uninitialized value $tag in hash element at /usr/share/perl5/MARC/Record.pm line 202.
update file "/usr/share/perl5/MARC/Record.pm"
add the next check
2) Can't call method "branchname" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 1570.
update file "/usr/share/koha/lib/C4/Biblio.pm"
add the next check