Problem with kartris and unicode - well my conutry signs like šđčćž


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

By askomit - Mon 27 May 2013
i have a problem wen letters š đ č ć ž are used in product names and categories

cartris refuses to work... well.. you add it to shoping cart and it just crashes (any web browser) and you get the messageshow belove. Only way for kartris to work again is to clear the cache of web browser.... (in wordpress and other similar software i dont have problems with šđčćž letters)

you can try it yourself, try adding this to shoping cart and presing checkout

Add this to cart and you will get lower message

p.s. i did translate whole frontend to croatian language ... try switching language in internet explorer it wont work (well atleast on windows phone 8 and internet explorer 10 it does not work at all)

Oops!

An Error Occurred

Something appears to have gone wrong. We've logged the issue.

in log you get this:

-----------------------------------------------------------------------------
>> Version:2,0001
>> URL:http://www.askomit.hr/Product.aspx?ProductID=15&CategoryID=1&strParent=9&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27.5.2013. 20:31:56
>> 88.207.14.223
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Product.Page_LoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnLoadComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2,0001
>> URL:http://www.askomit.hr/Product.aspx?ProductID=15&CategoryID=1&strParent=9&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27.5.2013. 20:32:01
>> 88.207.14.223
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Product.Page_LoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnLoadComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2,0001
>> URL:http://www.askomit.hr/Basket.aspx
>> Page:
-----------------------------------------------------------------------------
>> 27.5.2013. 20:32:05
>> 88.207.14.223
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================
By askomit - Mon 27 May 2013
i just noticed... removed in one item šđčćž everywhere in name and links even in categories and it still happens...

But on english site everything is ok? What could be wrong?

as soon as i switch language it crashes...
By askomit - Mon 27 May 2013
some more errors

taxes are set, everything has croatian/english string or name

cant find whats wrong?!

as soon as i change languageit crashes

i add on english version of site everything to cart, go to checkout and everything works...

as soon as i change language to croatian on any part of web it crashes..

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Category.aspx?CategoryID=1&strParent=9&CPGR=0&PPGR=0&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:13:27
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Category.aspx?CategoryID=1&strParent=9&CPGR=0&PPGR=0&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:13:30
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Product.aspx?ProductID=10&CategoryID=1&strParent=9&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:13:37
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Product.aspx?ProductID=1&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:17:28
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Product.aspx?ProductID=15&CategoryID=1&strParent=9&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:17:37
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Product.aspx?ProductID=15&CategoryID=1&strParent=9&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:17:50
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Product.Page_LoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnLoadComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Product.aspx?ProductID=15&CategoryID=1&strParent=9&L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:18:00
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at Product.Page_LoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnLoadComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Basket.aspx?L=2
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:18:13
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Basket.aspx
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:18:14
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

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

-----------------------------------------------------------------------------
>> Version:2.0002
>> URL:http://www.askomit.hr/Wishlist.aspx
>> Page:
-----------------------------------------------------------------------------
>> 27/05/2013 23:18:20
>> 88.207.32.136
>> DESCRIPTION:
System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)
at System.Data.DataTable.Compute(String expression, String filter)
at TaxRegime.CalculateTaxRate(Double V_Tax, Double V_Tax2, Double D_Tax, Double D_Tax2, String D_TaxExtra)
at BasketBLL.Validate(Boolean blnAllowOutOfStock)
at Templates_BasketView.LoadBasket()
at Templates_BasketView.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================
By Paul - Tue 28 May 2013
The site works for me in Firefox.
By askomit - Tue 28 May 2013
did you try adding something to shoping cart?

Now i tried on another computer... firefox

it opens in croatian language, i click on product (POS Sector Lite - trajna licenca) and it switches to english

i clicked on add - to add it to shoping cart

it was added, then changed to croatian language

and got this

Oops!

An Error Occurred

Something appears to have gone wrong. We've logged the issue.


And also tried on friends comp (he was never on my site so there is no cache or anything)

he is using IE8 so switching language works - on IE10 it does not work and the same thing happens

tryed on Chrome and FireFox at hers computer the same thing...
By Paul - Tue 28 May 2013
I get an error if I switch to croatian language... do you have croatian language set up in there and with language strings? And croatian text for product names, details, etc.?
By askomit - Tue 28 May 2013
yes, i checked everything twice... hmmm

only backend is partialy translated...

strange thing is that sometimes i get $_Add on button on products, but there is no empty string in kartris left... i was thinking later today to use data tool to get translation out to see if there is some thing missing that is not visible in kartris
By askomit - Tue 28 May 2013
check for the third time...

hmm strange very strane
By Paul - Fri 31 May 2013
There is a 'fix' option for language strings in the back end which I think tries to fill in any missing ones by copying over the default language. Try backing up the db before you use this, just in case anything goes wrong.

I'm going to check the data tool export now... pretty sure the import is working fine in latest build.
By askomit - Fri 31 May 2013
import i did not try cose i need to do export first Smile