Guest Posted June 9, 2006 Share Posted June 9, 2006 Hello I installed CCGV 5.15a and it installed with no errors, but when i test. The page is blank? Please assistance would really be helpful Quote Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2006 Share Posted June 9, 2006 Hello I installed CCGV 5.15a and it installed with no errors, but when i test. The page is blank?Please assistance would really be helpful Please post to the CCGV support thread and give more details. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2006 Share Posted June 9, 2006 Please post to the CCGV support thread and give more details. http://www.oscommerce.com/forums/index.php?showtopic=158518 Quote Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2006 Share Posted June 9, 2006 http://www.oscommerce.com/forums/index.php?showtopic=158518 Hello I installed CCGV 5.15a to an existing site, The install went well with no problems, except the payment section wouldn't allow or give the option to edit. The Admin section had all the setting and a created a Gift Voucher and a Coupon. I went to tes thru my site and started to go thru checkout and it seems to BLANK screen on the checkout_shipping page. Thnx for helping Greg Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 Hello I installed CCGV 5.15a to an existing site, The install went well with no problems, except the payment section wouldn't allow or give the option to edit. The Admin section had all the setting and a created a Gift Voucher and a Coupon. I went to tes thru my site and started to go thru checkout and it seems to BLANK screen on the checkout_shipping page. Thnx for helping Greg You could try posting the source code for the blank page. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 You could try posting the source code for the blank page. Here is the sourcecode fro that page <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Eclipse Computers</title> <base href="http://www.eclipsecomputers.org/shop/"> <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 //--> <!-- <table cellspacing=0 cellpadding=0 width=177 align=center> <form name="manufacturers" action="http://www.eclipsecomputers.org/shop/index.php" method="get"> <tr><td colspan=2><b>Search by manufacturers:</b></td></tr> <tr><td height=2 colspan=2></td></tr> <tr><td colspan=2> <select name="manufacturers_id" onChange="this.form.submit();" size="1" class=se1><option value="129"></option><option value="35">ABit</option><option value="33">Acer</option><option value="26">Adaptec</option><option value="21">Adobe</option><option value="32">AG Neovo</option><option value="23">Ahanix</option><option value="118">Altec Lansing</option><option value="30">AMC</option><option value="20">AMD</option><option value="31">Amigo</option><option value="34">AOC</option><option value="24">Apex</option><option value="131">Apple</option><option value="27">Arctic Silver</option><option value="28">Argosy</option><option value="29">Arrow Micro</option><option value="36">ASRock</option><option value="22">Asus</option><option value="25">Athenatech</option><option value="120">ATI</option><option value="39">Bafo</option><option value="38">Belkin</option><option value="40">BenQ</option><option value="41">BFG</option><option value="37">Biostar</option><option value="42">Casetronic</option><option value="43">Chenro</option><option value="49">Cisco</option><option value="50">Clevo</option><option value="44">CNet</option><option value="46">Codegen</option><option value="51">Compal</option><option value="47">Cooler Master</option><option value="45">Creative Labs</option><option value="48">CTX</option><option value="52">D-Link</option><option value="54">DFI</option><option value="113">DRAM Master</option><option value="53">Dynatron</option><option value="55">ECS</option><option value="60">Elixir</option><option value="56">Encore</option><option value="58">Enlight</option><option value="115">Epson</option><option value="59">Evercase</option><option value="125">EVGA</option><option value="57">Ezonics</option><option value="61">Foxconn</option><option value="62">Fujitsu</option><option value="63">Gigabyte</option><option value="64">Globalwin</option><option value="65">HighPoint</option><option value="66">Hitachi</option><option value="116">HP</option><option value="67">Hynix</option><option value="68">Hyundai</option><option value="70">I Rocks</option><option value="72">iiyama</option><option value="69">In Win</option><option value="71">Infineon</option><option value="18">Intel</option><option value="121">Jaton</option><option value="75">KDS</option><option value="73">Keytronic</option><option value="74">Kingston</option><option value="15">Kodak</option><option value="119">LEC</option><option value="81">Lenovo</option><option value="79">Lexar</option><option value="117">Lexmark</option><option value="80">LG Electronics</option><option value="76">Linksys</option><option value="82">Lite-on</option><option value="77">Logitech</option><option value="78">LSI Logic</option><option value="126">Maxnote</option><option value="86">Maxtor</option><option value="128">Mcafee</option><option value="84">Media to go</option><option value="88">Micron</option><option value="87">Microsoft</option><option value="85">Mitsumi</option><option value="83">MSI</option><option value="90">Nanya</option><option value="91">NEC</option><option value="92">Netgear</option><option value="89">nMedia PC</option><option value="94">PCChips</option><option value="93">Philips</option><option value="95">Plextor</option><option value="124">PNY</option><option value="123">Powercolor</option><option value="97">Raidcore</option><option value="96">Raidmax</option><option value="103">Samsung</option><option value="102">Sandisk</option><option value="104">Seagate</option><option value="98">Shuttle</option><option value="100">Sony</option><option value="105">Soyo</option><option value="99">Supermicro</option><option value="101">SuperTalent</option><option value="130">Symantec</option><option value="109">Teac</option><option value="108">Thermaltake</option><option value="127">Toshiba</option><option value="107">Trendnet</option><option value="106">Tyan</option><option value="112">US Robotics</option><option value="111">Vantec</option><option value="114">Viewsonic</option><option value="110">Western Digital</option><option value="122">XFX</option></select> </td> </form> </table> --><style type="text/css"> <!-- body { background-image: url(); background-color: #FFFFFF; } .style1 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 18px; color: #FF9933; font-weight: bold; } .style2 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 16px; color: #FF9933; } .style3 {color: #FF6633} .style4 {color: #FF0000} --> </style><title>Eclipse Computers</title> <table cellspacing=0 cellpadding=0 width=100% height=100%> <tr><td valign=top background="Drag to a file to choose it." class=bg1> <table cellspacing=0 cellpading=0 width=850 align=center border=0> <tr> <td colspan=2 height=32 align=right><div align="center"><span class=ch1><span class="style1">Welcome To Eclipse Computers</span><strong> Buy Online Or Call <span class="style2"> 1-888-596-0442</span></strong></span> </div></td> </tr> <tr><td width="196" valign=top><a href=http://www.eclipsecomputers.org/shop/index.php><img src=images/m02.gif width=196 height=54 border=0 align="top"></a> <td width="650" valign=top><a href=http://www.eclipsecomputers.org/shop/index.php><img src=images/b01.gif width=112 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/products_new.php><img src=images/b02.gif width=112 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/account.php><img src=images/b03.gif width=113 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/shopping_cart.php><img src=images/b04.gif width=112 height=48 border=0></a><a href=http://www.eclipsecomputers.org/shop/checkout_shipping.php><img src=images/b05.gif width=111 height=48 border=0></a></td></tr> <tr><td colspan=2 height=65> <table width="863" cellpadding=0 cellspacing=0 style="padding-top: 5px"> <tr><td width=26></td> <td width=4><img src=images/m03.gif width=3 height=25></td> <td width=156 style="padding-left: 14px"> <a href="http://www.eclipsecomputers.org/shop/checkout_shipping.php?language=en"><img src="includes/languages/english/images/icon.gif" border="0" alt="English" title=" English " width="24" height="15"></a> <a href="http://www.eclipsecomputers.org/shop/checkout_shipping.php?language=de"><img src="includes/languages/german/images/icon.gif" border="0" alt="Deutsch" title=" Deutsch " width="24" height="15"></a> <a href="http://www.eclipsecomputers.org/shop/checkout_shipping.php?language=es"><img src="includes/languages/espanol/images/icon.gif" border="0" alt="Espa?ol" title=" Espa?ol " width="24" height="15"></a> </td> <td width=4><img src=images/m03.gif width=3 height=25></td> <td width=143 style="padding-left: 14px"> <form name="currencies" action="http://www.eclipsecomputers.org/shop/checkout_shipping.php" method="get"><select name="currency" onChange="this.form.submit(); "class=se style="width:110px; font-size: 9px" ><option value="USD" SELECTED>US Dollar</option><option value="EUR">Euro</option></select></form> </td> <td width=4><img src=images/m03.gif width=3 height=25></td> <td width=524 style="padding-left: 14px"> <table width="518" cellpadding=0 cellspacing=0> <tr><td width="516"><img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/specials.php class=ml1>specials</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/advanced_search.php class=ml1>search</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/contact_us.htm class=ml1>contact us</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <span class="style4"><B><Blink><a href=http://www.eclipsecomputers.org/shop/account.php class=style4>create an account</a></Blink></B></span> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/login.php class=style3>customer login</a> <img src=images/m07.gif width=2 height=6 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/logoff.php class=style3>customer logout</a> </td> </tr> <tr><td height=3></td></tr> <tr><td class=ch4>now in your cart <a href=http://www.eclipsecomputers.org/shop/shopping_cart.php>2 items</a></td></tr> </table> </td></tr> </table> </td></tr> </table> <table cellspacing=0 cellpadding=0 width=100%> <tr><td width=32% bgcolor=#FFFFFF height=6 align=right valign=bottom> </td> <td width=67%></td></tr> <tr><td width=32% height=1></td> <td width=67%></td></tr> <tr><td height=13></td></tr> </table> </td></tr> <tr><td height=100% valign=top align=center> <table cellspacing=0 cellpadding=0 width=755 align=center> <tr><td width=173 valign=top background="Drag to a file to choose it." style="padding-left: 23px"> <div align="left"></div> <table cellspacing=0 cellpadding=0 width=151> <tr><td height=10></td></tr> <tr><td class=ch2> product categories</td></tr> <tr><td height=7></td></tr> <tr><td bgcolor=#747474 height=4></td></tr> <tr><td height=17></td></tr> <tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36>Computers</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_47>Barebone</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_39>Case</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_40>CPU</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_43>Hard Drives</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_120>Input Devices</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_50>Memory</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_41>Monitor / LCD</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_49>Motherboard</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_48>Multimedia</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_45>Optical Drives</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_42>Printer</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_46>Video Card</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_21>Desktops</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=36_23>Laptops</a></td></tr><tr><td height=1></td></tr><tr><td height=9></td></tr><tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=37>Electronics</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=37_136>Accessories</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=37_34>MP3 Players</a></td></tr><tr><td height=1></td></tr><tr><td height=9></td></tr><tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61>Refurbished</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61_138>Misc</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61_62>Monitor / LCD</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=61_137>Printers</a></td></tr><tr><td height=1></td></tr><tr><td height=9></td></tr><tr><td class=ch3><a class=ch3 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38>Software</a></td></tr><tr><td height=16></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_53>Operating System</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_55>Games</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_54>Productivity</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_56>Utilities</a></td></tr><tr><td height=1></td></tr><tr><td background=images/m09.gif height=1></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml2 href=http://www.eclipsecomputers.org/shop/index.php?cPath=38_128>Anti-Virus</a></td></tr><tr><td height=1></td></tr> <tr><td height=1></td></tr> <tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a href=http://www.eclipsecomputers.org/shop/products_new.php class=ml2>More</a></td></tr> <tr><td height=32></td></tr> <tr><td class=ch2> recent top products</td></tr> <tr><td height=7></td></tr> <tr><td bgcolor=#747474 height=4></td></tr> <tr><td height=16></td></tr> <tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml4 href=http://www.eclipsecomputers.org/shop/product_info.php?products_id=176>Intel Pentium D 820 ..</a></td></tr><tr><td height=1></td></tr><tr><td> <img src=images/m08.gif width=4 height=5 align=absmiddle> <a class=ml4 href=http://www.eclipsecomputers.org/shop/product_info.php?products_id=95>Logitech QuickCam M</a></td></tr><tr><td height=1></td></tr> <tr><td height=7></td></tr> </table> </td> <td width=559 valign=top><p> </p> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 Here is the sourcecode fro that page If that is the full source code, then it stopped loading at <!-- left_navigation //--> my lines after that says (in the file checkout_shipping.php) <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 If that is the full source code, then it stopped loading at<!-- left_navigation //--> my lines after that says (in the file checkout_shipping.php) <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> This is the whole code: <?php /* $Id: checkout_shipping.php,v 1.16 2003/07/24 23:03:53 Strider Exp $ $Id: checkout_shipping.php,v 1.16 2003/06/09 23:03:53 hpdl Exp $ $Id: checkout_shipping.php,v 1.9.2.2 2003/05/13 22:27:48 wilt Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ 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 // ###### Added CCGV Contribution ######### // if ($order->content_type == 'virtual') { if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight') ) { // ###### End Added CCGV Contribution ######### 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'); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 If that is the full source code, then it stopped loading at<!-- left_navigation //--> my lines after that says (in the file checkout_shipping.php) <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> If the source code that you posted was all there was, it indicated that it had trouble loading the include\column_left.php file. I could not see anything wrong with the checkout_shipping.php code that you posted. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 If the source code that you posted was all there was, it indicated that it had trouble loading the include\column_left.php file. I could not see anything wrong with the checkout_shipping.php code that you posted. On the issue you see, what would you suggest? Also I had an issue with the payment section in ADMIN - Only could see the modules, but unable to edit? Any ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 On the issue you see, what would you suggest? Also I had an issue with the payment section in ADMIN - Only could see the modules, but unable to edit? Any ideas? Well, your file was slightly different to mine, but I have other stuff installed. If the column_left.php file loads on your other pages, then it should be ok. Did you install shipping methods and payment modules. If they are not installed they cannot be edited. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 Well, your file was slightly different to mine, but I have other stuff installed. If the column_left.php file loads on your other pages, then it should be ok. Did you install shipping methods and payment modules. If they are not installed they cannot be edited. I do get the left side, but the middle is blank - I will re-install payment files, also what does the paypal IPN do for me or my customer? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2006 Share Posted June 10, 2006 I do get the left side, but the middle is blank - I will re-install payment files, also what does the paypal IPN do for me or my customer? Please post the dode for the column_left.php file Do you have the shipping files installed? IPN is instant payment notification - post in the support thread for the conrib you are installing. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2006 Share Posted June 12, 2006 Please post the dode for the column_left.php fileDo you have the shipping files installed? IPN is instant payment notification - post in the support thread for the conrib you are installing. Yes the shipping files are installed <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2006 Share Posted June 12, 2006 Yes the shipping files are installed Yes, that file looks ok. I had a look at your site at the loginpage and create account page. The create account page has problems the same as your shipping page? Anyway, the login and create account were not on https, so either you do not have ssl or your https server is not specified correctly. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 13, 2006 Share Posted June 13, 2006 Yes, that file looks ok. I had a look at your site at the loginpage and create account page. The create account page has problems the same as your shipping page? Anyway, the login and create account were not on https, so either you do not have ssl or your https server is not specified correctly. Thnx for your help, another question I installed the mod's for Paypal IPN and CCE, when I did this, you no longer can edit any of the payment options. also it is missing Module Directory: /shop/includes/modules/shipping/ from the bottom. The SSl is going thru Yahoo , heard of any issues with them? Quote Link to comment Share on other sites More sharing options...
Guest Posted June 14, 2006 Share Posted June 14, 2006 Thnx for your help, another question I installed the mod's for Paypal IPN and CCE, when I did this, you no longer can edit any of the payment options. also it is missing Module Directory: /shop/includes/modules/shipping/ from the bottom. The SSl is going thru Yahoo , heard of any issues with them? I am unaware of the mod's for Paypal IPN and CCE Sometimes you have to uninstall and then reinstall. Don't know what module is missing. No, have not heard of any issues with yahoo. Heard somewhere about some problems with shared SSL in some cases, but can't remember details. Sorry. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2006 Share Posted June 16, 2006 I am unaware of the mod's for Paypal IPN and CCE Sometimes you have to uninstall and then reinstall. Don't know what module is missing. No, have not heard of any issues with yahoo. Heard somewhere about some problems with shared SSL in some cases, but can't remember details. Sorry. Whom would you recommend for hosting? Yahoo SSL is causing issues Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.