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
 "Expected end of statement "
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 13 February 2003 :  01:20:21  Show Profile  Visit tomasalsbro's Homepage
Hi,
I have done something wrong in login.asp when adding a link.

The error message is:
========
Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forum/login.asp, line 147

Response.Write "<acronym title=""Klicka här för att bli medlem (Helt kostnadsfritt - Läs ""<a href="http://www.whiplash.pp.se/om_whiplash_info.htm">Om Whiplash Info</a>).""><span class=""spnMessageText""><a href=""policy.asp""" & dWStatus("Klicka här för att registrera dig som medlem.") & ">Bli medlem här!</a></span></acronymn></font></td>" & vbNewLine
----------------------------------------------------------------------------------------------------^
========

The hole if-statement is where I putted the link is:
========
if strProhibitNewMembers = "1" then
Response.Write "<font size=""" & strFooterFontSize & """ color=""" & strHiLiteFontColor & """>Administratören har stängt av Registreringen för detta forum.<br />Endast medlemmar kan logga in</font></font></td>" & vbNewLine
else
Response.Write "<acronym title=""Klicka här för att bli medlem. Det är helt kostnadsfritt - Läs ""<a href="http://www.whiplash.pp.se/om_whiplash_info.htm">Om Whiplash Info</a>.""><span class=""spnMessageText""><a href=""policy.asp""" & dWStatus("Klicka här för att registrera dig som medlem.") & ">Bli medlem här!</a></span></acronymn></font></td>" & vbNewLine
end if
========
and it's between line 144 and 148 in login.asp

Can anyone help me found out what I have done wrong, please?

Tomas

!-Keep distance in traffic-!
www.whiplashinfo.se

Edited by - tomasalsbro on 13 February 2003 02:29:32

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 13 February 2003 :  02:26:52  Show Profile  Visit tomasalsbro's Homepage
Hi Admin,Moderator or who'm ever momved this topic,

This is not a mod!

Its the original login.asp - just translated to Swedish and with a link to a page outside the Forum called "Om Whiplash Info" (About Whiplash Info), which describe the purpose, why I strated the site, the aim with the site and that the site is non commersial and non profit site.

Tomas

!-Keep distance in traffic-!
www.whiplashinfo.se
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 13 February 2003 :  03:36:37  Show Profile  Visit Gremlin's Homepage
Your MODifing the original code so strictly speaking it is a MOD.

Incorrect usage of single and double quotes is whats probably causing the error, for instance this piece <a href="http://www.whiplash.pp.se/om_whiplash_info.htm"> should have double quotes <a href=""http://www.whiplash.pp.se/om_whiplash_info.htm"">





Kiwihosting.Net - The Forum Hosting Specialists
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 1.97 seconds. Powered By: Snitz Forums 2000 Version 3.4.07