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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...en-GB versus 11 other languagesen-GB versus 11 other languages
Previous
 
Next
New Post
12/1/2010 11:37 AM
 
Hello,
we have a website in 11 languages... all is fine... but... en-GB return an critical error... on a lot of page.
We have test to clone the page : no problem, the new page is ok
We have test to delete all module in a page in critical error : no success (always the critical error)
We have test to create a blank page : no problem
add all possible module : no problem

short idea !!!

thanks




AssemblyVersion: 5.6.0
PortalID: 4
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Events.html
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://XXXXXX/Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 22bf1ab9-98cd-4268-be5f-e93daa955bcd
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Framework.DefaultPage.InitializePage
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 DotNetNuke.Framework.DefaultPage.InitializePage() at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:


 
New Post
12/2/2010 8:48 AM
 
DRUPAL must be my friend ?
 
New Post
12/2/2010 9:50 AM
 
i find something in the profiler :

exec dbo.GetPortal @PortalId=4,@CultureCode=N'en-US,en-GB'

return nothing !

but exec dbo.GetPortal @PortalId=4,@CultureCode=N'en-US,en-G'

return good information !

and the culturecode in PortalLocalization contain a a corrupt char storage (?) :
en-GB,fr-F
en-US,en-G
fr-FR,ru-R
de-DE,es-E
zh-HK,zh-C


any idea ?
 
New Post
12/2/2010 9:55 AM
 
i write a patch :


GO
/****** Object:  StoredProcedure [dbo].[GetPortal]    Script Date: 12/02/2010 15:48:09 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


ALTER PROCEDURE [dbo].[GetPortal]

    @PortalId  int,
    @CultureCode   nvarchar(50)

AS

/* EL - 20101202 */
if LEN(@CultureCode)=11
begin
    set @CultureCode = SUBSTRING(@CultureCode,0,11)
end

    SELECT *
    FROM dbo.vw_Portals
    WHERE PortalId = @PortalId
        AND CultureCode=@CultureCode
 
New Post
12/2/2010 12:19 PM
 
Something is badly wrong here - culturecode's are singular i.e. 'en-us' or 'en-gb' -they should not be being passed in a comma-delimited list (i.e. nowhere in the core do we pass things such as 'en-us,en-gb' ). Are you using any custom modules for your languages?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...en-GB versus 11 other languagesen-GB versus 11 other languages


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