SiteReptile Javascript Problem

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
Friend of mine asked me to look into this and I cannot quite see what is going wrong.

They have a site built using SiteReptile hosted on x10 and have tried to insert Google adsense Javascript into the page via the WYSIWYG html editor. It looks right, but no Ads appear.

Out of curiosity I asked them to cut an paste in some other Javascript, in this case a simple clock script and that does not work either, so it's not a Google issue.

Anybody else come across this and if so any suggestions for a fix or workaround?


http://www.drupaldemo.x10hosting.com/index.php?p=1_6_sub-item2

[I know it says drupal demo, he's been playing around lol]
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
The two ad requests that I see have a 400 Bad Request and 403 Forbidden responses. Check that your friend is using the correct client ID, that the ID is registered for the site's domain (even the leading www. might cause problems if it's supposed to be drupaldemo.x10hosting.com) and that the slot for the given slot ID is set up.

As for the clock not working, it's likely something else was preventing it from working. I don't see it in the source of the linked page, so I can't say for sure what was going on with it.

Moral: check the error console, then use resource tracking.
 
Last edited:
Top