SLA Support  
>
Latest Posts  
by rld77 on 11/09/2008 5:01 PM

by GreyRidge Luisa on 11/06/2008 1:59 PM

by host on 11/06/2008 1:15 PM

by wowwebworks on 11/06/2008 12:03 PM

by wowwebworks on 11/06/2008 12:01 PM

by host on 10/27/2008 1:14 PM

by jhenley on 10/27/2008 1:05 PM

by host on 10/26/2008 11:14 PM

by host on 10/26/2008 11:11 PM

by host on 10/26/2008 10:59 PM

>
Support Forum  
Subject: Javascript error
Prev Next
You are not authorized to post a reply.

Author Messages
jhenleyUser is Offline

Posts:5

09/17/2008 2:40 PM  

I posted this on Snowcovered last week, but haven't received a response.

Javascript error. I have attached screenshot of error (ii1.jpg) and position in the HTML in which it occurs (iit2.jpg), as well as page source (iit3.jpg). If you want to see site, it is www.LawsonGuru.com

hostUser is Offline

Posts:9901


09/18/2008 4:54 AM  

Hello jhenley,

Could you supply the images you are referring to here? Also, please provide more information as to the version of both the sitemap module and DNN you are using. Please also provide details on the javascript error (i.e. what is the actual error text?)
 

Also, have you tried installing the module on a "blank" page and rule out any conflict with any other modules?

Thank you.


Site Administrator
hostUser is Offline

Posts:9901


09/18/2008 5:26 AM  

Please dont forget to add the files and the information in this forum.

Direct emails will not be responded to in a timely manner. This is the best way to receive support for products purchased on Snowcovered.

Thank you for your cooperation.


Site Administrator
hostUser is Offline

Posts:9901


09/18/2008 5:43 AM  

I visited the URL you provided above, and I am not able to see any javascript errors.

Please provide more information or let us know if this issue is now resolved.

Thank you.


Site Administrator
jhenleyUser is Offline

Posts:5

09/18/2008 6:31 AM  

I don't see any way in this forum to attach files.

I have emailed them to admin@inspectorit.com

jhenleyUser is Offline

Posts:5

09/18/2008 6:37 AM  

The error only occurs for administrators.

The javascript error is:

Expected: ";"

When I view the page source, this is the line/fragment which is referred to:

document.write(siteMapdnn_ctr782_SiteMap);
addLoadEvent(function() {siteMapdnn_ctr782_SiteMap.closeAll();});
//-->[script removed]

hostUser is Offline

Posts:9901


09/18/2008 7:13 AM  

That's a pretty generic error, and unfortunately does not tell me anything.

Do you have any pages with an apostrophy in it's name, that show up only when logged in as admin? If so, could you try removing the aprostrophy and see if that resolves the issue?

Thanks.!


Site Administrator
jhenleyUser is Offline

Posts:5

09/18/2008 8:49 AM  
I think it's the "What's New" page which was added to the admin menu in DNN 4.9
hostUser is Offline

Posts:9901


10/26/2008 3:10 PM  

I've identified a quick fix for this issue.

I am woring on an update for the module, but if you are not in a position to wait for it, then follow these easy steps:

  • Locate the SiteMap.js file located in "YOUR_ROOT/DesktopModules/IIT - DNN SiteMap" folder
  • Open it and go to Line # 295
  • Replace this line:
    str += ' onmouseover="window.status=\'' + node.name + '\'; ';

    with

    //str += ' onmouseover="window.status=\'' + node.name + '\'; ';
     

That's it!... the offending code will no longer produce the error.

I'll let you all know when a release with the proper fix is available.

Thank you for your patience.

 


Site Administrator
hostUser is Offline

Posts:9901


10/26/2008 6:11 PM  

Dear Customers,

DNN SiteMap 03.08.01 has just been released. This version addresses issues discussed in this thread.
The release notes can be found here: http://www.inspectorit.com/Support/tabid/268/forumid/3/postid/255/view/topic/Default.aspx

Please visit your Snowcovered Patches section to download the update.

Thank you for your continued patronage, patience and cooperations.

Inspector IT, Inc.
www.inspectorit.com

 


Site Administrator
jhenleyUser is Offline

Posts:5

10/27/2008 8:05 AM  
I installed the 3.8.1 update and that fixes it. Thanks.
hostUser is Offline

Posts:9901


10/27/2008 8:14 AM  
You are most welcome!

Site Administrator
You are not authorized to post a reply.
Forums > DotNetNuke Modules > DNN SiteMap > Javascript error

>