[ic] Util.pm and "Vend" question.

Ed LaFrance edl at newmediaems.com
Thu Nov 13 08:41:38 EST 2003


At 05:15 PM 11/12/2003 -0800, you wrote:
>Thanks Racke.
>
>We are doing something just like this site:
>http://store.slackware.com
>
>After I input something in the box, and at last I click the "Check out" button
>after filled the Credit card number box, this error message just appeared.It
>looks that,it can not send the mail.Whether I do or do not click the mail
>check box, I always got this message.
>
>I try to add some code in Util.pm, but I don't know what code should I add or
>change.You know, I am also a Perl beginer.:)Should I modify this
>module(Util.pm)? If not, what should I do?
>
>We got the newest version of interchage called:interchange-4.9.9.Then run:
># ./configure
>(Whether after I run config, it also has installed the interchange?)
>and then start interchange:
>#su interch
>#cd /usr/local/interchange
>#interchange
>
>Thanks
>-krs

Just a thought - if you have downloaded any of the Interchange Perl modules 
to a Windows box to work on them (i.e. Util.pm), then uploaded them again, 
you could have a problem like this. Embedded Windows carriage returns are 
your enemy in Perl code on on *nix box. If this is the case, try stripping 
them out of the affected files and restart interchange:

         cd VENDROOT/lib/Vend
         perl -i -p -e 's/\r//g' Filename.pm

- 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
=============================================================== 



More information about the interchange-users mailing list