[ic] Error perl script to upgrate 4.9

Stefano Kerschbaumer stefano at interline.it
Wed Jan 21 13:48:47 EST 2004


Alle 19:26, mercoledì 21 gennaio 2004, Ed LaFrance ha scritto:
> At 10:15 AM 1/21/2004 +0100, you wrote:
> >Alle 17:29, sabato 17 gennaio 2004, Ed LaFrance ha scritto:
> > > At 09:39 AM 1/17/2004 +0100, you wrote:
> > > >Ed LaFrance wrote:
> > > >>At 03:57 PM 1/16/2004 +0100, you wrote:
> > > >>>Stefano Kerschbaumer - Interline S.r.l. wrote:
> > > >>>>[snip]
> > > >>>
> > > >>>This is the line error and is the total cost of the order
> > > >>>
> > > >>>my $price = $Tag->total_cost({noformat => 1,});
> > > >>>
> > > >>>
> > > >>>It's another command to have this value ?
> > > >>>
> > > >>>Sorry for the english ;-)
> > > >>>
> > > >>>Saluti Stefano
> > > >>
> > > >>I've had to do this in interchange.cfg:
> > > >>
> > > >>AllowGlobal my_catalog_name
> > > >>
> > > >>(restart interchange)
> > > >>
> > > >>...then in your perl block:
> > > >>
> > > >>[perl tables="(your list of tables)" global=1]
> > > >>...
> > > >>[/perl]
> > > >>
> > > >>...and then I can use $Tag->total_cost() in [perl]. I am usure what
> > > >> it is about the tag that forces the use of global.
> > > >>
> > > >>- Ed L.
> > > >>
> > > >>
> > > >>===============================================================
> > > >>New Media E.M.S. Technology Solutions for Business
> > > >>11630 Fair Oaks Blvd., #250 eCommerce | Consulting | Hosting
> > > >>Fair Oaks, CA 95628 edl at newmediaems.com
> > > >>(916) 961-0446 http://www.newmediaems.com
> > > >>(866) 519-4680 Toll-Free (916) 961-0447 Fax
> > > >>===============================================================
> > > >>_______________________________________________
> > > >>interchange-users mailing list
> > > >>interchange-users at icdevgroup.org
> > > >>http://www.icdevgroup.org/mailman/listinfo/interchange-users
> > > >
> > > >The command line $Tag->total_cost() in [perl] not running ... :-(
> > > >
> > > >I've had "AllowGlobal bottegaalpina" and restart interchange and in a
> > > > tag
> > > >
> > > >[perl tables="products pricing shipping salestax" global=1 reparse=1]
> > > >
> > > >my $price =$Tag->total_cost();
> > > >
> > > >[/perl]
> > > >
> > > >this code is insert in the etc/receipt.html and in this page the tag
> > > >[total-cost] is ok ...
> > > >
> > > >Ciao Stefano :-(((
> > >
> > > What is the error message now, has it changed? Do you have anything in
> > > the cart? Also, reparse=1 is not needed, so try removing it. Finally,
> > > you may need to add 'options variants' to your tables.
> > >
> > > - Ed
> > >
> > >
> > > ===============================================================
> > > New Media E.M.S.              Technology Solutions for Business
> > > 11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
> > > Fair Oaks, CA  95628          edl at newmediaems.com
> > > (916) 961-0446                http://www.newmediaems.com
> > > (866) 519-4680 Toll-Free      (916) 961-0447 Fax
> > > ===============================================================
> > >
> > > _______________________________________________
> > > interchange-users mailing list
> > > interchange-users at icdevgroup.org
> > > http://www.icdevgroup.org/mailman/listinfo/interchange-users
> >
> >The error is the same:
> >
> >Error 500 ...      The server encountered an internal error and was unable
> > to complete your request.     Error message:     Premature end of script
> > headers: ....
>
> Yes, but what is the error in your catalog error.log and the interchange
> server error.log?
>
> - Ed
>
>
> ===============================================================
> New Media E.M.S.              Technology Solutions for Business
> 11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
> Fair Oaks, CA  95628          edl at newmediaems.com
> (916) 961-0446                http://www.newmediaems.com
> (866) 519-4680 Toll-Free      (916) 961-0447 Fax
> ===============================================================
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

It's all OK !!!!!

Thanks Ed !!!!!!

Stefano




More information about the interchange-users mailing list