...

View Full Version : Error message - what's wrong?



kezfin
11-16-2010, 09:28 PM
Can anyone help me with the following error message and correlating script please. I think it's just a simple omission. Any help appreciated. Thanks

Microsoft VBScript compilation error '800a0400'

Expected statement

/shop$db.asp, line 3083

end sub
^



sub ShopWriteHeaderBox (msg)
%>
<div class="comment_title fontbold"><%=msg%></div>
<div class="comment_text">
<div class="blog_review_container" >
<%
end sub

sub ShopWriteFooterBox (yesbr)
%>
</div>
</div>
<%
if lcase(trim(yesbr)) = "yes" then
%>
<br />
<%
end if
end sub

Philip M
11-16-2010, 09:32 PM
This is the JavaScript forum.
You should post in a forum appropriate to VBScript.

It is your responsibility to die() if necessary….. - PHP Manual

Old Pedant
11-16-2010, 09:43 PM
Actually, should simply post in the ASP forum.



/shop$db.asp, line 308

Old Pedant
11-16-2010, 09:46 PM
FWIW, I don't think the error is in that code. I think the *cause* of it is above that point in the code. I don't see anything obviously wrong there.

When you repost, show more code. Maybe about 30 to 50 lines, ending at the problem line.

kezfin
11-17-2010, 08:12 PM
Thanks for the reply,

Old Pedant
11-18-2010, 06:35 AM
(1) *PLEASE* move your posting to the ASP forum. This is NOT the appropriate forum for this topic.

(2) I tried all the code you posted, and it worked fine. So, again, whatever the problem is it must be *before* all this code.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum