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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.4 starter kit javascript error when loading site4.4 starter kit javascript error when loading site
Previous
 
Next
New Post
12/30/2006 9:06 PM
 

I had the 4.3.7 (or 5) starter kit installed previously and averything worked great. I installed the new 4.4 starter kit, installed a new site, which went fine, but now I get a very generic Java script error when the site loads and the images only partially load. I suspect it is missing a javascript function.....any clues?

 

Line: 895

Char 1

Error: Syntax Error

Code: 0

 

 
New Post
12/30/2006 10:41 PM
 

here is the code in this area (javascript line references can be a bit "fuzzy")

function

{

 

}

 

//load namespaces

$() var ary = new Array();for (var i=0; i<arguments.length; i++) {var arg = arguments[i];var ctl;if (typeof arg == 'string')ctl = dnn.dom.getById(arg);elsectl = arg;if (ctl != null && typeof(Element) != 'undefined' && typeof(Element.extend) != 'undefined') //if prototype loaded, we must extend the objectElement.extend(ctl);if (arguments.length == 1)return ctl;ary[ary.length] = ctl;}return ary;
 
New Post
12/30/2006 10:59 PM
 

scratch my last post: this is the code block where the problem is occuring:

 

if

dnn.extend(dnn_controls.prototype,

dnn.controls =

(typeof(dnn_control) != 'undefined')new dnn_control);new dnn_controls();
 
New Post
12/30/2006 11:59 PM
 
I just did a test creating a new site from the source code rather than the starter kit and I am getting the same error. This would lead me to believe it is not a problem isolated to the starter kit but rather may be a missing library or something similar?
 
New Post
1/6/2007 11:32 AM
 
The javascript comment runs into the next line, at runtime (even though it seems fine in the javascript file itself).
I had to remove the comment "//if prototype loaded, we must extend the object" to get rid of this error in dnn.js

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.4 starter kit javascript error when loading site4.4 starter kit javascript error when loading site


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