Error in Generating Barcodes and Authorities
Dear All I am trying to generate barcodes from Koha (Using Generate Barcodes Link at Koha Admin>> Barcode Generator>> Generate Barcodes). But I always find an error given below in intranet-errorlog file of Apache: [Wed Feb 14 13:14:40 2007] [error] [client 127.0.0.1] Premature end of script headers: barcodesGenerator.pl, referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl [Wed Feb 14 13:14:40 2007] [error] [client 127.0.0.1] Can't locate PDF/API2/PDF/Utils.pm in @INC (@INC contains: c:/usr/koha227/intranet/modules C:/usr/site/lib C:/usr/lib .) at C:/usr/koha227/intranet/cgi-bin/koha/barcodes/barcodesGenerator.pl line 33., referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl [Wed Feb 14 13:14:40 2007] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/usr/koha227/intranet/cgi-bin/koha/barcodes/barcodesGenerator.pl line 33., referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl I have installed PDF-API2-0.57 but the error is still there. What should i do? Also, I am unable to add new authorities. I always find a javasript error on the page. Note: I am using Koha 227 on Windows XP. Ata
Thanks Rob But now there is change in error as under: [Sat Feb 17 13:54:47 2007] [error] [client 127.0.0.1] Unable to open /tmp/857330-127.0.0.1-(From 1 to 10)-[17.2.2007]-[13:54:47].pdf for writing at C:/usr/site/lib/PDF/API2/Basic/PDF/File.pm line 511., referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl [Sat Feb 17 13:59:47 2007] [error] [client 127.0.0.1] Premature end of script headers: barcodesGenerator.pl, referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl Any idea? Ata On 2/16/07, Rob Weir <robweir@alum.drexel.edu> wrote:
Hi Ata, You can fix your barcode error by opening barcodesGenerator.pl in a text editor and changing line 33 from use PDF::API2::PDF::Utils; to use PDF::API2::Basic::PDF::Utils; There is another file, printerConfig.pl, in the same folder that needs the same correction, also in line 33. Both of these files are located at C:\usr\koha227\intranet\cgi-bin\koha\barcodes\
I don't know about your other error. I will see if I can duplicate it.
Rob
Ata ur Rehman wrote:
Dear All
I am trying to generate barcodes from Koha (Using Generate Barcodes Link at Koha Admin>> Barcode Generator>> Generate Barcodes). But I always find an error given below in intranet-errorlog file of Apache:
[Wed Feb 14 13:14:40 2007] [error] [client 127.0.0.1] Premature end of script headers: barcodesGenerator.pl, referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl [Wed Feb 14 13:14:40 2007] [error] [client 127.0.0.1] Can't locate PDF/API2/PDF/Utils.pm in @INC (@INC contains: c:/usr/koha227/intranet/modules C:/usr/site/lib C:/usr/lib .) at C:/usr/koha227/intranet/cgi-bin/koha/barcodes/barcodesGenerator.pl line 33., referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl [Wed Feb 14 13:14:40 2007] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at C:/usr/koha227/intranet/cgi-bin/koha/barcodes/barcodesGenerator.pl line 33., referer: http://intranet/cgi-bin/koha/barcodes/barcodes.pl
I have installed PDF-API2-0.57 but the error is still there. What should i do?
Also, I am unable to add new authorities. I always find a javasript error on the page.
Note: I am using Koha 227 on Windows XP.
Ata
------------------------------
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nzhttp://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Ata ur Rehman -
Rob Weir