Strange Error on finnal step of Checkout process


https://forum.kartris.com/Topic2674.aspx
Print Topic | Close Window

By tasosdr - Tue 17 Dec 2013
I am facing a quite strange issue on the final step of the checkout. The error log is folloing:

-----------------------------------------------------------------------------
>> Version:2,5004
>> URL:http://dev.rira.gr/Checkout.aspx
>> Page:
-----------------------------------------------------------------------------
>> 18/12/2013 12:14:37 πμ
>> 5.55.189.22
>> DESCRIPTION:
System.ArgumentException: Argument 'Length' must be greater or equal to zero.
at Microsoft.VisualBasic.Strings.Left(String str, Int32 Length)
at CkartrisBLL.ExtractHTMLBodyContents(String strHTML)
at CheckoutComplete.Page_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================


Can someone give me an insight of how can iI deal with it?
Its quite urgent, I am in a hurry to deliver.

Thanks,

Tasos
By Mart - Wed 18 Dec 2013
I just put an order through (in English) - it worked fine for me. I selected "offline payment" option, and put in a UK address.

It said it sent me an email, but I didn't get it - check you have mail configured on the server and within Kartris (can test using the contact form rather than placing an order each time)
By tasosdr - Wed 18 Dec 2013
Yes It works in English but it doesn't in Greek (or German). I can not figure out why though.Any insights of how can I solve it?
The Greek language is the main one.

Tasos
By tasosdr - Sun 29 Dec 2013
It is a bit urgent to have a solve in this issue.It keeps me form finalising the project.
Please is there any way to point me to a solution?
It is only occures in the non English languages.
I have tried and translated anything I could imagine relevant but nothing yet.
Please point me someware to search.

Thanks
By Paul - Sun 29 Dec 2013
The problem is lack of language email templates for the other languages.

Check your skin folder's 'templates' folder. This has HTML templates for various emails. The default ones are EN for english, you need to copy these templates and create DE and GR ones to handle those other languages.
By tasosdr - Mon 30 Dec 2013
Yes! Indeed it made the trick.It works like a charm.
Though it took a minor change to work.
For the Greek language it has to be EL instead of GR.

Thank you so much for your help.

Tasos