Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Errors in Generate Static HTML in 6.0.8
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sallydoodle
Starting Member

2 Posts

Posted - August 06 2006 :  18:11:50  Show Profile  Reply with Quote
Hi -
When I try to run "Generate Static HTML", I get the following error for the product pages:
--------------------------------------------
Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'Handle_Product'

/shopfileio.asp, line 460
--------------------------------------------

The index.htm and category pages are created just fine.

I am running version 6.0.8.

I started to hunt through the code, and it looks like with the files that are included with shopa_generatehtml.asp, handle_product is in fact undefined.

Has anyone gotten this to work or seen this error?

TIA,
Sally

jubjub
VP-CART New User

110 Posts

Posted - August 07 2006 :  23:35:33  Show Profile  Reply with Quote
handle_product is a subroutine and not a variable. Does the error pop up when it's generating? Usually with the generate static html page feature, some characters in the product may put it off.
Go to Top of Page

sallydoodle
Starting Member

2 Posts

Posted - August 08 2006 :  11:28:01  Show Profile  Reply with Quote
Hi jubjub - thanks for the reply.

It chokes on the first product and there is nothing in this product name and description except for the word 'test' in each case.

I did some more checking and it looks like the handle_product subroutine is only defined in the following files:
shopdisplaycategories.asp
shopproductformat_template.asp

I don't think any of these is included in shopa_generatehtml.asp

Any other ideas? Have you gotten this functionality to work in 6.0.8? I have another customer using a 5.5 store and this works fine.

Thanks!
Go to Top of Page

interface engineer
Starting Member

USA
30 Posts

Posted - November 21 2006 :  12:09:52  Show Profile  Visit interface engineer's Homepage  Reply with Quote
Hi Sallydoodle - did you ever find a solution to this? I'm experiencing the same problem w/ v6.06..

Thanks in advance for any help you can offer.

Steve

Edited by - interface engineer on November 21 2006 12:10:47
Go to Top of Page

support
Administrator

4679 Posts

Posted - November 22 2006 :  22:26:08  Show Profile  Visit support's Homepage  Reply with Quote
Hi All,

When you are making a template for displaying extended product descriptions you cannot use any functions that contain 'sub'.
For example: [formatbutton sub]

To stop this error from occuring please remove any references to these in your template file.

Thank you

Regards,
Michael
VPASP SUPPORT
Go to Top of Page

interface engineer
Starting Member

USA
30 Posts

Posted - November 22 2006 :  22:37:58  Show Profile  Visit interface engineer's Homepage  Reply with Quote
Good to know - thanks Michael!

cheers,
Steve
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