[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] 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



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 going to package based version on a Debian 9.2 VM.

I also attempted a migration to the oldest stable package v.,
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.


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>

More information about the Koha mailing list