View Single Post
  #1  
Old 03-17-2003, 06:10 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default Less than one product produces error in recommends.php

An error occurs on the page customer/main/product.tpl when a customer visits a subcategory with only one product.

In this instance the following error appears:

Code:
Warning: rand(): Invalid range: 0..-1 in /home/virtual/site210/fst/var/www/html/shop/customer/recommends.php on line 59 Warning: rand(): Invalid range: 0..-1 in /home/virtual/site210/fst/var/www/html/shop/customer/recommends.php on line 62


Any idea how to fix this ?
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote