Guest Posted February 16, 2005 Share Posted February 16, 2005 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 More sharing options...
Guest Posted February 16, 2005 Share Posted February 16, 2005 why not download another copy of the application and then extract your individual files from there? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.