Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Default language missing after upgradeDefault language missing after upgrade
Previous
 
Next
New Post
3/31/2009 7:23 AM
 

I used the upgrade install to go from 4.9.1 to 5.0.1.  (I needed the caching performance improvements that went into 5.0.1 because I couldn't add portals due to the large amount of time it was taking to clear the cache when the portal was saved.)

Now I can add portals, but I can't change the settings.  The default language drop down is empty, and changing the portal settings just results in an exception due to trying to set the DefaultLanguage column to NULL in the DB.  If I go to Host->Languages, it just shows a blank screen.  (Incidentally, going to Host->Modules also shows a blank screen, which is odd.)

Any ideas on how I can get it to show a language in that default language drop down?

 

 
New Post
3/31/2009 8:46 AM
 

host languages shall display a list of installed language packs, including core LP for framework and any extension. You may also get all LPs listed inside Host:: extensions. Make sure, there is an LP for the core for every language installed.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/31/2009 10:19 AM
 
 
New Post
4/1/2009 3:32 AM
 

I had no language packs installed.  This is a simple upgrade of a 4.9.1 system to 5.0.1.

Host::Languages displays nothing...there is no container showing an admin control where I would expect a control to exist.  There is nothing there.  When editing the portal settings, the default language drop down has nothing in it at all.  I can't save the portal settings because apparently there needs to be something there. 

 

 
New Post
4/1/2009 5:20 AM
 

I believe I found the problem....

In Library\Services\Localization\Localization.vb there is a method named LoadCultureDropDownList.  This is what populates the drop down list in SiteSettings.ascx when modifying a site's settings.

In 4.9.1's code, the first thing this method did was call GetSupportedLocales.  GetSupportedLocales, upon finding no language packs installed, would create a locale en-US and return it was the list of supported locales.  This method has been marked as obsolete in 5.0.1.

In 5.0.1, it calls GetLocales.  GetLocales does a query from the database and execs GetLanguagesByPortal.  Well the problem is that the 5.0.1 upgrade script would have to insert a language setting in the PortalLanguages table for every portal in the system.  There would also have to be an entry made into this table when a new portal is created.  This is likely not desirable.

 

Therefore, it looks like either GetLocales or LoadCultureDropDownList needs to detect when no languages are set for a portal, and force en-US as an available in that case.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Default language missing after upgradeDefault language missing after upgrade


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out