Jump to content

Recommended Posts

Posted (edited)

I've been rebuilding a web form from a previous version and basically copied the code exactly but merely changed the text boxes and database it accesses, however i keep getting this error after its been working for the past few days and i cant seem to put my finger on it.

 

The error shown is always

 

Microsoft VBScript compilation 800a03f6Expected 'End'/teachapp/form-footer.asp17

 

The code for the page to which is refers to is below but i have a feeling that its on another page to which this footer file is included.

 

If anyone can spot any errors within this and help me out it would be appreciated, the original code is not my design but we are using it to adapt into a second form for a different purpose.

 

        

       <%if FormButton1 <> "" OR FormButton2 <> "" then%>
       

       





       <%if FormButton1 <> "" then%>
       
       <%end if%>


       <%if FormButton2 <> "" then%>
       
       <%end if%>


       
       <%end if%>


       


       

       
   
   






Edited by cooper549
Posted (edited)
I've been rebuilding a web form from a previous version and basically copied the code exactly but merely changed the text boxes and database it accesses, however i keep getting this error after its been working for the past few days and i cant seem to put my finger on it.

 

The error shown is always

 

Microsoft VBScript compilation 800a03f6Expected 'End'/teachapp/form-footer.asp17

 

The code for the page to which is refers to is below but i have a feeling that its on another page to which this footer file is included.

 

If anyone can spot any errors within this and help me out it would be appreciated, the original code is not my design but we are using it to adapt into a second form for a different purpose.

 

        

       <%if FormButton1 <> "" OR FormButton2 <> "" then%>
       

       





       <%if FormButton1 <> "" then%>
       
       <%end if%>


       <%if FormButton2 <> "" then%>
       
       <%end if%>


       
       <%end if%>


       


       

       
   
   






Edited by mukz
Missed a End If Function
Posted

I get the same error on a different line,

 

I have the greatest feeling that the error isn't on this page but maybe another one from which includes the footer. The problem happens when i click a button to move from default.asp to step-2.asp, i think the problem could be with one of those pages but it feels like i been staring at it that long i cant see anything wrong

 

I've included pasts bins of the files where i have the trouble moving to and from. the funny thing is i have pages 'step-3/4' and these move back and forwards with no problems so im guessing it must be around one of these pages?

 

Default.asp

[ASP] default.asp - Pastebin.com

 

step-2.asp

[ASP] step-2.asp - Pastebin.com

 

process.asp

[ASP] process.asp - Pastebin.com

Posted
Its not at the moment, I'm currently running it on a local server however if you bare with me i should be able to have it uploaded to our schools website pretty soon'ish and ill come back with a link
Posted
:) cheers, that error your getting is because theres a END IF function missing somewhere. but i cant tell using the pasties.
Posted
i guessed it was, i've done a serious amount of googl'ing and sitting hear staring at it all and i think i've just become blind to any errors.
Posted
the same thing happens to me and then when you find the problem staring you in the face you just want to swear your head off
Posted

hey cooper,

 

i can see one error on the process.asp page.

 

your calling for the if function twice but its only closed once at the end.

 

Try adding another one at the end and see if that helps

  • Thanks 1
Posted

Glad to be of help :)

 

By the way the form looks great.

 

Wish i had the time to do something similar at my school

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...