Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NDboots

Pioneers
  • Posts

    9
  • Joined

  • Last visited

Profile Information

  • Real Name
    L. Deutscher

NDboots's Achievements

  1. Well, I was experiencing the same thing as Matt when I installed Ship Estimator 2.2.2. Could'nt seem to find an answer, so just studied over things a bit. I'm not a Professional by no means, so back up your original files before you try this. But, this seems to work for me as guest not logged in and with test logins. I found the product section estimator would work okay from /catalog/products_ship_estimator.php so I copied the following from it, which start at about line 45. switch ($action) { case 'process': //Error if customer is not logged in and address is not set if (!tep_session_is_registered ('customer_id') && (!tep_session_is_registered ('shippostcode') || !tep_session_is_registered ('shipcountry') || (!tep_session_is_registered ('shipzone') && SHIP_ESTIMATOR_USE_ZONES == 'true') ) ) { $error_code = ''; if (!tep_not_null ($_POST['shippostcode']) || !tep_not_null ($_POST['shipcountry']) ) { if (!tep_not_null ($_POST['shippostcode']) ) $error_code .= '&error_shippostcode=1'; if (!tep_not_null ($_POST['shipzone']) && SHIP_ESTIMATOR_USE_ZONES == 'true') $error_code .= '&error_shipzone=1'; if (!tep_not_null ($_POST['shipcountry']) ) $error_code .= '&error_shipcountry=1'; tep_redirect (tep_href_link (FILENAME_SHIP_ESTIMATOR, 'action=ship_error' . $error_code, 'NONSSL')); exit; // Don't do anything else } //if (!tep_not_null } //if (!tep_session_is_registered *******Next I opened /catalog/ship_estimator.php (the file with the problem) and hunted for the following which was very similar but not quit the same. It starts around line 41. Next, I deleted the below and replaced it with the above in /catalog/ship_estimator.php and now I don't seem to have Matt's problem. PLEASE NOTE: I already did change the words above - FILENAME_PRODUCTS_SHIP_ESTIMATOR to FILENAME_SHIP_ESTIMATOR - to go with the /catalog/ship_estimator.php file it is going into. switch ($action) { case 'process': if (!tep_session_is_registered ('customer_id') && (!tep_session_is_registered ('shippostcode') || !tep_session_is_registered ('shipcountry') || (!tep_session_is_registered ('shipzone') && SHIP_ESTIMATOR_USE_ZONES == 'true') ) ) { $error_code = ''; if (!tep_not_null ($_POST['shippostcode']) ) $error_code .= '&error_shippostcode=1'; if (!tep_not_null ($_POST['shipzone']) && SHIP_ESTIMATOR_USE_ZONES == 'true') $error_code .= '&error_shipzone=1'; if (!tep_not_null ($_POST['shipcountry']) ) $error_code .= '&error_shipcountry=1'; tep_redirect (tep_href_link (FILENAME_SHIP_ESTIMATOR, 'action=ship_error' . $error_code, 'NONSSL')); exit; // Don't do anything else } //if (!tep_session_is_registered
  2. The Close button does not show in mine either. The problem is here in /catalog/ship_estimator.php About line 888 it reads: <?php echo '<a href="' . tep_href_link (FILENAME_SHIP_ESTIMATOR, 'action=end', 'NONSSL') . '">' . tep_image_button('button_close_window.jpg', IMAGE_BUTTON_CLOSE) . '</a>'; ?> The problem is the "button_close_window.gif" is the file we uploaded, it is not a .jpg format file. So, just change .jpg to .gif and your "Close" button will show. I'm having same problem as Matt in the shopping cart "What's In My Cart?" section, pre-login /catalog/shopping_cart.php?osCsid=a5ec130564b183c1d42dff893fafd73a This is very confussing for my customers! Ship Estimator 2.2.2 will not calculate shipping if shipping was not calculated prior to pressing the "Buy Now" button in the individual items listing. In the "What's In My Cart?" section, I get no error, same window reloads waiting for zipcode and country. But the URL does have the word "error" in it: /catalog/ship_estimator.php?action=ship_error&osCsid=a5ec130564b183c1d42dff893fafd73a
  3. I'm a osCommerce newbee, tackling an install. Everything seemed to work fine until I installed the Active Countries add on. I went through the list adding and replacing lines as directed in my files, I didn't load the files that came with the package unless they were not there to begin with. I installed the two files into mySQL. In my Admin section the countries are all listed and that section works find. Drop down menu works for Countries in the order section of the Catalog. My problem is in Admin/Location-Taxes/Zones, I get this this message: Zones 1054 - Unknown column 'z.zone_status' in 'field list' select z.zone_id, c.countries_id, c.countries_name, z.zone_name, z.zone_code, z.zone_country_id, z.zone_status from zones z left join countries c on (z.zone_country_id = c.countries_id) where c.countries_status='1' order by c.countries_name, z.zone_name limit 0, 20 [TEP STOP] My experience with osCommerce and MySQL is near Newbee. I'm not sure what I should be looking at to correct this. Is it a problem with MySQL, or one of the .PHP files??? Where should I look?
×
×
  • Create New...