Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Marc Gemma
  1. Hi, I've istalled the mod, which is perfect for me because I'll have many categories, subcategories and products to display and want to keep them organized. I'm having the following problem and can't seem to find the answer in any of these post so far: I can get Category and Subcategory images posted without a problem, but I get the seemingly ubiquitous " Error: Destination does not exist. Error: Catalog products images directory does not exist: /home/humidors/public_html/catalog/images/products/" when I try to add images to a product. I've checked and re-checked my work and can't find anything at all wrong. I'm using the latest install of osC 2.2rc1 (mid-July I think) and v 1.4 of your mod. One thing I did notice, the last bit of code to be replaced in catalog/admin/categories.php may be an issue. Even with a fresh copy of the file when I search for the code to be replaced it's not found, and since it's supposed to be included in v 1.4 already I searched for that too just for good measure. What looks to be the same, but is somehow different. This is what I find starting on line 316: // copy image only if modified $cid = explode('_', $cPath); foreach($cid as $key => $value){ $cdat = tep_db_query("SELECT categories_name FROM categories_description WHERE categories_id = '" . $value . "' && language_id = '1'"); $cat = tep_db_fetch_array($cdat); $categoryfile .= $cat[categories_name] . "/"; $_SESSION['categoryfile'] = $categoryfile; } $products_image = new upload('products_image'); $products_image->set_destination(DIR_FS_CATALOG_IMAGES . DIR_FS_PRODUCTS_IMAGES . $categoryfile); if ($products_image->parse() && $products_image->save()) { $products_image_name = DIR_FS_PRODUCTS_IMAGES . $categoryfile . $products_image->filename; } else { $products_image_name = (isset($HTTP_POST_VARS['products_previous_image']) ? $HTTP_POST_VARS['products_previous_image'] : ''); } break; } } Am I missing something? Thanks!