#1 (permalink)  
Old 03-29-2006, 01:42 PM
Registered User
 
Join Date: Mar 2006
Posts: 6
can anyone fix this 'object expected' error please??

hi, can someone help me fix this problem out im getting an error message saying object expected, here is the message and code

Message


Line: 133
Char: 2
Error: Object Expected
Code: 0
URL: http://www.mycoke.com/

Code

<html>
<head>
<title>MyCoke</title>
<link href="/css/mycoke.css" rel="stylesheet" type="text/css">
<LINK REL="icon" HREF="favicon.ico" TYPE="image/ico">
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
<meta name="keywords" content="MyCoke, My Coke, CokeMusic, Coke Music, MyCoke.com, CokeMusic.com, Coke Studios, CokeStudios, Chat, Blogs, Weblogs, Blogging, Blogger, V-ego, V-egos, Vego, Vegos, Decibels, Pop Quiz, Uncover The Music, V-ego San, Vego San, Roller Coaster, Music Mixer, Furni, Record A Song, Vote Green, Make It Real">
<meta name="description" content="Welcome to MyCoke! You’ve arrived! Be your own Mix Master with the Music Mixer or tell the world what you think when you create your own blog. Whatever you do, make it real ™.">
<script type="text/javascript">document.cookie="cTest"+"="+"cEnabled" ;</script>
<script type="text/javascript" src="/js/detectVer.js"></script>
<script type="text/javascript" src="/js/akamai_include.js"></script>
<script type="text/javascript" src="/js/functions.js"></script>
<script type="text/javascript" src="/js/tracking.js"></script>
<script type="text/javascript" src="/js/mycoke_tracking.js"></script>
<script type="text/javascript" src="/js/library.js"></script>
<script type="text/javascript" src="/js/cookies.js"></script>
<script type="text/javascript" src="/popup/popup.js"></script>


</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="images/bg.jpg" >

<table cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td><img src="images/spacer.gif" width="1" height="10"></td>
</tr>
<tr>
<td valign="top" align="center">
<script type="text/javascript">
var query = top.location.search;
var newQuery = "";
var tunnel_value = "";
if (query.indexOf("=") > 0 && query.indexOf("tunnel") > 0)
{
tunnel_value = query.substring (query.indexOf("=") + 1, query.length);
newQuery = "?tunnel=" + tunnel_value;
}
else if (query.indexOf("=") > 0 && query.indexOf("ru") > 0)
{
tunnel_value = query.substring (query.indexOf("=") + 1, query.length);
newQuery = "?ru=" + tunnel_value;
}

if (hasFlash) {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="750" height="522" id="shell" align="top">');
document.write(' <param name=movie value="swf/shell.swf' + newQuery + '">');
document.write(' <param name=quality value=high>');
document.write(' <param name=menu value=false>');
document.write(' <param name=bgcolor value=#660000>');
document.write(' <param name=FlashVars value="httpUrl='+mycokeDomainNonSSL+'&httpsUrl='+m ycokeDomain+'&gamesStatus='+gamesStatus+'">');
document.write(' <embed src="swf/shell.swf' + newQuery + '" menu=false quality=high bgcolor=#660000 width="750" height="522" name="shell" align="top" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="httpUrl='+mycokeDomainNonSSL+'&httpsUrl ='+mycokeDomain+'&gamesStatus='+gamesStatus+'">');
document.write(' </embed>');
document.write('</object>');

} else {
window.location.replace("/pages/upgrade_flash.html");
}
</script>
</td>
</tr><tr>
<td class="main_copy" align="center">
<a href="javascript:popupFile('/pages/privacy_policy.html', 540, 420)" class="main_copy_pp_link">Privacy Policy</a>&nbsp;&nbsp;&copy; 2006 The Coca-Cola Company, “Coca-Cola”, “Coke”, “V-ego”, The Contour Bottle<br />
and The Dynamic Ribbon are trademarks of The Coca-Cola Company.<br />
<span id="aiLegal1" style="visibility: hidden">
&nbsp;American Idol is a registered trademark of 19 TV Limited and FremantleMedia North America, Inc.<br />
Based on the television program &quot;American Idol&quot; produced by FremantleMedia North America, Inc and 19 TV Limited.<br />
Licensed by FremantleMedia Licensing Worldwide. <a href="http://www.americanidol.com" target="_blank" class="main_copy_pp_link">www.americanidol.com</a> &copy; 2006 FremantleMedia North America, Inc. All Rights Reserved.<br />
FOX TM Fox and its related entities. All rights reserved.
</span>
</td>
</tr>
</table>
<script type="text/javascript">
if (tunnel_value == "cokemusic")
checkCount();
else if (tunnel_value == "americanidol") {
showAILegal();
}
</script>
</body>
</html>
Reply With Quote

  #2 (permalink)  
