Welcome to WebmasterWorld Guest from 107.22.7.35

Forum Moderators: open

Message Too Old, No Replies

Object expected error

     
3:15 am on Jan 5, 2005 (gmt 0)

10+ Year Member



Hi,
I am a newbie and know just enough to really mess things up. I am using front page to put together my second website ever. I am getting an error icon on every page. When I click on it states "object Expected" then it lists a line number.
does any one have any advice? Remember that I know next to nothing about web development.
If you want you can check it out at www.sandysonline.com
Thanks.
6:53 am on Jan 5, 2005 (gmt 0)

10+ Year Member



On line 80 a javascript file is referenced. That file does not exist at the given URL.

A quick fix would be to delete (or comment-out) lines 80 to 84.

9:37 am on Jan 5, 2005 (gmt 0)

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The problematic line says:

displaycounter("sandman357count","#FFFFFF");

Check your function to see if anything is missing. Maybe a apostrophe is in the wrong place or is missing?

6:50 pm on Jan 5, 2005 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Sandman your url is probably going to be deleted, see TOS, but here is the problem (I think:)

Your site is on "www.yoursite.com".

<script src="http://www.some_free_site.com/swfcount/count.js" language=Javascript>
</script>
<script language=Javascript>
displaycounter("sandman357count","#FFFFFF");
</script>

Note how the SOURCE of your Javascript counter is a site external to yours. If you paste that "your_free_site.com . . . " URL directly into your address bar, you get Page Not Found.

I'm guessing the function displaycounter() is contained in the count.js. Which you can't get to. Hence, "Object not found."

Someday it may come back. OR maybe they moved it permanently. The bottom line is you should never ever rely on an external source or site for data that's going to throw an error or munge up your site. Install a local solution.

IMO: Page counters are "stupid web tricks" anyway. If you want site visit stats, tell your ISP to enable them, they are much more useful. If your ISP doesn't offer stats, find a new ISP.

7:31 pm on Jan 5, 2005 (gmt 0)

10+ Year Member



Thanks everyone. You are right. I did about a year ago build site that I used an external counter for. I modified the template I made for that site to build this one totally forgetting about the external counter. I went to the source code and deleted the script from all pages.
Again, thanks. I am sorry to say I won't be of much help to you all, but I will be back often to sponge up as much knowledge as I can.
Have a good day!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month