Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Microsoft VBScript runtime error ''800a005e''
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aztech24
Starting Member

6 Posts

Posted - August 24 2009 :  08:13:35  Show Profile  Reply with Quote
Hi I am getting this error when i go to edit order (shopa_editrecord.asp - file name) . I can see the complete form but on the top of the form I am getting this error but I couldnt figure it out what the reason is.

Microsoft VBScript runtime error '800a005e'
Invalid use of Null
/shophash.asp, line 77

g3nnin
VP-CART Super User

209 Posts

Posted - August 24 2009 :  14:31:30  Show Profile  Reply with Quote
Hi,

You might want to try the following solution:

- Open shophash.asp and locate this code:
<%

- Below the above code, add this:
session.codepage = 1252

Hope this helps.
Go to Top of Page

aztech24
Starting Member

6 Posts

Posted - August 25 2009 :  05:14:48  Show Profile  Reply with Quote
Hi g3nnin

I tried that but the error was still there. actually the ocardno doesnt allow null and in the code this field is having a null value. so i changed the code in shophash.asp. There was no else statement in this function so i added the else and the error is gone.

Function EnDeCrypt(plaintxt, psw)
dim pos, dotchar, plainflag
plainflag=false
If len(plaintxt)>20 then
pos=Instr(plaintxt,".")
If pos>0 then
plaintxt=Convertfromplain(plaintxt)
plainflag=true
end if
else
plaintxt = ""

end if

The code in bold is being added by me. can you think of any solution please let me know.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00