Old 03-30-2006, 11:18 AM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Thumbs down Jack sees no errors.

I did not see the error when I went to the page.

Long live Dr. Pepper!!!
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
  #3 (permalink)  
Old 03-30-2006, 01:35 PM
Registered User
 
Join Date: Mar 2006
Posts: 6
hi

well it worked on the computers i use at college for some reason my own pc wont get it working, do u recommend me doing anything, any settings or downloads u want me to do do?
Reply With Quote
  #4 (permalink)  
Old 03-30-2006, 02:48 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
I have a few site designs on my computer, and I get the same errors on a few; however, once online, all works well. I think it just depends on the coding and what is being called causing it to happen when running from a CPU. That is all I can figure.
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
  #5 (permalink)  
Old 03-30-2006, 03:17 PM
Till's Avatar
Administrator
 
Join Date: Jan 2002
Location: Berlin, Germany
Posts: 1,453
Quote:
Originally Posted by richy176
well it worked on the computers i use at college for some reason my own pc wont get it working, do u recommend me doing anything, any settings or downloads u want me to do do?
Use Firefox' JavaScript console. Also, can you point out which line that is?

And which agency do you work for? PM me, if you can't tell in public. I am working on another Coke-project.

Cheers,
Till
Reply With Quote
  #6 (permalink)  
Old 03-31-2006, 02:28 AM
Registered User
 
Join Date: Mar 2006
Posts: 6
reply

i tryed firefox, but i didnt know how to use it, do u know how to use it for 'object expected' situations? i dont work for a company (im only 17 lol). i would be able to fix it by myself if only i knew how to use firefox.
Reply With Quote
  #7 (permalink)  
Old 03-31-2006, 06:43 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
Quote:
Originally Posted by richy176
i tryed firefox, but i didnt know how to use it, do u know how to use it for 'object expected' situations?
To use Firefox's javascript debugger, you simply open up Firefox, go to Tools -> Javascript Console, and then type in the address of your page in the address bar at the top of the console. Then press the "Evaluate" button, and see if anything new comes up in the error log. Make sure you click on the "All" tab to show all messages. That way, you'll see warnings, errors, etc.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #8 (permalink)  
Old 03-31-2006, 12:12 PM
Registered User
 
Join Date: Mar 2006
Posts: 6
another reply

ok, i downloaded firefox, i did wat u told me curtiss, and i got like 3 errors i got this....

Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebNavigation.loadURI]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://global/content/viewSource.js :: viewSource :: line 145" data: no]

the second error was....

Error: syntax error
Source File: javascript: http://www.mycoke.com/index.html?tunnel=cokemusic
Line: 1, Column: 49
Source Code:
http://www.mycoke.com/index.html?tunnel=cokemusic

and the final was....

Error: www is not defined
Source File: javascript: www.mycoke.com
Line: 1

do u know what my problem is and how to fix it?
Reply With Quote
  #9 (permalink)  
Old 04-01-2006, 06:33 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Were the errors from the online page or from your hard drive?
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
  #10 (permalink)  
Old 04-02-2006, 06:56 AM
Registered User
 
Join Date: Mar 2006
Posts: 6
hi

well i used firefox, and typed in www.cokemusic.com, clicked on evaluate and got these errors, so it must be from the online page
Reply With Quote
  #11 (permalink)  
Old 08-18-2006, 06:15 PM
Registered User
 
Join Date: Aug 2006
Posts: 1
someone please help fix i get the same error and i want to play badly plEASE
Reply With Quote
  #12 (permalink)  
Old 09-01-2006, 12:45 PM
Banned user
 
Join Date: Sep 2006
Posts: 1
free furni and decibles on mycoke.com

removed via spam and user banned
Reply With Quote
  #13 (permalink)  
Old 09-01-2006, 02:51 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
You know what - I finally understand what this topic was all about.

The people that posted this problem were trying to visit a site that threw a javascript error at them, and so they couldn't view the site properly. They weren't the people that actually coded the site.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #14 (permalink)  
Old 09-01-2006, 02:53 PM
Allen's Avatar
Administrator
 
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,049
Quote:
Originally Posted by curtiss
You know what - I finally understand what this topic was all about.

The people that posted this problem were trying to visit a site that threw a javascript error at them, and so they couldn't view the site properly. They weren't the people that actually coded the site.
interesting!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Object Expected zypher_lab Programming and Scripting 3 03-28-2006 06:58 AM
Java Script error - Object Expected lokesh Programming and Scripting 1 02-16-2006 09:27 AM
Support for the OBJECT tag is incomplete. rah Programming and Scripting 1 01-27-2006 08:58 AM
Error: Object Expected ashura Programming and Scripting 3 03-16-2005 11:22 AM
Help! error: object expected in simple site!! mooncat Programming and Scripting 3 02-03-2005 08:39 AM


All times are GMT -5. The time now is 04:22 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter