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...error in ScriptResourceerror in ScriptResource
Previous
 
Next
New Post
7/10/2008 11:41 AM
 

hello,

i'm running a site on 4.8

error in IE only (as far as i know) - fine in Firefox - using IE 7...

i have a page that has an updatepanel - ajax 1.0 - with telerik combos and a few gridviews. when i am logged in as superuser all is well! but when i am logged in as another user - the page has "registered user" rights - i get the combos loaded ok , but then when i go to fill the grid, the grid fills but then i get an error in the ScriptResource file from the below code - (in yellow) - what i don't understand is that it is fine logged in as superuser AND it's fine in Firefox (with any user logged in)....has ANYONE out there experieneced something like this?  is there any issues with permissions and ajax???  the error i receive is:  "object doesn't support property or method". i have the module checked of to use partial-rendering. for the below code, the length of the existingScripts is 15 so there is something there. the "i =" is strange as it should be "var i =" but there is no patch (that i found) to Ajax 1.0...??? but what i don't understand is why superuser works fine and others dont??? the admin user account works fine as well!! 

Sys._ScriptLoader.readLoadedScripts = function Sys$_ScriptLoader$readLoadedScripts() {
        if(!Sys._ScriptLoader._referencedScripts) {
        var referencedScripts = Sys._ScriptLoader._referencedScripts = [];

        var existingScripts = document.getElementsByTagName('SCRIPT');
        for (i = existingScripts.length - 1; i >= 0; i--) {
            var scriptNode = existingScripts[i];
            var scriptSrc = scriptNode.src;
            if (scriptSrc.length) {
                if (!Array.contains(referencedScripts, scriptSrc)) {
                    Array.add(referencedScripts, scriptSrc);
                }
            }
        }
    }
}

 
New Post
7/10/2008 2:18 PM
 

I FOUND the answer but for the life of me i don't understand why. i began by picking apart the page, starting with the basics and then adding until i got the error. when i had the 2 i tag lines below (2 separate i tag lines), it gave me the answer - i swapped them out with 1 label and it works fine!!! any insight as to why this caused this?
thanks -

** Please Select an Invoice. You may also select a specific Structure and click Filter.
Please note that only Structures
you have selected under Preferences and ones you are authorized to view are included in Structure
Allocation.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...error in ScriptResourceerror in ScriptResource


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