[Koha] Site Migration - Staff (-Intra) Site Software Error on Login

John Ciempka johnc at wyscom.com.au
Fri Oct 20 09:21:15 NZDT 2017


Hi Jonathan,

Not exactly sure about the line number … from the site error log (please note site is local only):

[Thu Oct 19 06:32:40.361245 2017] [cgi:error] [pid 23178] [client 10.0.3.62:59608] AH01215: [Thu Oct 19 06:32:40 2017] mainpage.pl: output_pref is called with 'dateonly' (ref SCALAR), not a DateTime object: /usr/share/koha/intranet/cgi-bin/mainpage.pl, referer: http://dementiaresources-intra.yourlibrary.com.au/index.html

Cheers,

JohnC

From: Jonathan Druart [mailto:jonathan.druart at bugs.koha-community.org]
Sent: Friday, October 20, 2017 7:12 AM
To: John Ciempka <johnc at wyscom.com.au>; koha at lists.katipo.co.nz
Subject: Re: [Koha] Site Migration - Staff (-Intra) Site Software Error on Login

Do you have a line number? :)

On Thu, 19 Oct 2017 at 15:57 JohnC <johnc at wyscom.com.au<mailto:johnc at wyscom.com.au>> wrote:
Hi, I'm a newbie to Koha, and am experiencing a page load error for a newly
migrated library site.

On successful login to the staff (-intra) site it persistently results with:

/Software error:

output_pref is called with 'dateonly' (ref SCALAR), not a DateTime object

For help ...
/
Some background, the migration is from a functioning Koha site on version
3.20.03.00 going to package based version 17.05.04.000 on a Debian 9.2 VM.

I also attempted a migration to the oldest stable package v.16.05.17.000,
however, received a software error:

/       "Can't locate object method "ymd" via package "dateonly" (perhaps you
forgot to load "dateonly"?)"/

Nothing untoward was noted during the schema update of the imported DB (I
can post output if desired).

The OPAC site for the migrated DB is working fine.

Also, I've created a new blank test library instance which works fine for
both staff and OPAC vhosts on  the new VM.

Perl v.5.024001 (and the required modules) are reported as OK.
MySQL  mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64)
using readline 5.2
Apache version: Server version: Apache/2.4.25 (Debian)

Any assistance resolving this is appreciated.


JohnC



--
Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz<mailto:Koha at lists.katipo.co.nz>
https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list