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 / Classic ASP versions(v3.4.XX)
 Printer Friendly VB Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rkp
New Member

59 Posts

Posted - 20 August 2007 :  12:23:14  Show Profile
Error I'm receiving from my pop_printer_friendly link from the topic.asp pages. I've done a search on the printer friendly string but didn't locate a fix. Sorry if this is cross or double posted.


Microsoft VBScript compilation error '800a0401' 

Expected end of statement 

/boc/forum/pop_printer_friendly.asp, line 100 

"    <hr color="#3D5F2C"></p></div align=""center""></center>" & vbNewline & _
----------------^

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 August 2007 :  12:28:14  Show Profile  Visit HuwR's Homepage
well, you probably didn't find a fix because your pop_printer_friendly is not a standard one and there is no error in the standard Snitz version.

you will need to edit that line so that it doesn't break the string by putting a double set of " around the color like so
" <hr color=""#3D5F2C""></p></div align=""center""></center>" & vbNewline & _

Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 20 August 2007 :  12:28:14  Show Profile  Visit JJenson's Homepage
That error usually comes when you are putting in mods and such and do not close or start a new line correctly.

Try adding a Response.Write in front of that line. to make it look like this.


Response.Write  "    <hr color="#3D5F2C"></p></div align=""center""></center>" & vbNewline & _


Or put a link to a .txt version and we can point out exactly where the code mistake happend. But that should fix it.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 20 August 2007 :  12:29:19  Show Profile  Visit JJenson's Homepage
Ahh sorry missed the double quotes
Go to Top of Page

rkp
New Member

59 Posts

Posted - 21 August 2007 :  13:12:04  Show Profile
quote:
Originally posted by HuwR

well, you probably didn't find a fix because your pop_printer_friendly is not a standard one and there is no error in the standard Snitz version.

you will need to edit that line so that it doesn't break the string by putting a double set of " around the color like so
" <hr color=""#3D5F2C""></p></div align=""center""></center>" & vbNewline & _





Well that is what it was. There were three instances of it. Not sure how it got 'bad'. I don't remember ever editing pop_printer_friendly. Thank you both for your assistance.

Edited by - rkp on 21 August 2007 13:12:57
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07