RE: new isp and db... big error!

chfields <[email protected]> 12 Sep 2003 20:20:54 -0000
Newsgroups gmane.comp.web.oscommerce.installation
Message-ID <2189b38f9b071af99c7d92a87ba4cf55@osCommerce-Forums>
This message was sent from: Installation and Configuration
http://forums.oscommerce.com/viewtopic.php?p=228564#228564
----------------------------------------------------------------

I found this in includes/application_top.php near the bottom you should find something like this... I don't know if it will help, but its all I could find. this seems to be where the cpath is created, yours has a / instead of =

// calculate category path
  if (isset($HTTP_GET_VARS['cPath'])) {
    $cPath = $HTTP_GET_VARS['cPath'];
  } elseif (isset($HTTP_GET_VARS['products_id']) && !isset($HTTP_GET_VARS['manufacturers_id'])) {
    $cPath = tep_get_product_path($HTTP_GET_VARS['products_id']);
  } else {
    $cPath = '';
  }

  if (tep_not_null($cPath)) {
    $cPath_array = tep_parse_category_path($cPath);
    $cPath = implode('_', $cPath_array);
    $current_category_id = $cPath_array[(sizeof($cPath_array)-1)];
  } else {
    $current_category_id = 0;
  }