You can't run that kind of script from the command line.
On Thu, Jun 25, 2009 at 3:43 PM, Roche III, Edward < edward_ro...@solanco.k12.pa.us> wrote: > Has anyone used updateitem.pl script before after importing data into > the items table? Whenever I run it displays html instead of any type of > progress. > > Thanks! > Ed > > Edward J. Roche > Network Administrator > Solanco School District > 717.786.2151 x2437 > > "At the End of the Day, Did You Play to Win or Not to Lose?" > > > > -----Original Message----- > From: Roche III, Edward > Sent: Wednesday, June 24, 2009 1:03 PM > To: Roche III, Edward; koha-devel > Subject: RE: [Koha-devel] Barcode Not Found > > I updated the fields to include the barcode field in updateitem.pl and > saved it as a new file. Now do I run it like I would the other PERL > scripts that are used to import a catalog or rebuild zebra because when > I do that it shows me HTML code instead of executing the script. > > Thanks! > Ed > > Edward J. Roche > Network Administrator > Solanco School District > 717.786.2151 x2437 > > "At the End of the Day, Did You Play to Win or Not to Lose?" > > > > -----Original Message----- > From: koha-devel-boun...@lists.koha.org > [mailto:koha-devel-boun...@lists.koha.org] On Behalf Of Roche III, > Edward > Sent: Wednesday, June 24, 2009 11:50 AM > To: koha-devel > Subject: Re: [Koha-devel] Barcode Not Found > > Forgot to add the list back on to my response to Mason.... > > > So if I change the lostitem fields to what I need to update and should > do it? > > Thanks! > Ed > > Edward J. Roche > Network Administrator > Solanco School District > 717.786.2151 x2437 > > "At the End of the Day, Did You Play to Win or Not to Lose?" > > > > -----Original Message----- > From: Mason James [mailto:mason.loves.su...@gmail.com] > Sent: Tuesday, June 23, 2009 5:45 PM > To: Roche III, Edward > Cc: koha-devel > Subject: Re: [Koha-devel] Barcode Not Found > > > On 2009/06/24, at 6:21 AM, Roche III, Edward wrote: > > > Is this a script that needs to be run? > > > no, its a subroutine in ./C4/Items.pm, see... > http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=blob;f=C4/ > Items.pm;h=6c58365ef0d192d4ee7126823397f3f7fc9c9780;hb=HEAD#l453 > > > > How would you use the C4:Items:ModItems() API? > > > take a look here for an example of it being used in a script > http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=blob;f=catalogue/ > updateitem.pl;h=7b0b673727fe1e55299332a2ff13a1130ebe2f41;hb=HEAD > > > > > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha.org > http://lists.koha.org/mailman/listinfo/koha-devel > > _______________________________________________ > Koha-devel mailing list > Koha-devel@lists.koha.org > http://lists.koha.org/mailman/listinfo/koha-devel >
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel