Welcome, Guest ( Customer Panel | Login )




 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-CART 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
0 Item(s)
$0.00