jsmith2 Posted May 18, 2008 Posted May 18, 2008 first I had this error: when I clicked 'view pending order status' link Fatal error: Cannot redeclare tep_show_category() (previously declared in /includes/header.php:220) in includes/boxes/categories.php on line 13 so then, I fixed it by commenting out: /* function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; for ($i=0; $i<$tree[$counter]['level']; $i++) { $categories_string .= " "; } $categories_string .= '<a href="'; if ($tree[$counter]['parent'] == 0) { $cPath_new = 'cPath=' . $counter; } else { $cPath_new = 'cPath=' . $tree[$counter]['path']; } $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">'; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<b>'; } // display category name $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } $categories_string .= '</a>'; if (SHOW_COUNTS == 'true') { $products_in_category = tep_count_products_in_category($counter); if ($products_in_category > 0) { $categories_string .= ' (' . $products_in_category . ')'; } } $categories_string .= '<br>'; if ($tree[$counter]['next_id'] != false) { tep_show_category($tree[$counter]['next_id']); } } */ ?> <!-- categories //--> <tr> <td> Now this is what I get... Sorry for the long post, hope I can get answers soon! Thanks!
♥geoffreywalton Posted May 18, 2008 Posted May 18, 2008 This will help on editing column_left http://www.oscommerce.info/kb/osCommerce/Catalog_Area/Boxes Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
jsmith2 Posted May 19, 2008 Author Posted May 19, 2008 This will help on editing column_left http://www.oscommerce.info/kb/osCommerce/Catalog_Area/Boxes The screenshot shown has two columns, will it get rid of the one thats not supposed to be there?
jsmith2 Posted May 19, 2008 Author Posted May 19, 2008 The screenshot shown has two columns, will it get rid of the one thats not supposed to be there? Got it, Had to remove all tables within the body, just in the one php file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.