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
 VP-ASP 6.00 Questions
 xfrontpagemaxrecords error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

scvit
Starting Member

USA
14 Posts

Posted - November 07 2006 :  14:51:02  Show Profile  Visit scvit's Homepage  Reply with Quote
Hello,

I have set xfrontpagemaxrecords=0 and reloaded the configuration, no products get displayed, which is what I want. But I also get this error on the bottom of the page:

Syntax error (missing operator) in query expression 'hide=0 and catalogid In ()'

I have searched the forums and google for this but cannot find anything. Can anyone help?

Mike

Michael Strauss

jubjub
VP-ASP New User

110 Posts

Posted - November 08 2006 :  19:58:08  Show Profile  Reply with Quote
Try adding this to your shoprandomproducts.asp file under maxrecords=getconfig("xfrontpagemaxrecords")-
if cint(maxrecords) = 0 Then exit sub

Edit: alternatively, just remove the code from default.asp

Edited by - jubjub on November 08 2006 19:58:48
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000