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: General / Current Version (Old)
 Newbie Default.Asp Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SybotCB
Starting Member

USA
4 Posts

Posted - 20 April 2001 :  12:41:27  Show Profile
Hi Admittedly I do not know much about asp scripting. I've not changed anything except the basic config.asp stuff that was in the readme.txt file. I'm setting up this forum on a personal webserver in a corporate intranet. It's not a large corporation and I'm the only IT person here. Anyway I've gotten everything working (It seems) except one. Whenever I start the default.asp file I get the following error.

**********************Error follows below
Microsoft VBScript compilation error '800a03ee'

Expected ')'

/forum/default.asp, line 272

if rsForum("F_TYPE")="1" then Response.Write(" colspan="4")"
--------------------------------------------------------^
************************End Error

Now again I don't know much about ASP but I've loaded default.asp in my editor and looked at the line. problem is I have no idea how to fix it. (Part of the reason I'm playing with the forum is to learn asp.) Could someone point me in the right direction. I've been able to login as admin and change forum settings by going to the admin-login.asp page directly. I know that's not the way it's supposed to be though. Please help.

Thanks in advance
Chris

Doug G
Support Moderator

USA
6493 Posts

Posted - 20 April 2001 :  12:51:23  Show Profile
Often this error is FrontPage related. If you are using FrontPage to edit pages or rename files & folders, don't. There are a few pages where FP alters the Snitz code, not for the better.


======
Doug G
======
Go to Top of Page

SybotCB
Starting Member

USA
4 Posts

Posted - 20 April 2001 :  14:20:22  Show Profile
Unfortunately I just pulled it right out of the zip file and it had this error.

I did open up the asp, however, I use a syntax highlighting plain text editor to look at it. I don't like WYSIWYG HTML Editors.

Any other suggestions?

Go to Top of Page

SybotCB
Starting Member

USA
4 Posts

Posted - 20 April 2001 :  14:24:06  Show Profile
To help out here's the entire line 272 from default.asp as I have it on my IIS Server right now. Copied and pasted right out of a regular text editor.

******************Begin Code

<td<% if rsForum("F_TYPE")="1" then Response.Write(" colspan="4")" %> bgcolor="<% =strForumCellColor %>" valign="top">


Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 20 April 2001 :  15:35:45  Show Profile
try this


***

<td<% if rsForum("F_TYPE") = 1 then Response.Write(" colspan=4") %> bgcolor="<% =strForumCellColor %>" valign="top">

http://www.ugfl.net/forums
Go to Top of Page

SybotCB
Starting Member

USA
4 Posts

Posted - 20 April 2001 :  16:42:36  Show Profile
Thanks a bunch that line worked like a charm.

Any advise on some really good links and books on getting started with asp.

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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07