Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Rockfell

Archived
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    berthelin

Rockfell's Achievements

  1. Hello, I had the same problem then I asked in the french forum for a solution. User "Osgadou" gave me the link to the answer : original post here. To resume : In admin/categories.php, find : if (isset($HTTP_POST_VARS['products_image']) && tep_not_null($HTTP_POST_VARS['products_image']) && ($HTTP_POST_VARS['products_image'] != 'none')) { // images categories $sql_data_array['products_image'] = tep_output_generated_category_path_fs($current_category_id) . tep_db_prepare_input($HTTP_POST_VARS['products_image']); // eof images categories } Replace with : if (isset($HTTP_POST_VARS['products_image']) && tep_not_null($HTTP_POST_VARS['products_image']) && ($HTTP_POST_VARS['products_image'] != 'none')) { $product_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); // Check if image path is already in the DB if ($product['products_image'] != $HTTP_POST_VARS['products_image']) { // images categories $sql_data_array['products_image'] = tep_output_generated_category_path_fs($current_category_id) . tep_db_prepare_input($HTTP_POST_VARS['products_image']); // eof images categories } } It works for me. I use it too with "More_Pics_6 For 2.2 Ms2" (contrib. 1611), no problems. Sorry for my bad english, it isn't my first language, Good luck !
×
×
  • Create New...