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 ...Cannot add existing module to pageCannot add existing module to page
Previous
 
Next
New Post
10/25/2013 11:37 PM
 
Could it be you are using a objectQualifier or an other databaseOwner as the dbo ?
 
New Post
10/31/2013 7:16 PM
 
I am with a web hosting company that hosts hundreds of DNN sites. I recently did a few default installs of DNN 7.1.2. After they were installed, it was brought to my attention that if you go to:

Admin -> Site Settings -> Advanced Settings

Click on any of the following:
Home Page
Registration Page
User Profile Page

 The drop down selector opens up and just spins. If I use firebug, I found the following error:

TypeError: model.children is undefined


for (var i = 0, count = model.children.length; i < count; i++) {

the page with the error is:
/resources/shared/components/dropdownlist/dnn.dropdownlist.js?cdv=18

 The code section from the page where the error is:
    TreeNodeConverter.castNode = function(model) {
        if (!model) {
            return null;
        }
        var castedNode = TreeNodeConverter.createNodeFromModel(model.data);
        for (var i = 0, count = model.children.length; i < count; i++) {
            castedNode.children.push(TreeNodeConverter.castNode(model.children[i]));
        }
        return castedNode;
    };

Through much research I ran across the original issue in this post which appeared to be related, but the original poster was doing something different. So I tried to do the same thing that was originally posted in this article and was not able to. The reason is that the default Control Panel is set to RIBBONBAR and it handles adding modules different than the CONTROLBAR setting. So I updated the installation to CONTROLBAR and now I can replicate the same exact problem the original poster is seeing. Also, the issue I am reporting is still occurring as well.

Can the original poster try and see if they can replicate the issue I am having with:

 Admin -> Site Settings -> Advanced Settings

Click on any of the following:
Home Page
Registration Page
User Profile Page

Also, these sites are setup on the following:
Windows 2008 R2
Plesk 11.5
MS SQL 2008 R2
DNN was installed with the defaults using DotNetNuke_Community_07.01.02_Install.zip which was downloaded from dotnetnuke.codeplex.com.
Tried with the installed jquery

1.9.1

1.10.3

 

 

I also tried the hosted jquery versions that were listed by default:

http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js
I also tried a few other versions of jquery and jqueryui without success

I also tried to install 7.1.0, 7.1.1 and 7.1.2 with the same results.

I then installed DotNetNuke_Community_07.00.06_Install.zip downloaded from dotnetnuke.codeplex.com and everything worked as it should. I then installed the 7.1.2 upgrade package from codeplex.com over  it. It completed without errors, but the problems I am reporting are not occurring.

I am at a loss as to where to go from here and feel that this issue is related to the original posters and hope to find a resolutions here?
Any ideas?



 


 
New Post
11/1/2013 5:27 AM
 

On what compatibility Level runs the databases ?   If the database runs in an level down to 100 it uses not the SQL Server 2008 Features.

 Is there a custom Skin, or a custom module in use that using own jQuery and/or jQueryUI ?  If Skins or modules loading it's own jQuery librarys they nead a rework.

 

What are the Plesk permission settings for the httpdocs/DNN Folder? 

 If DNN is installed in the httpdocs Folder the hoster have to Change the the default configuration of the plesk templates about Plesk did NOT allow changing permission settings of the httpdocs folder.

What are the execute settings for the IIS Handlers, it must be have execute permissions for scripts and executables.

 
New Post
11/1/2013 6:24 AM
 
I can confirm the additional findings. If I click on Settings -> Advanced -> User Profile Page then it does not work (just the rotating update Icon; same as trying to add an existing module).

My site is not running on Plesk. It is on a Windows 2008 R2 VPS. I also identified the same javascript issues (model.children.length) using the Chrome and IE developer tools - but have no idea how to address these.
 
New Post
11/1/2013 9:02 PM
 

The DBs compatibility mode is set to: SQL Server (100)

It was a default install of DNN with the default skins and modules.

In the Plesk Hosting Panel, I enabled " " which gives the IWPD user full access to the httpdocs folder and has worked on all versions of DNN up to 7.1.x. However, to do my due diligence, I logged onto the server and gave Full Permissions to the IWPD and ISUR and still the same issue.

 I also checked and made sure that in IIS for the site:

 Handler Mappings -> Edit Feature Permissions is set to read, script and execute.

The 7.1.x sites which are having issues are hosted on the same server that has over 100 DNN sites on it. Every DNN site on that server works properly except for DNN versions 7.1.x. Is there anything different in 7.1.x from the prior versions of DNN that require any specific server configuration? If not, then this issue must not be server related?

I have absolutely no idea why the .js file is giving an error on "model.children.length" in the function:

TreeNodeConverter.castNode = function(model) {
if (!model) {
return null;
}
var castedNode = TreeNodeConverter.createNodeFromModel(model.data);
for (var i = 0, count = model.children.length; i < count; i++) {
castedNode.children.push(TreeNodeConverter.castNode(model.children[i]));
}
return castedNode;
};
The error states "Unable to get property 'length' of undefined or null reference"

I do not know much about jquery and how this is programmed in DNN, but I have programmed enough languages to know that the error statement sounds like a null value was passed into the function and that is why it cannot get then length (or a record count) of the child nodes which is causing the error.

Is there anything different in the code that creates the dropdowns in the 7.1.x versions from previous DNN versions?

Any other ideas?

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Cannot add existing module to pageCannot add existing module to page


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