[Koha] vanishing contents in lists and Error message Can't "next" outside a loop block at /usr/share/koha/lib/C4/XSLT.pm line 67.

Elaine Bradtke eb at efdss.org
Tue May 17 03:16:57 NZST 2011


Owen, thanks for the pointer.  That might explain the empty lists.
But the problem seems much bigger than that.  I accessed the lists
first. But something is scrambled.  It's possible to search for
things, but clicking on an item in the search results brings up an
error message:
Can't "next" outside a loop block at /usr/share/koha/lib/C4/XSLT.pm line 67.

Here's what my IT person did to clone the site. I wonder if he's missed a step?


Snapshot the production database
mysqldump --add-drop-table koha | gzip > /home/koha/koha.20110213-1750.sql.gz
Stop Koha Test zebra processes
/etc/init.d/koha-test-zebra-daemon stop
/etc/init.d/koha-test-zebraque-daemon stop
Update the Test mysql instance (koha_test)
zcat /home/koha/koha.20110213-1750.sql.gz | mysql -u root koha_test
Access the test admin and fix several preferences:
OPACBaseURL
StaffClientBaseURL
intranetcolorstylesheet: intranet-test-color.css
IntranetNav HTML needs to be updated.
Rebuild the Zebra indexes
chdir /usr/share/koha/bin/migration_tools
su koha
export KOHA_CONF=/etc/koha/test-conf.xml
./rebuild_zebra.pl -r -a
./rebuild_zebra.pl -r -b
Restart Zebra daemons (you’ll need to be root)
/etc/init.d/koha-test-zebra-daemon start
/etc/init.d/koha-test-zebraque-daemon start


More information about the Koha mailing list