[Koha] Upgraded to 3.10 using the packages, and broke the OPAC

Doug Dearden dearden at sarsf.org
Wed Nov 28 12:41:33 NZDT 2012


Hello all,

A couple of weeks ago I built a test machine from scratch, Debian Squeeze and installed the stable version on it (at the time 3.8.7).  I used the instructions on the wiki at http://wiki.koha-community.org/wiki/Koha_3.8_on_Debian_Squeeze and http://wiki.koha-community.org/wiki/Moving_an_installation_from_a_regular_install_to_the_Debian_packages to guide me.  All worked well, and I was pleased with the results.

Today I did the same on my production machine and things did not go as well.  I pointed to the stable version, and wound up with 3.10.0 (not unexpected).  I went through the same process per the wiki instructions and have a somewhat functioning catalog.  The issue is the way the OPAC looks.  You can see the result at http://library.sarsf.org .  You may need to reload the page once or twice before it breaks.  It looks a little better in IE, but is definitely wrong in Firefox or Chrome.

Checking the log in /var/log/koha/<instancename>/opac-error.log I see this every time the page is loaded:

[Tue Nov 27 15:38:03 2012] [error] [client 192.168.30.196] [Tue Nov 27 15:38:03 2012] opac-main.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth.pm line 390.
[Tue Nov 27 15:38:03 2012] [error] [client 192.168.30.196] [Tue Nov 27 15:38:03 2012] opac-main.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth.pm line 390.
[Tue Nov 27 15:38:03 2012] [error] [client 192.168.30.196] File does not exist: /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui/reset-fonts-grids.css, referer: http://opac.main.library.campus.sarsf.org/
[Tue Nov 27 15:38:03 2012] [error] [client 192.168.30.196] File does not exist: /usr/share/koha/opac/htdocs/opac-tmpl/lib/yui/skin.css, referer: http://opac.main.library.campus.sarsf.org/
[Tue Nov 27 15:38:04 2012] [error] [client 192.168.30.196] [Tue Nov 27 15:38:04 2012] 404.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth.pm line 390., referer: http://opac.main.library.campus.sarsf.org/
[Tue Nov 27 15:38:04 2012] [error] [client 192.168.30.196] [Tue Nov 27 15:38:04 2012] 404.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth.pm line 390., referer: http://opac.main.library.campus.sarsf.org/
[Tue Nov 27 15:38:04 2012] [error] [client 192.168.30.196] [Tue Nov 27 15:38:04 2012] 404.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth.pm line 390., referer: http://opac.main.library.campus.sarsf.org/
[Tue Nov 27 15:38:04 2012] [error] [client 192.168.30.196] [Tue Nov 27 15:38:04 2012] 404.pl: Use of uninitialized value in concatenation (.) or string at /usr/share/koha/lib/C4/Auth.pm line 390., referer: http://opac.main.library.campus.sarsf.org/

Auth.pm line 390 refers to the opaccolorstylesheet preference, which is set to "colors.css" .  I tried changing that to blank but it didn't make any difference.  Also, colors.css exists but is an empty file.  The two files that it says do not exist, skin.css and reset-fonts-grids.css indeed are not in that location, they are in /usr/share/koha/opac/htdocs/opac-tmpl/prog/en/css .

Any idea where I might have gone wrong?

Thanks,

Doug Dearden
Director, IT
School for Advanced Research
(505)954-7220
sarweb.org



More information about the Koha mailing list