Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 error after checkout is complete
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

extremeskillz
VP-CART New User

USA
94 Posts

Posted - November 30 2006 :  08:09:16  Show Profile  Reply with Quote
Hi guys,
Well i been trying to fix this i ran out of options. Know i ask you. Everytime i turn on xemailwithtemplates, i get this error at the end of a complete order:

Microsoft VBScript runtime error '800a0009'

Subscript out of range: 'readcount'

/shopping/shopfileio.asp, line 224


The order would complete, send the confirmation to me and myself test email, but at the very bottom of the invoice it show that error below "return to homepage".

Also, i have been trying to use tmp_customeremail.htm as the order confirmation to be sent via email but again i get this same error and the confirmation is sent in text.

Right know the site is in testing before it goes live and probably go live in month so im trying to get rid as many bugs as possible.

support
Administrator

4679 Posts

Posted - December 10 2006 :  20:35:22  Show Profile  Visit support's Homepage  Reply with Quote
Hi,

This error can occur when the data being imported from the template file exceeds the number of allowable lines. By default VPASP allows 500 lines of code to be imported.

Try making the following modifications to shopmailformattemplate.asp to see if this resolves your issue.

Change line 17 from:

Dim Textarray(500)

to

Dim Textarray(1500)


and also change line 160 from:

Dim Textarray(500)

to

Dim Textarray(1500)


You will need to increase the number high enough to incorporate the maximum number of lines which exists in your tmp_****.htm files

Thank you.

Regards,
Michael
VPASP SUPPORT
Go to Top of Page

extremeskillz
VP-CART New User

USA
94 Posts

Posted - December 11 2006 :  06:43:05  Show Profile  Reply with Quote
thanks i will give it a try!
Go to Top of Page

extremeskillz
VP-CART New User

USA
94 Posts

Posted - January 05 2007 :  19:06:10  Show Profile  Reply with Quote
Yep it did the trick! Thanks
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