[ic] Profile looping problem...

Ed LaFrance interchange-users@icdevgroup.org
Fri Dec 6 12:35:00 2002


At 12:12 PM 12/06/2002 -0500, you wrote:
>When someone attempts to "place order" it appears just to reload the same
>screen.
>
>The error message in the error log is:
>
>Order profile credit_card not found

The profiles.order file is probably contaminated with carriage returns, I 
have seen that cause this kind of behavior before, and the same goes for 
catalog.cfg for that matter. You can strip them out with command-line Perl:

perl -i -p -e 's/\r//g' path/to/file

...then Apply Changes and try again.

- Ed .





>Credit cards are the only payment method we accept over the web site, and
>the profiles.order is saved in the etc folder.  Below are snippits from
>the related files.
>
>I'm really in need of help here, I dont even know anywhere else to look,
>and after the trouble that the isp gave us restoreing the catalog.cfg file
>the site has been down for 3 days now, and I need to get it back up ASAP.
>
>Thank you very much.
>David
>
>-----------------------------------------------------
>checkout.html
>-----------------------------------------------------
>blah, blah, blah
>
>[if !value payment_method]
>       [or value payment_method eq credit]
>       [then]
>
>       <input type=hidden name=mv_order_profile value=credit_card>
>
>blah, blah, blah
>-----------------------------------------------------
>
>
>
>
>
>-----------------------------------------------------
>profiles.order
>-----------------------------------------------------
>__NAME__                            credit_card
>fname=required
>lname=required
>
>blah, blah, blah...
>
>__END__
>-----------------------------------------------------
>
>
>-----------------------------------------------------
>catalog.cfg
>-----------------------------------------------------
>blah, blah, blah...
>
>OrderCounter    etc/order.number
>OrderLineLimit  200
>OrderProfile    etc/profiles.order etc/profiles.login etc/profiles.misc
>
>blah, blah, blah...
>-----------------------------------------------------
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users

_______________________________________________________________
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
New Media E.M.S.              Technology Solutions for Business
463 Main St., Suite D         eCommerce | Consulting | Hosting
Placerville, CA  95667        edl@newmediaems.com
(530) 622-9421                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (530) 622-9426 Fax
_______________________________________________________________
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