Koha 3.0 Guided Reports error: Can't call method "cookie" on an undefined value
Hello, I am getting this error on Koha 3.0 that Installed on a Ubuntu machine a few days ago: -------------------------------------------------------------------- Software error: Can't call method "cookie" on an undefined value at /home/gsq/koha/lib/C4/Output.pm line 148. Compilation failed in require at /home/gsq/koha/intranet/cgi-bin/reports/guided_reports.pl line 24. BEGIN failed--compilation aborted at /home/gsq/koha/intranet/cgi-bin/reports/guided_reports.pl line 24. CGI::Carp -------------------------------------------------------------------- Line 148 in /home/gsq/koha/lib/C4/Output.pm is: $lang = $query->cookie('KohaOpacLanguage') if $query->cookie('KohaOpacLanguage'); Line 24 in /home/gsq/koha/intranet/cgi-bin/reports/guided_reports.pl is: use C4::Reports; Any idea what could be wrong? Thanks, ->HS
Hi all, I got a question from my librarians, whether it is possible to track down who had an item before the last person who had the item out? Like, if I have an item out now, can I find who had it before me? (or even before that) I vaguely recall I could, but I can't remember where and how, Thanks, Marty
On Sun, Mar 16, 2008 at 9:12 PM, Marty Jongpier <bluejaydesign@sympatico.ca> wrote:
Hi all,
I got a question from my librarians, whether it is possible to track down who had an item before the last person who had the item out? Like, if I have an item out now, can I find who had it before me? (or even before that)
I vaguely recall I could, but I can't remember where and how, This info is available by default (unless you purge it periodically) from the moredetail.pl screen (click on an item's barcode).
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
"H.S." <hs.samix@gmail.com> wrote: [...]
Line 148 in /home/gsq/koha/lib/C4/Output.pm is: $lang = $query->cookie('KohaOpacLanguage') if $query->cookie('KohaOpacLanguage');
Line 24 in /home/gsq/koha/intranet/cgi-bin/reports/guided_reports.pl is: use C4::Reports;
Any idea what could be wrong?
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot? Thanks, -- MJ Ray http://mjr.towers.org.uk/email.html tel:+44-844-4437-237 - Webmaster-developer, statistician, sysadmin, online shop builder, consumer and workers co-operative member http://www.ttllp.co.uk/ - Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
MJ Ray wrote:
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot?
Thanks,
I guess I get a recent snapshot from the following link? http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary ->HS
On Mon, Mar 17, 2008 at 12:58 PM, H.S. <hs.samix@gmail.com> wrote:
MJ Ray wrote:
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot?
Thanks,
I guess I get a recent snapshot from the following link?
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary Yep.
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Joshua Ferraro wrote:
On Mon, Mar 17, 2008 at 12:58 PM, H.S. <hs.samix@gmail.com> wrote:
MJ Ray wrote:
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot?
Thanks,
I guess I get a recent snapshot from the following link?
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary Yep.
Cheers,
Thanks. Before I do this, can I safely download the snapshot with the first columns showing "right now"? Also, what does "right now" mean really? That the commit is in progress? ->HS
On Mon, Mar 17, 2008 at 5:38 PM, H.S. <hs.samix@gmail.com> wrote:
Joshua Ferraro wrote:
On Mon, Mar 17, 2008 at 12:58 PM, H.S. <hs.samix@gmail.com> wrote:
MJ Ray wrote:
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot?
Thanks,
I guess I get a recent snapshot from the following link?
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary Yep.
Cheers,
Thanks. Before I do this, can I safely download the snapshot with the first columns showing "right now"? Also, what does "right now" mean really? That the commit is in progress? Yes, you can safely download any of the snapshots, they essentially give you a snapshot of Koha after that commit. right now means it was the last change made, not that it's in progress, so it's perfectly safe.
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Joshua Ferraro wrote:
On Mon, Mar 17, 2008 at 5:38 PM, H.S. <hs.samix@gmail.com> wrote:
Joshua Ferraro wrote:
On Mon, Mar 17, 2008 at 12:58 PM, H.S. <hs.samix@gmail.com> wrote:
MJ Ray wrote:
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot?
Thanks,
I guess I get a recent snapshot from the following link?
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary Yep.
Cheers,
Thanks. Before I do this, can I safely download the snapshot with the first columns showing "right now"? Also, what does "right now" mean really? That the commit is in progress? Yes, you can safely download any of the snapshots, they essentially give you a snapshot of Koha after that commit. right now means it was the last change made, not that it's in progress, so it's perfectly safe.
Cheers,
Okay, I just now installed the most recent snapshot. I am not getting the error I reported in the original post. However, the report is taking forever to be produced -- the browser appears to be waiting for a response without any results. I am just playing around with the catalogue at present, it has only 1 item in it! BTW, when I logged in as kohaadmin after installing the new version, the 'upgrade wizard' ran and gave a few error regarding mysql and something about "already existing" stuff on mysql. Sorry but I didn't save the exact phrases. I logged in again and the errors were gone. Does this make any sense? ->HS
H.S. wrote:
Joshua Ferraro wrote:
On Mon, Mar 17, 2008 at 5:38 PM, H.S. <hs.samix@gmail.com> wrote:
Joshua Ferraro wrote:
On Mon, Mar 17, 2008 at 12:58 PM, H.S. <hs.samix@gmail.com> wrote:
MJ Ray wrote:
Not really. That part of C4::Reports looks to have changed a lot since 3.0alpha. I can't find KohaOpacLanguage mentioned in it. Can you retry with a more recent snapshot?
Thanks,
I guess I get a recent snapshot from the following link?
http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary Yep.
Cheers,
Thanks. Before I do this, can I safely download the snapshot with the first columns showing "right now"? Also, what does "right now" mean really? That the commit is in progress? Yes, you can safely download any of the snapshots, they essentially give you a snapshot of Koha after that commit. right now means it was the last change made, not that it's in progress, so it's perfectly safe.
Cheers,
Okay, I just now installed the most recent snapshot. I am not getting the error I reported in the original post. However, the report is taking forever to be produced -- the browser appears to be waiting for a response without any results. I am just playing around with the catalogue at present, it has only 1 item in it!
BTW, when I logged in as kohaadmin after installing the new version, the 'upgrade wizard' ran and gave a few error regarding mysql and something about "already existing" stuff on mysql. Sorry but I didn't save the exact phrases. I logged in again and the errors were gone. Does this make any sense?
->HS
Looks like I spoke too soon. After many minutes after starting, here is the message I just got in the browser: Confirm Custom Report ------------------------------------------------- Your report will be generated with the following SQL statement. SELECT items.barcode,biblio.title,biblio.author FROM items LEFT JOIN biblioitems on (items.biblioitemnumber=biblioitems.biblioitemnumber) LEFT JOIN biblio on (biblioitems.biblionumber=biblio.biblionumber) WHERE items.holdingbranch='GSQL' ORDER BY items.barcode asc You will need to save the report before you can execute it ------------------------------------------------- So, looks like it worked this far. ->HS
H.S. wrote:
Looks like I spoke too soon. After many minutes after starting, here is the message I just got in the browser: Confirm Custom Report ------------------------------------------------- Your report will be generated with the following SQL statement.
SELECT items.barcode,biblio.title,biblio.author FROM items LEFT JOIN biblioitems on (items.biblioitemnumber=biblioitems.biblioitemnumber) LEFT JOIN biblio on (biblioitems.biblionumber=biblio.biblionumber) WHERE items.holdingbranch='GSQL' ORDER BY items.barcode asc
You will need to save the report before you can execute it -------------------------------------------------
So, looks like it worked this far. ->HS
Yup, the report has been created and saved. I can run it and it also gives an option to be saved to a file. Thanks to the developers!! ->HS
participants (4)
-
H.S. -
Joshua Ferraro -
Marty Jongpier -
MJ Ray