YAFLogo

visendo
  • visendo
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago

Hi,

I upgrade to RC3 and was ok, till i modify the theme of the board
the i got - "Invalid language file exception" with the details below.


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: Invalid language file E:\MyProjects\websites\yaf_svn\YetAnotherForum.NET\languages\en-US

Source Error:

Line 121:      if (this._fileName == string.Empty || !File.Exists(this._fileName))
Line 122:      {
Line 123:        throw new ApplicationException("Invalid language file " + this._fileName);
Line 124:      }
Line 125:


Source File: E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Localization\Localizer.cs    Line: 123

Stack Trace:

[ApplicationException: Invalid language file E:\MyProjects\websites\yaf_svn\YetAnotherForum.NET\languages\en-US]
   YAF.Classes.Core.Localizer.LoadFile() in E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Localization\Localizer.cs:123
   YAF.Classes.Core.Localizer..ctor(String fileName) in E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Localization\Localizer.cs:76
   YAF.Classes.Core.YafLocalization.LoadTranslation(String fileName) in E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Localization\YafLocalization.cs:237
   YAF.Classes.Core.YafLocalization.LoadTranslation() in E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Localization\YafLocalization.cs:306
   YAF.Classes.Core.YafLocalization.get_LanguageCode() in E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Localization\YafLocalization.cs:121
   YAF.Classes.Core.YafTheme.GetItem(String page, String tag, String defaultValue) in E:\MyProjects\websites\yaf_svn\YAF.Classes\YAF.Classes.Core\Theme\YafTheme.cs:132
   YAF.Forum.GetPageSource() in E:\MyProjects\websites\yaf_svn\YetAnotherForum.NET\Classes\Forum.cs:501
   YAF.Forum.Forum_Load(Object sender, EventArgs e) in E:\MyProjects\websites\yaf_svn\YetAnotherForum.NET\Classes\Forum.cs:407
   System.Web.UI.Control.OnLoad(EventArgs e) +296
   System.Web.UI.Control.LoadRecursive() +240
   System.Web.UI.Control.LoadRecursive() +362
   System.Web.UI.Control.LoadRecursive() +362
   System.Web.UI.Control.LoadRecursive() +362
   System.Web.UI.Control.LoadRecursive() +362
   System.Web.UI.Control.LoadRecursive() +362
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3815


Is any workaround for it ?

reagards
Sponsor

Jethro Tull
12 years ago
I have the same problem - here is the error:

Stack Trace:

[ApplicationException: Invalid language file D:\Hosting\4967640\html\forums\languages\english.xml]
   YAF.Classes.Core.Localizer.LoadFile() +342
   YAF.Classes.Core.Localizer..ctor(String fileName) +49
   YAF.Classes.Core.YafLocalization.LoadTranslation(String fileName) +278
   YAF.Classes.Core.StaticDataHelper.TimeZones(String forceLanguage) +28
   YAF.Install._default.Page_Load(Object sender, EventArgs e) +345
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

How do I fix this?
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button