Upgraded to 3.10 using the packages, and broke the OPAC
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_in... 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
Hi, On Wed, Nov 28, 2012 at 5:11 AM, Doug Dearden <dearden@sarsf.org> wrote:
[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/
Looks like you been hit by http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9052 FWIW, Vimal faced the same bug earlier today. Here's how he fixed it - http://lists.koha-community.org/pipermail/koha-devel/2012-November/038586.ht... hth -- Indranil Das Gupta Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards. For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org
Thanks Indranil, that helped. Instead of using Vimal's solution I copied the files in question to the correct location and that fixed it. I had checked bugzilla when this happened but didn't find the bug. Thanks for pointing me to the solution. Doug -----Original Message----- From: Indranil Das Gupta [mailto:indradg@gmail.com] Sent: Tuesday, November 27, 2012 5:49 PM To: Doug Dearden Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Upgraded to 3.10 using the packages, and broke the OPAC Hi, On Wed, Nov 28, 2012 at 5:11 AM, Doug Dearden <dearden@sarsf.org> wrote:
[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/
Looks like you been hit by http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9052 FWIW, Vimal faced the same bug earlier today. Here's how he fixed it - http://lists.koha-community.org/pipermail/koha-devel/2012-November/038586.ht... hth -- Indranil Das Gupta Phone : +91-98300-20971 Blog : http://indradg.randomink.org/blog IRC : indradg on irc://irc.freenode.net Twitter : indradg -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=- Please exchange editable Office documents only in ODF Format. No other format is acceptable. Support Open Standards. For a free editor supporting ODF, please visit LibreOffice - http://www.documentfoundation.org
participants (2)
-
Doug Dearden -
Indranil Das Gupta