Solved: Stack overflow at line: 214

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

ice_Max

Thread Starter
Account Closed
Joined
Sep 20, 2004
Messages
46
I'm an amateur web designer, and I've built this site, www.cross-fire.org, using HTML and Java, which previously has been working fine. Since my latest update to the site, about a week ago, every time I visit the homepage I get an error message that says "Stack overflow at line: 214." I can still navigate the site fine, but every time I go back to the home page I get that error message. This happens on my computer at home, which is running Windows XP Home Edition, and my computer at work, which is running Windows 98 SE. Both are using the latest version of IE. I have no idea how to fix this, but my Google searching has indicated it has something to do with the Javascript.

Also, when I view the same site at home or on the laptop here in the office (also running XP Home), every other time the popup windows on the home page will not work. They'll come up fine on the other pages, just not the home page. I'm thinking it might be related to the "stack overflow" problem.
 
Joined
Apr 14, 2001
Messages
2,382
Remove everything after the closing </html> tag...
Code:
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>


<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->

</script>


<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>
NOTE: this is also on your events page..remove that as well.
 

ice_Max

Thread Starter
Account Closed
Joined
Sep 20, 2004
Messages
46
Sequal7 said:
Remove everything after the closing </html> tag...
Code:
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>


<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->

</script>


<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>
NOTE: this is also on your events page..remove that as well.
I actually tried that, but every time I upload it again that stuff appears at the bottom. I never put it there originally. Where did it come from?
 

ice_Max

Thread Starter
Account Closed
Joined
Sep 20, 2004
Messages
46
I'm using notepad to edit the pages. I upload using an FTP site.

Wow, I do have Norton Antivirus on all three computers I view the site with. Thanks! I'll check out their support site and see if I can't find a way to prevent this problem.
 
Joined
Apr 14, 2001
Messages
2,382
You should upload by downloading and installing a FTP client to your computer. THere are free ones that work really well, this way your pages wont be changed during the upload process.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top