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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Google AdSenseGoogle AdSense
Previous
 
Next
New Post
6/24/2007 9:10 PM
 

You're getting a javas cript error on that page and it looks like something to do with Ajax.

Try removing the Feedback module as a test to see if that is causing the JS error. You can just mark it as viewable by administrators only.

Once we have the source of the JS error identified we can try and figure out why it is happening.


DotNetNuke Modules from Snapsis.com
 
New Post
6/25/2007 6:33 AM
 

I think this might be a problem with DNN interaction. And this is why:

  1. If I leave the Feedback module there with Google AdSense code I get a javascript error.
  2. If I remove the Google AdSense (GADS) code from the Text/HTML module the problem goes away but then no ads :(
  3. Tried placing the GADS code in the following places, all with the same unsatisfying result: a) Module text (Source), b) Module header c) Module footer
  4. The javascript error says something about a Sys.Format exception whereby the date is not in a recognized format.
  5. Removed the Feedback module and left the GADS Text/HTML module with its GADS code and the problem was there.

I tried by setting the STart/End dates of the GADS module but that did nothing to resolve the issue. The Google code shown there (also here) has no date in it that would warrant such an exception.

<script type="text/javascript"><!--
google_ad_client = "pub-3050777595580571";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text_image";
google_ad_channel = "9194798179";
google_color_border = "BAE55E";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Has anybody used Google AdSense in a standard DNN installation (no payware modules please) ?

 

 
New Post
6/25/2007 10:12 AM
 

Ok, I guess it is not the feedback module then.  It is a problem in the Ajax code though.

It looks like it was identified and fixed in Ajax according to this thread: http://forums.asp.net/p/1055158/1499508.aspx

So the question now is why your version of Ajax still has a problem.  In the /bin folder, check the System.Web.Extensions.dll to see if you have the current version (right click on .dll in explorer and select properties then go to version tab).  You should be using 1.0.61025.0

 


DotNetNuke Modules from Snapsis.com
 
New Post
6/25/2007 10:23 AM
 

Hi Jon,

    Just chedked my DNN 4.x Bin folder, there is a System.Web.Extensions.dll file that has the following properties:

File Version: 1.0.61231.0
Dll Version: 1.0.61025.0

So, according to this information my webhosts's DNN installation has the correct AJAX extensions DLL vversion. Perhaps the issue was not totally fixed.

 
New Post
7/2/2007 2:36 PM
 

Did you ever get this to work?

I was having the same issue with the built-in Google AdSense module, even though I have the 1.0.61231.0 version of the Ajax dll. Not fixed -- at least not in that version. I got it working by using the script from the ASP.NET forum post linked earlier.

Place the following code in the Head area under advanced module settings....

<script type="text/javascript">
<!--
Date.__cyril_parse = Date.parse; Date.parse = function(s){ try { return Date.__cyril_parse(s); } catch (e){ var d = Date._jsParse(s); if (d) { return d; } else { throw e; } } }
// -->
</script>

Then leave your regular AdSense code in the actual content of the module.

Tim


--
Tim Rolands
Avastone Technologies | House of Nuke
Where DotNetNuke(R) Lives
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Google AdSenseGoogle AdSense


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