mossman Posted May 11, 2011 Share Posted May 11, 2011 Good Afternoon Everyone! I have almost complete my cart (thanks for everyones help). When i get to the checkout page it dosen't let me choose a shipping method, it defaults to "Free Shipping". I have tried enableing and disabling the standard shipping methods and still no option appear. Anyone know what causes this? the site is here Thank you for your time! Aaron Link to comment Share on other sites More sharing options...
KDM Posted May 11, 2011 Share Posted May 11, 2011 OK So I tried to create an account to check your shipping choices. First I received a warning about your secure site and I needed to accept your certificate. I see you have a Comodo Secure Certificate with that customers should not have to accept your certificate in fact it is my guess most will not. Check out the Security forum as there some great information there that will help you in that area. After I filled out the sign up form I got these error messages on screen. I did enter my phony email as "[email protected]", it may be that it wouldn't accept that?? These generic kind of messages you don't want to show to the public as they expose your path and they are not good for business. Plus people will have no clue as to what is going on. I x's out some of the path as you don't want everyone to know. I tried twice to enter my information and got error both times. If you haven't thought about it you may want to add some security features before you open. Warning: mail() [function.mail]: SMTP server response: 553 sorry, your envelope recipient domain must exist (#5.7.1) in D:\xxxxx\xxxxx\xxxxxx.com\catalog\includes\classes\email.php on line 520 Warning: Cannot modify header information - headers already sent by (output started at D:\xxxxx\xxxxx\xxxxxxx.com\catalog\includes\classes\email.php:520) in D:\xxxxx\xxxxx\xxxxxx.com\catalog\includes\functions\general.php on line 33 Link to comment Share on other sites More sharing options...
mossman Posted May 11, 2011 Author Share Posted May 11, 2011 Wow, thanks! Looks like i have a litte more work :) I'll post when i have those errors taken care of. OK So I tried to create an account to check your shipping choices. First I received a warning about your secure site and I needed to accept your certificate. I see you have a Comodo Secure Certificate with that customers should not have to accept your certificate in fact it is my guess most will not. Check out the Security forum as there some great information there that will help you in that area. After I filled out the sign up form I got these error messages on screen. I did enter my phony email as "[email protected]", it may be that it wouldn't accept that?? These generic kind of messages you don't want to show to the public as they expose your path and they are not good for business. Plus people will have no clue as to what is going on. I x's out some of the path as you don't want everyone to know. I tried twice to enter my information and got error both times. If you haven't thought about it you may want to add some security features before you open. Warning: mail() [function.mail]: SMTP server response: 553 sorry, your envelope recipient domain must exist (#5.7.1) in D:\xxxxx\xxxxx\xxxxxx.com\catalog\includes\classes\email.php on line 520 Warning: Cannot modify header information - headers already sent by (output started at D:\xxxxx\xxxxx\xxxxxxx.com\catalog\includes\classes\email.php:520) in D:\xxxxx\xxxxx\xxxxxx.com\catalog\includes\functions\general.php on line 33 Link to comment Share on other sites More sharing options...
mossman Posted May 11, 2011 Author Share Posted May 11, 2011 I have added some of the features from: "How To Secure Your Site" I didn't do the form cleanser, thats something i should use to help with the form throwing errors? Maybe i should install all recomended security features. I have been a little weary... So close to having this working i didn't want to break it, i do have it backed up... I was able to fill out the form fine using a good email. Wouldn't i want to revoke anyone that provides a bunk email, or do you think thats over kill? Wow, thanks! Looks like i have a litte more work :) I'll post when i have those errors taken care of. Link to comment Share on other sites More sharing options...
KDM Posted May 11, 2011 Share Posted May 11, 2011 I have added some of the features from: "How To Secure Your Site" I didn't do the form cleanser, thats something i should use to help with the form throwing errors? Maybe i should install all recomended security features. I have been a little weary... So close to having this working i didn't want to break it, i do have it backed up... I was able to fill out the form fine using a good email. Wouldn't i want to revoke anyone that provides a bunk email, or do you think thats over kill? I don't know that you want to revoke them as they could have accidentally have entered a wrong letter in their email address that would make it be revoked. I think better to put an polite error message that there a error in there email address and could they correct before proceeding. You do need a form cleaner in my mind, as the forms are one of the best places to add malicious code. Check out FWR security pro - this is for post forms. Sam' anti hacker account mod - this is for the get's Anti-Robot Registration Validation - this will stop robots from adding automated accounts PHPIDS for osCommerce - this one can inform you of possible attacks All of those have their pros and cons but remember security is of utmost importance. This protects not only you but you customers as well. Think of your website as a ongoing process. Before I brought my website on line I had spent about 3 months working on. This doesn't mean that it will take you that long but I wanted to feel as secure as possible. I still work on it trying to improve it. Link to comment Share on other sites More sharing options...
mossman Posted May 11, 2011 Author Share Posted May 11, 2011 Well put! The last thing i want is to launch a site and get shredded in the first week by hacks. Thank you for the info on those additional security options, looks like i need to slow down and make sure everything is working within a secure environment. While reading these forums, more so the security because i'm looking for the fix for the "Accept Certificate" issue. I'm noticing and worrying allot over all the post about being hacked. Most of them sound as if they are receiving a email or something letting them of malicious use. I assume that once i have all the safeguards in place that i too will receive emails letting me know that a attempt has been made (i say attempt with much concern). Still haven't found the post with how to stop the "Accept Cert" but getting closer :) Thanks again! Aaron I don't know that you want to revoke them as they could have accidentally have entered a wrong letter in their email address that would make it be revoked. I think better to put an polite error message that there a error in there email address and could they correct before proceeding. You do need a form cleaner in my mind, as the forms are one of the best places to add malicious code. Check out FWR security pro - this is for post forms. Sam' anti hacker account mod - this is for the get's Anti-Robot Registration Validation - this will stop robots from adding automated accounts PHPIDS for osCommerce - this one can inform you of possible attacks All of those have their pros and cons but remember security is of utmost importance. This protects not only you but you customers as well. Think of your website as a ongoing process. Before I brought my website on line I had spent about 3 months working on. This doesn't mean that it will take you that long but I wanted to feel as secure as possible. I still work on it trying to improve it. Link to comment Share on other sites More sharing options...
KDM Posted May 11, 2011 Share Posted May 11, 2011 Well put! The last thing i want is to launch a site and get shredded in the first week by hacks. Thank you for the info on those additional security options, looks like i need to slow down and make sure everything is working within a secure environment. While reading these forums, more so the security because i'm looking for the fix for the "Accept Certificate" issue. I'm noticing and worrying allot over all the post about being hacked. Most of them sound as if they are receiving a email or something letting them of malicious use. I assume that once i have all the safeguards in place that i too will receive emails letting me know that a attempt has been made (i say attempt with much concern). Still haven't found the post with how to stop the "Accept Cert" but getting closer :) Thanks again! Aaron I'm not familiar with Comodo Certificates but I'm guessing they all work pretty much the same way. First for example you go to my website click the Trustwave Certificate in my header. You will see the validation of my site. Plus you will not get any certificate error when you go to register. I would think theirs would do something similar. Certificate? Those are actually within the browser by companies etc. Check it out. In Firefox go to tools-options-advanced-encryption tab. Here you can view various certificates. In IE it would be tools-internet options-content. You can view them there. How does all those certificates get in the browsers? Whenever you update your browsers the various ones are added or updated. Notice they are not websites, just companies that you would receive your SSL certificate from. So if you installed your SSL certificate right you should not get error messages like I got. You SSL certificate company should be able to tell you how to install. Usually through CPanel. Hopefully this helps a little in understanding what the process is. Link to comment Share on other sites More sharing options...
mossman Posted May 12, 2011 Author Share Posted May 12, 2011 Good Morning! Check out FWR security pro - this is for post forms. - INSTALLED Sam' anti hacker account mod - this is for the get's - INSTALLED Anti-Robot Registration Validation - this will stop robots from adding automated accounts - GONNA USE REACPTCHA add-on PHPIDS for osCommerce - this one can inform you of possible attacks - SITE IS DOWN, CAN'T Get the zip file My hosting company is working on the FireFox Error with the certificate. Only seems to happen in Mozilla. I'm still not sure how to fix the error page that shows that absolute path on registration if the email is no good. If i do a java script it would only spawn the error if the email wasn't formatted right(@ .com) , i think. Does OSC require me to set up any SMTP settings for my hosting companies email that would help with that error? I still can't seem to get the shipping to appear. I created a test email in case you wanted to try and sign up again: [email protected] I have enabled Flat Rate shipping. The only option that is showing is Free shipping, and i didn't even set up free shipping... that i know of... Thank you very much for your time! Aaron Link to comment Share on other sites More sharing options...
KDM Posted May 12, 2011 Share Posted May 12, 2011 PHPIDS for osCommerce - this one can inform you of possible attacks - SITE IS DOWN, CAN'T Get the zip file This is one I consider good but it consumes more time in which to load the page. I have almost 2000 products, while I don't consider this a lot it is taking my site longer to load. If you haven't already would you load your products before you add this contribution. Test your load time (roughly) before and after you install it? Let me know what you think. I've already added a test for ip's that are already banned and if they are I bypass running the program and send it (ip) straight to the banned page. Since it is already banned I see no sense in taking anymore processing time with it. I also will be writing some code to go with it that will make other tests such as; where someone is searching for my admin folder, I will send them straight to the banned page again bypassing that process. Plus a couple of other ideas that I have to help out on the load time. I'm still not sure how to fix the error page that shows that absolute path on registration if the email is no good. If i do a java script it would only spawn the error if the email wasn't formatted right(@ .com) , i think. I guessing you have osc version 2.3? I have 2.2a and I always set up phony accounts when testing, haven't had that trouble yet. I did install 2.3 yesterday on my test machine at home and plan to test my various add-ons that I have on my production site. I plan to move to that version maybe before the first of the year. I may wait until after the first of the year as I don't want clause any problems with my google rankings before the holidays as that is my busiest time of year. All that being said, the point I am making is I created a profile yesterday first thing on 2.3 with that email and received no error. Account was created fine. Have you added a contribution that deals with that? Perhaps that is where it is coming from. Let me and I will try to help you figure it out. Does OSC require me to set up any SMTP settings for my hosting companies email that would help with that error? I have always had the default setting for this. So I don't think it is stock osc problem. Maybe wrong. I still can't seem to get the shipping to appear. I created a test email in case you wanted to try and sign up again: [email protected] I have enabled Flat Rate shipping. The only option that is showing is Free shipping, and i didn't even set up free shipping... that i know of... Another error message! I'm guessing because I gave a bogus zip code with state and fedex could not match them up. Again I wouldn't want the customer to see this kind of error. One they wouldn't have a clue what is wrong. Two you just probably lost a customer. I've atually had a customer once give me the same address in different states. I called to be sure and she had made a mistake. Don't expect customers to do everything right. That would be a big mistake. Fatal error: Class 'SoapClient' not found in D:\xxxxx\xxxxx\xxxxxxx.com\catalog\includes\modules\shipping\fedexwebservices.php on line 67 Ok. So I went back and changed the zip, city and state to be valid. Still get the error. Link to comment Share on other sites More sharing options...
mossman Posted May 12, 2011 Author Share Posted May 12, 2011 I believe the new error is due to the FedEx add-on. It needs SOAP to be running. I have already contacted my hosting company about fixing it. Hopefully they will. Most things i read on the error pointed to the hosting configuration. For the most part this was a standard install of 2.3, the only changes i made to the form was through the admin section to turn off date of birth and some other items that seemed extraneous for what we sale. I'm hoping that i won't see that error again if i can get the SOAP running and the FedEx plug-in to show. For now i have disabled it. I don't believe it’s a bad zip code, my test account is set up with good information and i still get the same error. I did find another person that had fixed the error, haven't heard back from him yet. I'll keep you posted, soon hopefully i can sale a radiator! This is one I consider good but it consumes more time in which to load the page. I have almost 2000 products, while I don't consider this a lot it is taking my site longer to load. If you haven't already would you load your products before you add this contribution. Test your load time (roughly) before and after you install it? Let me know what you think. I've already added a test for ip's that are already banned and if they are I bypass running the program and send it (ip) straight to the banned page. Since it is already banned I see no sense in taking anymore processing time with it. I also will be writing some code to go with it that will make other tests such as; where someone is searching for my admin folder, I will send them straight to the banned page again bypassing that process. Plus a couple of other ideas that I have to help out on the load time. I guessing you have osc version 2.3? I have 2.2a and I always set up phony accounts when testing, haven't had that trouble yet. I did install 2.3 yesterday on my test machine at home and plan to test my various add-ons that I have on my production site. I plan to move to that version maybe before the first of the year. I may wait until after the first of the year as I don't want clause any problems with my google rankings before the holidays as that is my busiest time of year. All that being said, the point I am making is I created a profile yesterday first thing on 2.3 with that email and received no error. Account was created fine. Have you added a contribution that deals with that? Perhaps that is where it is coming from. Let me and I will try to help you figure it out. I have always had the default setting for this. So I don't think it is stock osc problem. Maybe wrong. Another error message! I'm guessing because I gave a bogus zip code with state and fedex could not match them up. Again I wouldn't want the customer to see this kind of error. One they wouldn't have a clue what is wrong. Two you just probably lost a customer. I've atually had a customer once give me the same address in different states. I called to be sure and she had made a mistake. Don't expect customers to do everything right. That would be a big mistake. Fatal error: Class 'SoapClient' not found in D:\xxxxx\xxxxx\xxxxxxx.com\catalog\includes\modules\shipping\fedexwebservices.php on line 67 Ok. So I went back and changed the zip, city and state to be valid. Still get the error. Link to comment Share on other sites More sharing options...
mossman Posted May 12, 2011 Author Share Posted May 12, 2011 I went in and disabled all add-on shipping modules. I enable zone rate, flat rate and per item. All are default methods for shipping in the OSC 2.3 i guess. Checkout_shipping.php works again, but i still only see the "Free shipping" as my only option to choose. Here is the code for that page :) <?php /* $Id: checkout_shipping.php,v 1.16 2003/06/09 23:03:53 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // If page requires SSL, and we're not in SSL mode, // redirect to the SSL version of the page if($requireSSL && $_SERVER['SERVER_PORT'] != 443) { header("HTTP/1.1 301 Moved Permanently"); header("Location:https://www.griffinrad.com/catalog/".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit(); } require('includes/application_top.php'); require('includes/classes/http_client.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // if no shipping destination address was selected, use the customers own address as default if (!tep_session_is_registered('sendto')) { tep_session_register('sendto'); $sendto = $customer_default_address_id; } else { // verify the selected shipping address $check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$sendto . "'"); $check_address = tep_db_fetch_array($check_address_query); if ($check_address['total'] != '1') { $sendto = $customer_default_address_id; if (tep_session_is_registered('shipping')) tep_session_unregister('shipping'); } } require(DIR_WS_CLASSES . 'order.php'); $order = new order; // register a random ID in the session to check throughout the checkout procedure // against alterations in the shopping cart contents if (!tep_session_is_registered('cartID')) tep_session_register('cartID'); $cartID = $cart->cartID; // if the order contains only virtual products, forward the customer to the billing page as // a shipping address is not needed if ($order->content_type == 'virtual') { if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } $total_weight = $cart->show_weight(); $total_count = $cart->count_contents(); // load all enabled shipping modules require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; if ( defined('MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING') && (MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING == 'true') ) { $pass = false; switch (MODULE_ORDER_TOTAL_SHIPPING_DESTINATION) { case 'national': if ($order->delivery['country_id'] == STORE_COUNTRY) { $pass = true; } break; case 'international': if ($order->delivery['country_id'] != STORE_COUNTRY) { $pass = true; } break; case 'both': $pass = true; break; } $free_shipping = false; if ( ($pass == true) && ($order->info['total'] >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) { $free_shipping = true; include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_shipping.php'); } } else { $free_shipping = false; } // process the selected shipping method if ( isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') ) { if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (tep_not_null($HTTP_POST_VARS['comments'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); if ( (tep_count_shipping_modules() > 0) || ($free_shipping == true) ) { if ( (isset($HTTP_POST_VARS['shipping'])) && (strpos($HTTP_POST_VARS['shipping'], '_')) ) { $shipping = $HTTP_POST_VARS['shipping']; list($module, $method) = explode('_', $shipping); if ( is_object($$module) || ($shipping == 'free_free') ) { if ($shipping == 'free_free') { $quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE; $quote[0]['methods'][0]['cost'] = '0'; } else { $quote = $shipping_modules->quote($method, $module); } if (isset($quote['error'])) { tep_session_unregister('shipping'); } else { if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) { $shipping = array('id' => $shipping, 'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'), 'cost' => $quote[0]['methods'][0]['cost']); tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } } } else { tep_session_unregister('shipping'); } } } else { $shipping = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } } // get all available shipping quotes $quotes = $shipping_modules->quote(); // if no shipping method has been selected, automatically select the cheapest method. // if the modules status was changed when none were available, to save on implementing // a javascript force-selection method, also automatically select the cheapest shipping // method if more than one module is now enabled if ( !tep_session_is_registered('shipping') || ( tep_session_is_registered('shipping') && ($shipping == false) && (tep_count_shipping_modules() > 1) ) ) $shipping = $shipping_modules->cheapest(); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.checkout_address.shipping[0]) { document.checkout_address.shipping[buttonSelect].checked=true; } else { document.checkout_address.shipping.checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } //--></script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><?php echo tep_draw_form('checkout_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_delivery.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_ADDRESS; ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><?php echo '<b>' . TITLE_SHIPPING_ADDRESS . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_south_east.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if (tep_count_shipping_modules() > 0) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_METHOD; ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (sizeof($quotes) > 1 && sizeof($quotes[0]) > 1) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_METHOD; ?></td> <td class="main" width="50%" valign="top" align="right"><?php echo '<b>' . TITLE_PLEASE_SELECT . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } elseif ($free_shipping == false) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" colspan="2"><?php echo TEXT_ENTER_SHIPPING_INFORMATION; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } if ($free_shipping == true) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2" width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo FREE_SHIPPING_TITLE; ?></b> <?php echo $quotes[$i]['icon']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" onClick="selectRowEffect(this, 0)"> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%"><?php echo sprintf(FREE_SHIPPING_DESCRIPTION, $currencies->format(MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER)) . tep_draw_hidden_field('shipping', 'free_free'); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { $radio_buttons = 0; for ($i=0, $n=sizeof($quotes); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><b><?php echo $quotes[$i]['module']; ?></b> <?php if (isset($quotes[$i]['icon']) && tep_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php if (isset($quotes[$i]['error'])) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" colspan="3"><?php echo $quotes[$i]['error']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } else { for ($j=0, $n2=sizeof($quotes[$i]['methods']); $j<$n2; $j++) { // set the radio button to be checked if it is the method chosen $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); if ( ($checked == true) || ($n == 1 && $n2 == 1) ) { echo ' <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } else { echo ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n"; } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="75%"><?php echo $quotes[$i]['methods'][$j]['title']; ?></td> <?php if ( ($n > 1) || ($n2 > 1) ) { ?> <td class="main"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></td> <td class="main" align="right"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?></td> <?php } else { ?> <td class="main" align="right" colspan="2"><?php echo $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . tep_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></td> <?php } ?> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php $radio_buttons++; } } ?> </table></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> <?php } } ?> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo TABLE_HEADING_COMMENTS; ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo '<b>' . TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td> <td class="main" align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_DELIVERY; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_PAYMENT; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_FINISHED; ?></td> </tr> </table></td> </tr> </table></form></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> I tried taking a clean copy of that page from the orgional install and upload it, broke it... I believe the new error is due to the FedEx add-on. It needs SOAP to be running. I have already contacted my hosting company about fixing it. Hopefully they will. Most things i read on the error pointed to the hosting configuration. For the most part this was a standard install of 2.3, the only changes i made to the form was through the admin section to turn off date of birth and some other items that seemed extraneous for what we sale. I'm hoping that i won't see that error again if i can get the SOAP running and the FedEx plug-in to show. For now i have disabled it. I don't believe it’s a bad zip code, my test account is set up with good information and i still get the same error. I did find another person that had fixed the error, haven't heard back from him yet. I'll keep you posted, soon hopefully i can sale a radiator! Link to comment Share on other sites More sharing options...
KDM Posted May 12, 2011 Share Posted May 12, 2011 I went in and disabled all add-on shipping modules. I enable zone rate, flat rate and per item. All are default methods for shipping in the OSC 2.3 i guess. Checkout_shipping.php works again, but i still only see the "Free shipping" as my only option to choose. Did you check to see if your fedex contribution was compatible with v2.3? I see a lot of changes in that file that looks very similar to v2.2. I really never looked at fedex, just ups and usps as most of my products are small. It has been my experiment that normally you don't need to make too many changes to base files. I tried taking a clean copy of that page from the orgional install and upload it, broke it... Does this mean your check out would not work with the original file back in place. One more thing your shipping modules are checked to see if they are enabled in the class shipping which is catalog/includes/classes/shipping.php. These lines send the program to create the shipping mod classes: // load all enabled shipping modules require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; Link to comment Share on other sites More sharing options...
KDM Posted May 12, 2011 Share Posted May 12, 2011 Aaron, What the name of the fedex contribution including version#. Also you can check for soap by going to the admin-tools-server info. This gives you a list of everything on your server. Do a search for soap on that page. If it is there it have be listed as enabled or disabled. If you can not change or don't know how to change your php.ini settings your host will need to that it for you. And then you will need to do a reboot of your server for it to take effect. Link to comment Share on other sites More sharing options...
mossman Posted May 13, 2011 Author Share Posted May 13, 2011 Good Morning! The hosting company hasn't gotten back to me on the SOAP install. I did however check the server info and it is not running. The add-on i was/am trying to run is FedEx Web Services v9: http://addons.oscommerce.com/info/7977 At this point i would be fine with zone based shipping :) I still can't get any shipping to show up. I download a clean version of 2.2 (i thought i was 2.3, i was wrong) and uploaded clean version of ot_shipping and checkout shipping to see if it would help, it didn't. Thanks Man! Aaron Aaron, What the name of the fedex contribution including version#. Also you can check for soap by going to the admin-tools-server info. This gives you a list of everything on your server. Do a search for soap on that page. If it is there it have be listed as enabled or disabled. If you can not change or don't know how to change your php.ini settings your host will need to that it for you. And then you will need to do a reboot of your server for it to take effect. Link to comment Share on other sites More sharing options...
mossman Posted May 13, 2011 Author Share Posted May 13, 2011 Did you check to see if your fedex contribution was compatible with v2.3? I see a lot of changes in that file that looks very similar to v2.2. I really never looked at fedex, just ups and usps as most of my products are small. It has been my experiment that normally you don't need to make too many changes to base files. Does this mean your check out would not work with the original file back in place. One more thing your shipping modules are checked to see if they are enabled in the class shipping which is catalog/includes/classes/shipping.php. These lines send the program to create the shipping mod classes: // load all enabled shipping modules require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping; I Apologize, i ahve been running version 2.2 and didn't know. The FedEx Plugin i used is V2.2 compatible. When i uploaded the file that broke the pages, it was a V2.3 file. After downloading a clean version of 2.2 i was able to upload clean version and it didn't break the page, but it didn't resolve the issue either, DOH! I know it must be something stupid i did. I didn't really edit any of the shipping files, except for the addition of the security code. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.