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-Cart StoreFront Customer Forum

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

 All Forums
 VPCart Forum
 Comments about VP-ASP
 Strange error handling
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

United Kingdom
34 Posts

Posted - April 22 2007 :  12:04:35  Show Profile  Reply with Quote
Just wondering ...

If you don't specifically include any homepage content, the code in default.asp

If crs.eof then
handleerror "No content record assigned to homepage"

causes the header and trailer pages to be displayed again, nested within the outer header and trailer pages. Is there any particular reason for this? It took me a while to work out what was going on, because the "error message" appears very small hidden within two pairs of header/trailer pages, and when I did finally twig, I was a bit peeved that I'd wasted so much time!

It seems to be a lot cleaner (and more obvious!) if the header and trailer lines are commented out of the error-path code. Then you just get a big empty page with the error-message in it, which is sort of what I would expect really!



4284 Posts

Posted - April 22 2007 :  18:44:17  Show Profile  Visit support's Homepage  Reply with Quote
Hi Ade

This is something that will be resolved in our next release.

To fix it, you need to make the following change in default.asp.

Change the following -

handleerror "No content record assigned to homepage"

To -

handleerror "No content record assigned to homepage"

VP-ASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000