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
 Links Mod (OWM) help
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

baabaashep
New Member

United Kingdom
84 Posts

Posted - 09 March 2006 :  17:44:21  Show Profile
I hope I haven't done anything wrong here.

I've uploaded all the edited files.
I tried to log into Admin and got this error message:


Microsoft VBScript compilation error '800a0400'

Expected statement

/admin_home.asp, line 162

" <LI><span class=""spnMessageText""><a href=""admin_Links.asp"">Links Administration</a></span></LI>" & vbNewLine & _
^


These are the admin_home.asp lines 160 -164 inclusive:

<LI><span class=""spnMessageText""><a href=""admin_count.asp"">Update Forum Counts</a></span></LI>" & vbNewLine
if strArchiveState = "1" then Response.Write(" <LI><span class=""spnMessageText""><a href=""admin_forums.asp"">Archive Forum Topics</a></span></LI>" & vbNewLine)
" <LI><span class=""spnMessageText""><a href=""admin_Links.asp"">Links Administration</a></span></LI>" & vbNewLine & _
Response.Write " <LI><span class=""spnMessageText""><a href=""down.asp"">Shut Down the Forum</a></span></LI>" & vbNewLine & _
" <LI><span class=""spnMessageText""><a href=""admin_mod_dbsetup.asp"">MOD Setup</a></span><font size=""" & strFooterFontSize & """> (<span class=""spnMessageText""><a href=""admin_mod_dbsetup2.asp"">Alternative MOD Setup</a></span>)</font></LI>" & vbNewLine & _


I guess I may have not copied something over correctly(Im just a copy and paste person)

Hope you can help
Thx
Pete
(copy and paste man)

baabaashep
New Member

United Kingdom
84 Posts

Posted - 09 March 2006 :  17:49:29  Show Profile
I think I may have solved this one.

I believe I have pasted to code too late in the file.

So I have deleted that code and pasted the code below this
"">Group Categories Configuration</ about line 149 instead of 162

which is the correct place

This was my mistake (Doh!)

Pete
Go to Top of Page

baabaashep
New Member

United Kingdom
84 Posts

Posted - 09 March 2006 :  18:15:53  Show Profile
Nope

Back to square one

I click to go into admin and get this message:
Microsoft VBScript compilation error '800a0401'

Expected end of statement

/admin_home.asp, line 164

Response.Write " <LI><span class=""spnMessageText""><a href=""down.asp"">Shut Down the Forum</a></span></LI>" & vbNewLine & _
---------------^


These are my lines 161 -165:

if strArchiveState = "1" then Response.Write(" <LI><span class=""spnMessageText""><a href=""admin_forums.asp"">Archive Forum Topics</a></span></LI>" & vbNewLine)
Response.Write " <LI><span class=""spnMessageText""><a href=""admin_config_groupcats.asp"">Group Categories Configuration</a></span></LI>" & vbNewLine & _
" <LI><span class=""spnMessageText""><a href=""admin_Links.asp"">Links Administration</a></span></LI>" & vbNewLine & _
Response.Write " <LI><span class=""spnMessageText""><a href=""down.asp"">Shut Down the Forum</a></span></LI>" & vbNewLine & _
" <LI><span class=""spnMessageText""><a href=""admin_mod_dbsetup.asp"">MOD Setup</a></span><font size=""" & strFooterFontSize & """> (<span class=""spnMessageText""><a href=""admin_mod_dbsetup2.asp"">Alternative MOD Setup</a></span>)</font></LI>" & vbNewLine & _



Have I goofed up? - sorry - can anybody help me out please?

Pete
(copy and pasteman)
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 09 March 2006 :  18:32:51  Show Profile  Visit AnonJr's Homepage
Delete the part in red:
if strArchiveState = "1" then Response.Write(" <LI><span class=""spnMessageText""><a href=""admin_forums.asp"">Archive Forum Topics</a></span></LI>" & vbNewLine)
Response.Write " <LI><span class=""spnMessageText""><a href=""admin_config_groupcats.asp"">Group Categories Configuration</a></span></LI>" & vbNewLine & _
" <LI><span class=""spnMessageText""><a href=""admin_Links.asp"">Links Administration</a></span></LI>" & vbNewLine & _
Response.Write " <LI><span class=""spnMessageText""><a href=""down.asp"">Shut Down the Forum</a></span></LI>" & vbNewLine & _
" <LI><span class=""spnMessageText""><a href=""admin_mod_dbsetup.asp"">MOD Setup</a></span><font size=""" & strFooterFontSize & """> [...]
Its looking for a continuation of the statement, and not finding one.

Edited by - AnonJr on 09 March 2006 18:34:32
Go to Top of Page

baabaashep
New Member

United Kingdom
84 Posts

Posted - 09 March 2006 :  19:12:08  Show Profile
thanks
Would this apply to the next line too (see red highlight)

<LI><span class=""spnMessageText""><a href=""admin_Links.asp"">Links Administration</a></span></LI>" & vbNewLine
Response.Write " <LI><span class=""spnMessageText""><a href=""down.asp"">Shut Down the Forum</a></span></LI>" & vbNewLine & _
" <LI><span class=""spnMessageText""><a href=""admin_mod_dbsetup.asp"">MOD Setup</a></span><font size=""" & strFooterFontSize & """> (<span class=""spnMessageText""><a href=""admin_mod_dbsetup2.asp"">Alternative MOD


Thanks for your help

Pete
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 09 March 2006 :  22:04:46  Show Profile  Visit AnonJr's Homepage
No. Here's why:

The underscore ( _ ) is a continuation character. The line after the one that was giving you trouble earlier was starting a new command (a Response.Write statement). If you look at the one there, you'll see that the next line is just another string. In that part you are telling it to concatenate that line with the string on the next line (the & _ )

Usually you do stuff like this to keep the code a little more readable (as opposed to letting a biiig long string run endlessly to the right).

Did that make sense? (Its been a looooong day)
Go to Top of Page

baabaashep
New Member

United Kingdom
84 Posts

Posted - 09 March 2006 :  22:22:31  Show Profile
Thanks

I only a beginer copy and paste man but thanks for taking the time to help -really appreciate it

Pete
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 10 March 2006 :  09:17:13  Show Profile  Visit AnonJr's Homepage
Glad to help.

We all had to start somewhere...
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07