Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Syntax error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Knightmayre
Starting Member

37 Posts

Posted - 25 October 2003 :  08:24:39  Show Profile
I have a syntax error on my forum that is driving me up the wall.

Anytime a member looks at a post, you get the dreaded little yellow exclamation point in MSIE saying I have an error on the page.
It usually says line 520 in topic.asp or line 288 in post.asp.
Members cannot preview their messages, and it makes editing difficult.

The forum is at http://204.116.141.6:8000/default.asp
Text versions are:
Config.asp: http://204.116.141.6:8000/config.txt
Topic.asp: http://204.116.141.6:8000/topic.txt
Post.asp: http://204.116.141.6:8000/post.asp

Am hoping someone can help- this has driven me mad for 2 weeks.
Here's the thing: if i access the server locally, using it's computer name (ie http://servername:8000) then I have no problems: only happens when I access it by it's IP addy.

Please help!

Edited by - Knightmayre on 25 October 2003 14:27:23

RebelTech
Average Member

USA
613 Posts

Posted - 25 October 2003 :  09:28:12  Show Profile  Visit RebelTech's Homepage  Send RebelTech an ICQ Message
Ok, I am no where as good as most of the folks here... so take my input with a grain of salt.
I am showing the errors starting with calls to :
src="selectbox.js"
src="inc_code.js"
Check that these exist and the path is correct. If that checks out then make the text version available of those two and we can look there.
Somebody who has better answers please jump in...
M
Go to Top of Page

Knightmayre
Starting Member

37 Posts

Posted - 25 October 2003 :  09:44:23  Show Profile
They exist: don't have a clue what they're for :-)

Text versions:
http://204.116.141.6:8000/inc_code.txt
http://204.116.141.6:8000/selectbox.txt
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 October 2003 :  10:25:03  Show Profile
I'm not getting any errors.

Did you make any modifications to your files before this error started to show up? If so, you need to recheck the changes you made.

Support Snitz Forums
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 25 October 2003 :  10:58:35  Show Profile
you have some html code stuck at the end of inc_code.js and selectbox.js that shouldn't be there. looks like you tried to open those files in a macromedia program or something. use a fresh copy of those two files from the zip ... do not attempt to open them and upload them to your site.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Knightmayre
Starting Member

37 Posts

Posted - 25 October 2003 :  14:26:35  Show Profile
OK, I ripped the javascript files from my other forum (which works) & uploaded them.

Still the same.

Have created an account (test, test) so you can see what I mean.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 October 2003 :  18:03:29  Show Profile
Nikkol is right, you have some html code at the end of the javascriot files:
<head>

<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
width="758" height="28" align="left">
  <param name=movie value="beta.swf">
  <param name=quality value=high>
  <param name="BGCOLOR" value="#E2D9CA">
  <param name="SCALE" value="exactfit">
  <embed src="beta.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" scale="exactfit" width="758"
height="28" bgcolor="#E2D9CA" align="left">
  </embed> 
</object> 
</body>
</html>
You need to remove it. That is what is causing the error.

Support Snitz Forums

Edited by - Davio on 25 October 2003 18:05:07
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 25 October 2003 :  19:08:45  Show Profile
Ya, I don't think you replaced the files correctly because that bit of html is still in the files.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 25 October 2003 :  20:16:05  Show Profile
no, I checked the actual files when I wrote my last post. You must have fixed it since then because there is no more error on your site.

That's odd. I posted this after reading the post of yours that is right below this one. Maybe someone's changed the server time?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 25 October 2003 20:17:34
Go to Top of Page

Knightmayre
Starting Member

37 Posts

Posted - 25 October 2003 :  20:57:16  Show Profile
I've fixed it!!

I had pulled the HTML from the Javascript files, but what I forgot was that I had set the server (Windows Server 2003) up to deliver a footer (which contained Flash) to every page it served.

I removed the footer option, and my forum is back working properly.
I knew I hadn't edited any of the files in DreamWeaver as I use Aranae for modding the forum code.

I had forgotten all about the footer: It only shows up on the regular HTML files.

Thank you all!

Edited by - Knightmayre on 25 October 2003 20:20:41
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.46 seconds. Powered By: Snitz Forums 2000 Version 3.4.07