Giter VIP home page Giter VIP logo

Comments (2)

GregGreensky avatar GregGreensky commented on August 19, 2024

DNN Chat had almost always (except for the very fist version) problems with putting up localized values only from the SharedResources.pl-PL.resx as is my case. It keeps pulling the values from the original SharedResources.resx file even though the language is pl-PL.

Recently (after upgrading DNN to 7.3.1and DNN Chat to 2.1.0) the DNN Event Viewer started to show meaningful error messages similar to below:

Message:

System.Exception: The following resource file caused an error while reading: ---> System.ArgumentException: Względna ścieżka wirtualna 'sharedresources.pl-pl.resx' nie jest dozwolona.
w System.Web.VirtualPath.FailIfRelativePath()
w System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull)
w System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath virtualPath)
w System.Web.Hosting.HostingEnvironment.MapPath(VirtualPath virtualPath)
w DotNetNuke.Services.Localization.LocalizationProvider.GetResourceFileCallBack(CacheItemArgs cacheItemArgs)
--- Koniec śladu stosu wyjątków wewnętrznych ---
w DotNetNuke.Services.Localization.LocalizationProvider.GetResourceFileCallBack(CacheItemArgs cacheItemArgs)
w DotNetNuke.Common.Utilities.DataCache.GetCachedDataFromDictionary(CacheItemArgs cacheItemArgs, CacheItemExpiredCallback cacheItemExpired)

Only the virtual paths change (in bold):
'sharedresources.resx'
'sharedresources.host.resx'
'sharedresources.portal-0.resx'
'sharedresources.pl-pl.host.resx'
'sharedresources.pl-pl.portal-0.resx'

The FF 30 console shows two errors:

  • detailed error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: ""] originating in a resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/Grzegorz/AppData/Roaming/Mozilla/Firefox/Profiles/u3qwtoxq.default-1376713163407/extensions/[email protected]!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://jid1-4p0kohsjxu1qgg-at-jetpack/hola_firefox_ext/lib/proxy.js file, line 305;
  • Error: cannot call methods on dialog prior to initialization; attempted to call method 'close' in http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js?cdv=81 file, line 3

Interestingly, after the both upgrades DNN Chat started to localize the message for Disconnected.Text value. Only this one. :)

from dnnchat.

ChrisHammond avatar ChrisHammond commented on August 19, 2024

I ran into a problem with one of my servers filling up on space due to the localization issues. Unfortunately with all my testing I've been unable to reproduce in development to get them corrected :(

from dnnchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.