Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

amcho

Archived
  • Posts

    15
  • Joined

  • Last visited

Everything posted by amcho

  1. For anyone else getting the Administrator Login prompt when trying to make changes to customers orders - I have found that if I do login again the update if performed correctly! Also when I switched off the use ajax functionality (admin - Configuration - Order Editor - set 'Allow the use of AJAX to update order information?' to false) it works OK. Hope this is of some help to someone.....
  2. Heather, Have you been able to resolve this problem? I also end up at the Administrator Login prompt when trying to make changes to customers orders, and like you I would swear it worked OK before! mike
  3. I hit this post trying to work out where SEND_EXTRA_ORDER_EMAILS_TO was defined For any one else who wants an answer to this question look in application_top.php in includes (and admin/includes) and find the code below define($configuration['cfgKey'], $configuration['cfgValue']); SEND_EXTRA_ORDER_EMAILS_TO is defined in the admin area in the shop configuration, and stored in the database
  4. the mod to admin/products_attributes.php also worked for me with a small change to include the sort order: // tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values (null, '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . (float)tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')"); // tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values (null, '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . (float)tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "', '" . (int)$products_options_sort_order . "','')"); // 1136 - Column count doesn't match value count at row 1 insert into products_attributes values (null, '91', '11', '0', '0', '+', '0','') tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " ( products_id, options_id, options_values_id, options_values_price, price_prefix, products_options_sort_order) values ('" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . (float)tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "', '" . (int)$products_options_sort_order . "')"); For an explanation of what causes this error have a look at codingforums.com/archive/index.php?t-28471.html
  5. I'm also working on getting File_Feature_v.8 working with product_attributes_option_type_3.0 One area of conflict is that I want to use both textarea and file upload, so I needed to change configure.php (both in catalog/includes and catalog/includes/local) from: define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', 4); define('PRODUCTS_OPTIONS_TYPE_FILE', 4); to: define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', 4); define('PRODUCTS_OPTIONS_TYPE_FILE', 5); also I changed the database table `products_options_types` INSERT INTO `products_options_types` (`products_options_types_id`, `products_options_types_name`, `language_id`) VALUES (4, 'Textarea', 1); INSERT INTO `products_options_types` (`products_options_types_id`, `products_options_types_name`, `language_id`) VALUES (5, 'File', 1); I also changed database_table.php to include define('TABLE_ADMINISTRATORS', 'administrators'); Hope this helps.
×
×
  • Create New...