logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
View
Go to last post Go to first unread
Offline bitnet  
#1 Posted : Wednesday, August 20, 2008 4:46:49 AM(UTC)
Quote
bitnet
Joined: 7/3/2007(UTC)
Posts: 1,120

Shalom,

I seem to be having a problem getting the pictures in the threads now. Would Mozilla Firefox and derivatives like Flock have a problem with the pics? This only happened after the upgrade.

Occasionally I also get the following:

Quote:

Server Error in '/' Application.


Error getting User Language.
System.ArgumentException: Culture name 'en-my' is not supported.
Parameter name: name
at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name)
at YAF.Classes.Base.ForumPage.InitCulture() in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Classes\YAF.Classes.Base\ForumPage.cs:line 382
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ApplicationException: Error getting User Language.
System.ArgumentException: Culture name 'en-my' is not supported.
Parameter name: name
at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name)
at YAF.Classes.Base.ForumPage.InitCulture() in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Classes\YAF.Classes.Base\ForumPage.cs:line 382

Source Error:


Line 106: this.Controls.AddAt( 0, _header );
Line 107:
Line 108: this.Controls.Add( forumControl );
Line 109:
Line 110: // add the footer control after the page...


Source File: d:\webs\getoo1000a\App_Code\YAF\Forum.cs Line: 108

Stack Trace:


[ApplicationException: Error getting User Language.
System.ArgumentException: Culture name 'en-my' is not supported.
Parameter name: name
at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(String name)
at YAF.Classes.Base.ForumPage.InitCulture() in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Classes\YAF.Classes.Base\ForumPage.cs:line 382]
YAF.Classes.Base.ForumPage.InitCulture() in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Classes\YAF.Classes.Base\ForumPage.cs:389
YAF.Classes.Base.ForumPage.ForumPage_Init(Object sender, EventArgs e) in C:\Documents and Settings\joe\My Documents\dev\YAF\YAF.Classes\YAF.Classes.Base\ForumPage.cs:174
System.Web.UI.Control.OnInit(EventArgs e) +99
System.Web.UI.UserControl.OnInit(EventArgs e) +74
System.Web.UI.Control.InitRecursive(Control namingContainer) +321
System.Web.UI.Control.AddedControl(Control control, Int32 index) +221
System.Web.UI.ControlCollection.Add(Control child) +146
YAF.Forum.Forum_Load(Object sender, EventArgs e) in d:\webs\getoo1000a\App_Code\YAF\Forum.cs:108
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436



Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433



Any idea what's happening?
The reverence of Yahweh is the beginning of Wisdom.
Offline forumadmin  
#2 Posted : Sunday, August 24, 2008 7:29:58 AM(UTC)
Quote
forumadmin
Joined: 6/2/2007(UTC)
Posts: 37

Was thanked: 3 time(s) in 1 post(s)
This error is appearing because the software does not have settings to accommodate the culutre / localization code for Malaysian English.
I added a clause to default to US English if the culture can't be found instead of throwing that error.

Thank you for the alert, and I'll let you know if the yetanotherforum support staff comes up with a different solution.
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You can create polls in this forum.
You can vote in polls in this forum.