+ Reply to Thread
Results 1 to 2 of 2

Thread: SiteReptile Javascript Problem

  1. #1
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    SiteReptile Javascript Problem

    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...=1_6_sub-item2

    [I know it says drupal demo, he's been playing around lol]
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: SiteReptile Javascript Problem

    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 by misson; 06-17-2010 at 10:28 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Javascript problem
    By didiya in forum Free Hosting
    Replies: 2
    Last Post: 07-23-2009, 03:51 PM
  2. Problem JavaScript
    By willemvo in forum Programming Help
    Replies: 5
    Last Post: 08-16-2008, 04:11 PM
  3. javascript and external javascript files problem
    By delon in forum Programming Help
    Replies: 6
    Last Post: 04-27-2008, 12:41 AM
  4. JavaScript Problem
    By DarkDragonLord in forum Free Hosting
    Replies: 0
    Last Post: 10-24-2007, 11:24 AM
  5. Javascript Problem
    By Veivei in forum Free Hosting
    Replies: 5
    Last Post: 08-30-2007, 09:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers