VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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-ASP 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

4266 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-ASP 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-ASP 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