[thelist] Help Finding & Fixing VBScript Error... Arrrgghhh!
Administrative HQ
english_offline at yahoo.com
Mon Mar 14 10:37:05 CST 2005
Hi.
Thanks for the reply.
Sounds logical, but I can't seem to solve it. Removing
the <% on 365 gets me:
**********************
Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/pay_paypal.asp, line 366
**********************
Removing the one on 366 returns the same and removing
both yields:
**********************
Microsoft VBScript compilation error '800a03f6'
Expected 'End'
/pay_paypal.asp, line 360
**********************
Removing the <% from 357 gets us:
**********************
Microsoft VBScript compilation error '800a0400'
Expected statement
/pay_paypal.asp, line 366
<%end if
^
**********************
Other attempts - like removing the whole section -
just brought an "expected end" error up on line 280
(which looks like it is ended and which looks EXACTLY
as it does on a working page).
This is starting to get maddening. Any ideas how to
track this sort of problem down??
Thanks very much.
Regards,
David
--- Ken Schaefer <ken.schaefer at gmail.com> wrote:
<re-inserted>
354 NAME="item_name" id="item_name" VALUE="CD
SPANISH">
<INPUT TYPE="hidden" 355 NAME="item_number"
id="item_number" VALUE="13">
356
357 <%
358 end select
359
360 else%>
361 <INPUT TYPE="text" disabled NAME=""
VALUE="Course">
362 <INPUT TYPE="hidden" NAME="item_name"
id="item_name" VALUE="CD EN">
363 <INPUT TYPE="hidden" NAME="item_number"
id="item_number" VALUE="1">
364 <input TYPE="HIDDEN" NAME="Language"
id="Language" VALUE="EN">
</re-inserted>
>> 365 <%
>> 366 <%end if%>
>
> You have two opening <% one after the other.
> After the first <%, ASP is expecting some kind of
> statement, instead
> it's seeing a second <%, hence "expected statement"
> error.
>
> Cheers
> Ken
__________________________________
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.
http://baseball.fantasysports.yahoo.com/
More information about the thelist
mailing list