> Forums > Active Social > Community Support > asClient.Init JS error on pages with AS modules present
Last Post 06 May 2011 09:39 AM by Ben - DotNetNuke. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Mr D Rice -
Customers
Mr D Rice -
Post Count:

--
06 May 2011 03:56 AM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.6.1
    DNN 5.6.2 CE, .NET 4, AS 1.9.2, AF 4.3.5

    We have a JS error appearing on any pages with an AS module on it. The details are below:

    Message: 'dnn_ctr425_ZhenlModuleContainer_ctr426_Main_cbMain' is undefined

    The line in question is below:

    asClient.Init(null,dnn_ctr425_ZhenlModuleContainer_ctr426_Main_cbMain,dnn_ctr425_ZhenlModuleContainer_ctr426_Main_ctlModal, '/desktopmodules/activesocial/');asClient.MaxStatusLength = 1000;var asImgClose = '/desktopmodules/activesocial/images/close.gif';var asScriptPath = '/desktopmodules/activesocial/scripts/';var imgSpacer = '/desktopmodules/activesocial/images/spacer.gif';asClient.SiteId = 0;asClient.gid = 5;asClient.IsIE= false;var asui_disabled = false;var asutil_pvurl = '';var asutil_pnurl = 'http://domain.co.uk';var amasmodkey = 'NrUdR3lEFF94oV8fGKP+DA==';as_userOffset(); asClient.History.Initialize();asClient.Journal.Init('dnn_ctr425_ZhenlModuleContainer_ctr426_Main_group_ctlJournal_lstJournal_CB',ams_journal_resx);asClient.Journal.CanUpdate=false; asClient.PID = null;

    Looking in the source, a control with the ID of dnn_ctr425_ZhenlModuleContainer_ctr426_Main_cbMain doesn't exist.

    Could you let me know if there is something we can do about this?

    Thanks
    Dan
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    06 May 2011 09:39 AM
    Can you try changing the container that the module is in? Perhaps use the DNN Default container, one of the MinimalExtropy containers. Or you could uncheck "Display Container".
    You are not authorized to post a reply.
    > Forums > Active Social > Community Support > asClient.Init JS error on pages with AS modules present
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy