Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shiningfaery

Pioneers
  • Posts

    17
  • Joined

  • Last visited

Profile Information

  • Real Name
    Michaela

shiningfaery's Achievements

  1. ok have went back and retraced my steps and still getting same error, please someone help
  2. i may have installed this wrong, i am going to retrace my steps then try again.
  3. OK so I have installed this into an unmodified store and as per instructions ran the sql file in phpmyadmin and got the following error. SQL query: ALTER TABLE `products_options_values` ADD `products_options_values_thumbnail` VARCHAR( 60 ) NOT NULL ; MySQL said: Documentation #1060 - Duplicate column name 'products_options_values_thumbnail' this is the file i am trying to run ALTER TABLE `products_options_values` ADD `products_options_values_thumbnail` VARCHAR(60) NOT NULL ; INSERT INTO configuration_group VALUES (735, 'Options as Images', 'Configuration for the Options as Images Function', 20, 1); INSERT INTO configuration VALUES ('', 'Use Images for Product Options?', 'OPTIONS_AS_IMAGES_ENABLED', 'true', 'Do you wish to enable images for options?', 735, 1, '2003-08-18 22:19:45', '0000-00-00 00:00:00', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); INSERT INTO configuration VALUES ('', 'Maximum number of images per row', 'OPTIONS_IMAGES_NUMBER_PER_ROW', '2', 'Enter the maximum number of images shown per row', 735, 2, '2003-08-20 12:58:16', '0000-00-00 00:00:00', NULL, NULL); INSERT INTO configuration VALUES ('', 'Options as Images - Image Width', 'OPTIONS_IMAGES_WIDTH', '80', 'Set width of option value images', 735, 3, '2003-08-20 12:55:16', '0000-00-00 00:00:00', NULL, NULL); INSERT INTO configuration VALUES ('', 'Options as Images - Image Height', 'OPTIONS_IMAGES_HEIGHT', '100', 'Options Images Height', 735, 4, '2003-08-20 12:55:22', '0000-00-00 00:00:00', NULL, NULL); INSERT INTO configuration VALUES ('', 'Click to Enlarge Function', 'OPTIONS_IMAGES_CLICK_ENLARGE', 'true', 'Do you wish to enable the Click to Enlarge Function?', 735, 5, '2003-08-21 12:59:58', '0000-00-00 00:00:00', NULL, 'tep_cfg_select_option(array(\'true\', \'false\'),'); ALTER TABLE `products_options` ADD `products_options_images_enabled` VARCHAR(5) DEFAULT 'false' NOT NULL ; any ideas? michaela
  4. Woohoo thank you. I had considered making that same change but as I am not confident in what I was doing I decided against it. Thank you so much for your help. Michaela
  5. I have an idea where the code has gone wrong but I dont know enough to fix so if you pm your email address i can email it to you its so much easier that trying to post in segments. thank you
  6. I could do that but the file is huge over 1300 lines of code, it wont go into one post are you sure you want the entire file?
  7. Hi all, I am really needing some help with the error mentioned in the title. The Issue I am having is with Additional images v2.2.0. I have posted in here the problem have not recieved any help in over 24 hours so am posting here to get some attention. http://www.oscommerce.com/forums/topic/35801-contribution-additional-images-module/page__st__1420__p__1533566entry1533566 Please Please someone help I have been sitting in limbo for days now.....:(
  8. your code hasnt fixed my problem. its part of the configured code from the install instructions. I did try fixing it myself to no avail. I have now put it back to what it originally looked like. and get this: Parse error: syntax error, unexpected T_ELSEIF in /home/shoeadd1/public_html/admin/categories.php on line 266 tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array); } elseif ($action == 'update_product') { tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . "'"); } } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } this is the code lines 265 onwards. Any Ideas?? Michaela
  9. Ok so 1 problem was fixed only for another to appear my happiness was short lived :( Parse error: syntax error, unexpected T_STRING in /home/shoeadd1/public_html/admin/categories.php on line 267 the code is: tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array);{ ($action == 'update_product') tep_db_perform(TABLE_PRODUCTS_DESCRIPTION, $sql_data_array, 'update', "products_id = '" . (int)$products_id . "' and language_id = '" . (int)$language_id . '"); } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } this is lines 265- 275. Help!! Michaela
  10. Yeah Thank you, Thank you, Thank You, Thank you. It has worked a treat.....so happy and relieved.. :)
  11. I have painstakingly added this module followed the installation txt and went thru the configuration all ok, I have then followed the latest instructions for modifying the files and replacing sections as needed. Now I have this instead of my admin folder Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /home/shoeadd1/public_html/admin/includes/classes/upload.php on line 55 I have reopened the file and double checked the section its as written on the instruction as far as I can see there is nothing wrong with this code. if ( tep_not_null($file['tmp_name']) && ($file['tmp_name'] != 'none') && is_uploaded_file($file['tmp_name']) ) { if (sizeof($this->extensions) > 0) { if (!in_array(strtolower(substr($file['name'], strrpos($file['name'], '.')+1)), $this->extensions)) { if $messageStack->add(ERROR_FILETYPE_NOT_ALLOWED, 'error'); // BOF: Additional Images } elseif ($this->message_location == 'session') { // EOF: Additional Images $messageStack->add_session(ERROR_FILETYPE_NOT_ALLOWED, 'error'); } this is line 52-60. Please help Michaela
×
×
  • Create New...