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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDotNetNuke 5. 0 Issue - Error: DotNetNuke 5. 0 Issue - Error: 'dnn.controls.toolbars' is null or not an object
Previous
 
Next
New Post
1/8/2009 6:50 PM
 

Hi everyone... We have a few modules that utilize the DNN Toolbar and within the latest 5.0 release some customers are starting to experience a problem whenever they are 'NOT' in edit mode.  Below are the details of the error:

Error: 'dnn.controls.toolbars' is null or not an object

So far we have determined with the two clients reporting it that:

* Their DNN version was an upgrade

* The error does not exist if the admin is signed in and the mode is set to EDIT

* This same code has been used within these modules from DNN 4.5.x to through DNN 4.9.x and doesn't have this problem.

* I can only duplicate the JavaScript but in IE on the site having the issue (not FireFox)

Does anyone have any idea what might be causing this and if its an issue (possibly with the toolbar control and / or JavaScript file that comes with DNN?).

 

I checked the code and this is the line of JavaScript that exists at the bottom of the page that is throwing the error:

dnn.controls.toolbars['tbDynamicF']={vis:-1,css:'eipbackimg',btns:[{ca:'edit',key:'edit',css:'eipbutton_edit',alt:'Edit'},{ca:'save',key:'save',css:'eipbutton_save',alt:'Update'},{ca:'cancel',key:'cancel',alt:'Cancel'}],cssb:'eipbuttonbackimg',cssbh:'eipborderhover'};

The only code behind code that exists for this control is that its set to visible=false if the system is 'NOT' in edit mode. So apparently setting the visibility to false is throwing the error?

Can anyone provide any help or input?


-Chad

 

 
New Post
5/20/2009 12:26 PM
 

I am having the same problem. I am using Dynamic Registration 3.2 with DNN 5.0.1 (clean install). I did not see this error in DNN 4.9 so this may have something to do with DNN version 5?

Lewis

 
New Post
5/21/2009 12:08 PM
 

Lewis,

Hi. Yes we still have a few clients running into this issue and so we are researching it more and more... From our knowledge its only happening on DNN 5/501 upgrades and not fresh installations. Can you tell me if yours was an upgrade?

Basically the module makes use the the DNN Label Edit control and in view mode there are several JavaScript files that do not get rendered to the page at all. This causes problems and was never until issue until 5.x. I can list out the files but have not determined when/why they are not getting rendered in view mode and most of all why they do when its a fresh installation VS an upgrade.

 

-Chad

 

 
New Post
5/27/2009 12:29 PM
 

Chad,

Thanks for your message. This is a clean install on DNN 05.00.01 and I am using DYNAMIC REGISTRATION Version:3.2.6.0. The registration seems to work but there is the page error. This site is not in production and I hope to upgrade to DNN 5.1 which may resolve this error.

Please let me know if you find a fix.

Lewis

 
New Post
5/27/2009 8:23 PM
 

Chad,

Thanks for your message. This is a clean install on DNN 05.00.01 and I am using DYNAMIC REGISTRATION Version:3.2.6.0. The registration seems to work but there is the page error. This site is not in production and I hope to upgrade to DNN 5.1 which may resolve this error.

Please let me know if you find a fix.

Lewis

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDotNetNuke 5. 0 Issue - Error: DotNetNuke 5. 0 Issue - Error: 'dnn.controls.toolbars' is null or not an object


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