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
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.
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"">