Registrarse | Entrar
martes, 22 de mayo de 2012
  Buscar
 Foros de discusión en Locopon's Minimizar
 
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorDNN 5.2 Localizator RedirectTo error when swiching languagesDNN 5.2 Localizator RedirectTo error when swiching languages
Anterior Anterior
 
Siguiente Siguiente
New Post
 29/12/2010 04:02 p.m.
 
 Modificado por groggu  on 29/12/2010 04:07:37 p.m.

Hi All,

I've just upgraded a site from DNN 3.3.7 to 5.2. and upgraded DSTabLocalizator to 3.0.5.  I'm occationally getting an error (see below) when switching between English, Japanese and Chinese.  I have not been able to find a pattern yet to what triggers the error, but, I can reproduce it almost at will.  

Any ideas on what I should look for?

Thanks!

Greg

---------------------------------------------------------

AssemblyVersion: 5.2.0
PortalID: 0
PortalName: ODVA
UserID: 1
UserName: host
ActiveTabID: 53
ActiveTabName: Home
RawURL: /Home/tabid/53/site_language/en-US/language/ja-JP/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://cms2.odva.org/Home/tabid/53/site_language/en-US/language/ja-JP/Default.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 82d0b84c-84c6-49c5-b339-41386aa07126
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Delisoft.DNN.Modules.DSLocalizator.DSLocaleSelectorGenerator.RedirectTo
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.at Delisoft.DNN.Modules.DSLocalizator.DSLocaleSelectorGenerator.RedirectTo(String MyLocale)at Delisoft.DNN.Modules.DSLocalizator.UI.DSLocaleSelectorPA.lstAvailableLanguages_SelectedIndexChanged(Object sender, EventArgs e)at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e)at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent()at System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()at System.Web.UI.Page.RaiseChangedEvents()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
Server Name: BITHOSTING1

New Post
 14/02/2011 10:52 a.m.
 

DSLocalizator 3.00.06 Beta will be released in a week or two. A lot has been re-written to fit better with DNN 5 and the unstability problem may just be one of those.

New Post
 20/03/2011 12:11 a.m.
 

Dear Groggu

Can you please send me the language pack you are using to locopon at tiendaboliviana dot com???

I will test the new version against this.

New Post
 21/03/2011 06:43 p.m.
 

Hi,

The configuration I use:
DNN 5.2.3.
DSLocalization 3.0.5.
en-US language pack
nl-NL Dutch language pack (default)
nl-BE Belgium language (fall back to nl-NL)
de-DE German language pack

When click the Belgium flag in the DSLocalization module then I get the error mentioned below.
However, everything works fine.
As long as I do not click this flag in the upper richt corner then I'am able to do everything.
The translations are working good.
It is not a serious error, but maybe you can take this in your testing for the next version.

With regards, Ton Hermes 

Error: DSLocalization not available this moment. (Fout: DSLocalizator is op dit moment niet beschikbaar. )
DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at System.String.Format(String format, Object arg0) at Delisoft.DNN.Modules.DSLocalizator.UI.DSTabLocalizator.LoadHostOptions() at Delisoft.DNN.Modules.DSLocalizator.UI.DSTabLocalizator.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

New Post
 23/03/2011 02:59 a.m.
 
 Modificado por taxivantha  on 23/03/2011 02:23:16 a.m.

ton_hermes wrote
 

When click the Belgium flag in the DSLocalization module then I get the error mentioned below.
However, everything works fine.

Do I read this right? You are in fact speaking about changing the language within the DSLocalizator administration module? I had noticed something strange about that, but I personally never feel the need to switch languages within the DSLocalizator module. I use the locale dropdown within the different administration controls to change languages during localization, but I keep the static text in the language I speak/read best.

But of course, this should work correctly in the stable version.

So, I did some tests with DNN 5.6.1 and DSL 3.0.5. I use en-US and km-KH as locales. I did some strange observations:

My DSL module is situated at this URL: http://mysite.edu.kh/Admin/Localizator/tabid/242/language/en-US/Default.aspx

Switching language takes me to http://mysite.edu.kh/Admin/Localizator/tabid/242/language/km-KH/Default.aspx and all is fine. I see the DSL administration module  in Khmer as expected.

Going to Portal localization at http://mysite.edu.kh/Admin/Localizator/tabid/242/ctl/PortalSettingsLocalization/mid/700/language/en-US/Default.aspx

Switching languages brings me to the following URL: http://mysite.edu.kh/Admin/Localizator/tabid/242/ctl/PortalSettingsLocalization/ctl/PortalSettingsLocalization/mid/700/language/km-KH/Default.aspx?SkinSrc=[L]Skins/New Skin/index wide&ContainerSrc=[L]Containers/New Skin/ContentPane for white bg
The content panel is now completely empty.

Going to Tab localizations at http://mysite.edu.kh/Admin/Localizator/tabid/242/ctl/TabLocalization/mid/700/language/en-US/Default.aspx

Shifting languages takes me to http://mysite.edu.kh/Admin/Localizator/tabid/242/ctl/TabLocalization/ctl/TabLocalization/mid/700/language/km-KH/Default.aspx?SkinSrc=[L]Skins/New Skin/index wide&ContainerSrc=[L]Containers/New Skin/ContentPane for white bg
ContentPane is now empty

Now for module Localization at http://mysite.edu.kh/Admin/Localizator/tabid/242/ctl/ModuleLocalization/mid/700/language/en-US/Default.aspx

Changing languages takes me to http://mysite.edu.kh/Admin/Localizator/tabid/242/ctl/ModuleLocalization/ctl/ModuleLocalization/mid/700/language/km-KH/Default.aspx?SkinSrc=[L]Skins/New Skin/index wide&ContainerSrc=[L]Containers/New Skin/ContentPane for white bg
Again empty ContentPane.

My skins use DSLocaleSelector for language selection

I will research this further.

Anterior Anterior
 
Siguiente Siguiente
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorDNN 5.2 Localizator RedirectTo error when swiching languagesDNN 5.2 Localizator RedirectTo error when swiching languages