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)
 Installed - configed fine - can access default.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Shep
New Member

74 Posts

Posted - 20 April 2001 :  13:23:24  Show Profile
Hello - I have installed Snitz on Windows 2000 IIS - have configured it fine got and OK - but can't access my default.asp - I get the following error:

Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/forum/inc_functions.asp, line 52, column 313


Please Help!
Shep



Edited by - Shep on 20 April 2001 13:24:52

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 20 April 2001 :  15:22:31  Show Profile  Send RaiderUK a Yahoo! Message
open inc_functions.asp and see what the lines of code in /inc_functions.asp, line 52

Go to Top of Page

Shep
New Member

74 Posts

Posted - 20 April 2001 :  16:44:54  Show Profile
This is line 52
elseif ((UCase(right(strArray(counter-1),6)) <> "HREF=""") and (UCase(right(strArray(counter-1),5)) <> "[URL]") and (UCase(right(strArray(counter-1),6)) <> "[URL=""") and (UCase(right(strArray(counter-1),7)) <> "file:///") and (UCase(right(strArray(counter-1),7)) <> "http://") and (UCase(right(strArray(counter-1),8)) <> "https://") and (UCase(right(strArray(counter-1),5)) <> "SRC=""") and (UCase(right(strArray(counter-1),5)) <> "SRC=""") and strArray(counter)<> "") then


Go to Top of Page

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 20 April 2001 :  19:26:34  Show Profile  Send RaiderUK a Yahoo! Message
elseif ((UCase(right(strArray(counter-1),6)) <> "HREF=""") and (UCase(right(strArray(counter-1),5)) <> "[URL]") and (UCase(right(strArray(counter-1),6)) <> "[URL=""") and (UCase(right(strArray(counter-1),7)) <> "file:///") and (UCase(right(strArray(counter-1),7)) <> "http://") and (UCase(right(strArray(counter-1),8)) <> "https://") and (UCase(right(strArray(counter-1),5)) <> "SRC=""") and (UCase(right(strArray(counter-1),5)) <> "SRC=""") and strArray(counter)<> "") then

try changing to:
and (strArray(counter)<> "") then


Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 April 2001 :  01:21:19  Show Profile
That line is OK. There's nothing wrong with it.

Shep, did you do any modification to any of the files?
Can you post a link to your forums so we can take a look at it?

Go to Top of Page

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 21 April 2001 :  16:39:44  Show Profile  Send RaiderUK a Yahoo! Message
the line was missing an opening bracket to the last AND statment



Edited by - RaiderUK on 21 April 2001 16:40:37
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 April 2001 :  19:18:04  Show Profile
From what I see a bracket shouldn't be there.
Let me tell you why, at the begining of the elseif code, there is an open bracket. That open bracket surrounds all the code in the elseif statement. The second open bracket is for the UCase, which closes off right here:
elseif ((UCase(right(strArray(counter-1),6)) <> "HREF=""")
That goes for all the code that is surrounded by the UCase. But the last bit of code at the end doesn't use UCase. Therefore, the last bracket:
and strArray(counter)<> "") then
closes off the first one at the begining of the elseif statement. If you included the bracket as you suggested, you would have to put a closing bracket for it like this:
and (strArray(counter)<> "")) then
If you want to make sure, count all the open brackets against all the closing brackets in that elseif line and you will see what I mean.

Go to Top of Page

RaiderUK
Average Member

United Kingdom
577 Posts

Posted - 21 April 2001 :  19:57:10  Show Profile  Send RaiderUK a Yahoo! Message
sorry Davio, I see what you mean now.

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 22 April 2001 :  22:39:55  Show Profile
No worries Raider. We all make mistakes.
Happened to me a couple times and HuwR or Richard or Gor jumps in to correct me. That's when I just started out.

But I learn from my mistakes.
I encourage you to continue helping though, if you make a mistake, you know we'll just point it out for you.

Go to Top of Page

Shep
New Member

74 Posts

Posted - 27 April 2001 :  17:40:57  Show Profile
Thanks for your help

My forum is at www.calvarycentral.org/forum/default.asp

As I said - setup seemed to go fine - can't get to default page.

Thanks,
John

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