Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Categories Box


Guest

Recommended Posts

Hi guys,

 

I've got a bit of a problem! I'd originally removed my categories box (from jist the includes/boxes.php file) but now when I try to "re-install" it I get a bit of a problem. I add the following code :

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

Yet get the following error:

 

Warning: reset(): Passed variable is not an array or object in c:\program files\easyphp1-7\www\catalog\includes\boxes\categories.php on line 95

 

Warning: Variable passed to each() is not an array or object in c:\program files\easyphp1-7\www\catalog\includes\boxes\categories.php on line 96

 

Any idea what that means?! I'd also like to add that I have put "Category Images" on my front page - perhaps that may be a problem?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...