Register   Login
     
  Latest Posts  
custom field type:url
by aviavia on 11/23/2008 7:13 PM
Module Development Techniques
by hchattaway on 11/23/2008 5:14 PM
Customizing the URL a little further
by tmahmud on 11/23/2008 4:11 PM
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
  Forums  
Subject: A runtime Error when adding a photo
Prev Next
You are not authorized to post a reply.

Author Messages
Mark ChannonUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:6

1/16/2008 3:24 PM  

Hi

This is the first time I've used the simple gallery. I'm running a DNN 4.6.2 installation, I installed the gallery, placed it onto the page, used the default untitled album and just tried to add a photo. When I select the album and click next in IE a pop up box appears saying:

A Runtime Error has occurred.
Do you wish to Debug?

Line: 103
Error: 'null' is null or not an object

When I click to debug this is it opens this file:

webresource.axd
and highlights this bit of code:

function ValidatorGetValue(id) {
    var control;
    control = document.getElementById(id);
    if (typeof(control.value) == "string") {
        return control.value;
    }
    return ValidatorGetValueRecursive(control);
}

Any ideas?

 

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


1/17/2008 2:09 PM  
I received your email today, but I'll reply here.

In host -> module definitions, edit the simple gallery module.

On the "addPhoto" control, can you turn off partial rendering. Let me know if you don't know how to do this.

This will be fixed in the next release, the ajax wrapping from DNN has caused an issue on a few installs.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


3/11/2008 6:03 AM  
This has now been switched off in the latest build.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > General > Bugs & Problems > A runtime Error when adding a photo



ActiveForums 3.7