meulenb Posted August 26, 2008 Posted August 26, 2008 Hi there, dedicated SSL has been installed on houseofespresso.nl and my provider has set it up as "http and https in one folder". I've enabled SSL on OsC according the 1-2-3 install guide on this forum. This is working great for all pages except one: the chechout_shipping.php. It's difficult to describe, but only few parts of the pages remain when on https, layout and formats are gone and large html-parts are simply not there anymore. To see the difference: first code is the full and correct one when using the page on http. Second is what I get when using the page on https. Any help or suggestions welcome, thanks!! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="nl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>House of Espresso</title> <base href="http://www.houseofespresso.nl/catalog/"> <!-- start get_javascript(applicationtop2header) //--> <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> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body> <table width="800" align="center" cellpadding="0" cellspacing="0" BGcolor="FFFFFF"> <tr> <td height="262" valign="top" colspan="2"><TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"> <a href="http://houseofespresso.nl/catalog/index.php"> <img border="0" src="images/logo_header.png"></td> </tr> </table> <table border="0" width="100%" height="40" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <a href="http://www.houseofespresso.nl" class="headerNavigation">Hoofdpagina</a> » <a href="http://www.houseofespresso.nl/catalog/index.php" class="headerNavigation">Winkel</a> » <a href="http://www.houseofespresso.nl/catalog/checkout_shipping.php" class="headerNavigation">Afrekenen</a> » <a href="http://www.houseofespresso.nl/catalog/checkout_shipping.php" class="headerNavigation">Verzendmethode</a> </td> <td align="right" class="headerNavigation"> <a href=http://www.houseofespresso.nl/catalog/account.php class="headerNavigation">Je klantgegevens</a> | <a href=http://www.houseofespresso.nl/catalog/logoff.php class="headerNavigation">Uitloggen</a> | <a href=http://www.houseofespresso.nl/catalog/shopping_cart.php class="headerNavigation">Bekijk winkelwagen</a> | <a href=http://www.houseofespresso.nl/catalog/checkout_shipping.php class="headerNavigation">Afrekenen</a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="left-column" valign="top" width="125"> <table border="0" width="125" cellspacing="0" cellpadding="0"> <a href="http://houseofespresso.nl/catalog/index.php?cPath=1"> <img border="0" src="images/btn_serving.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=2"> <img border="0" src="images/btn_machines.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=3"> <img border="0" src="images/btn_chocola.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=21"> <img border="0" src="images/btn_kopjes.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=24"> <img border="0" src="images/btn_likeuren.gif"></a> <a href="http://houseofespresso.nl/catalog/index.php?cPath=22"> <img border="0" src="images/btn_onderhoud.gif"></a> <p> </p> <a href="http://houseofespresso.nl/catalog/zakelijk.php"> <img border="0" src="images/zakelijk.gif"></a> <p> </p> <a href="http://houseofespresso.nl/catalog/servinginfo.php"> <img border="0" src="images/btn_servinginfo.gif"></a> <a href="http://houseofespresso.nl/catalog/makingoff.php"> <img border="0" src="images/btn_makingoff.gif"></a> </table> </td> <td class="main-content" valign="top"> <table border="0" width="600" cellspacing="0" cellpadding="0"> <p> <!-- start Default Content //--> <form name="checkout_address" action="http://www.houseofespresso.nl/catalog/checkout_shipping.php" method="post"><input type="hidden" name="action" value="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">Verzendinformatie</td> <td class="pageHeading" align="right"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Verzendadres</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><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="50%" valign="top">Selecteer uit uw adresboek waar de bestelling afgeleverd moet worden.<br><br><a href="http://www.houseofespresso.nl/catalog/checkout_shipping_address.php"><img src="includes/languages/dutch/images/buttons/button_change_address.gif" border="0" alt="Adres veranderen" title=" Adres veranderen " width="119" height="29"></a></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><b>Verzendadres:</b><br><img src="images/arrow_south_east.gif" border="0" alt="" width="50" height="31"></td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" valign="top">Bart van Meulenbroek<br> Sw79a<br> Utrecht, 3511vk<br> Netherlands</td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Verzendmethode</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><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="100%" colspan="2">Beschikbare verzendmethode(n).</td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" colspan="3"><b>Vast tarief</b> </td> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)"> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="75%">Best Way</td> <td class="main" align="right" colspan="2">€5,00<input type="hidden" name="shipping" value="flat_flat"></td> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Opmerkingen bij uw bestelling</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><textarea name="comments" wrap="soft" cols="60" rows="5"></textarea></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="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"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main"><b>Ga verder met afrekenen</b><br>om de gewenste betaalwijze te selecteren.</td> <td class="main" align="right"><input type="image" src="includes/languages/dutch/images/buttons/button_continue.gif" border="0" alt="Volgende" title=" Volgende "></td> <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="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"><img src="images/checkout_bullet.gif" border="0" alt="" width="11" height="11"></td> <td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table></td> <td width="25%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> <td width="25%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td> <td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="1" height="5"></td> </tr> </table></td> </tr> <tr> <td align="center" width="25%" class="checkoutBarCurrent">Verzendinformatie</td> <td align="center" width="25%" class="checkoutBarTo">Betaalinformatie</td> <td align="center" width="25%" class="checkoutBarTo">Bevestiging</td> <td align="center" width="25%" class="checkoutBarTo">Gereed!</td> </tr> </table></td> </tr> </table></form> <!-- end Default Content //--> </p> <p> </p> </td> <td class="right-column" valign="top" width="125"> <table border="0" width="125" cellspacing="0" cellpadding="2"> <tr><td> <!-- start cartbox //--> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td width="11"> <td background="images/infobox_03.gif" class="infoBoxHeading" width="1728"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="infoBoxHeading">Winkelwagen</td> </tr> </table> </td> <td width="92" style="background-repeat: norepeat" bgcolor="583317"><a href="http://www.houseofespresso.nl/catalog/shopping_cart.php"><img src="images/infobox/arrow_right.gif" border="0" alt="Meer" title=" Meer " width="12" height="10"></a></td> <td width="11" background="images/infobox_04.gif" style="background-repeat: norepeat"> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td bgcolor="#FFFFFF"> </td> <td bgcolor="#FFFFFF" src="images/boxbackgroundwood.png"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td align="right" valign="top" class="infoBoxContents"><span class="infoBoxContents">1 x </span></td><td valign="top" class="infoBoxContents"><a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=28"><span class="infoBoxContents">Caffe New York - 18st</span></a></td></tr></table></td> </tr> <tr> <td class="boxText"><img src="images/pixel_black.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="right" class="boxText">€6,43</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> <!-- end cartbox //--> </td></tr> <tr><td> <!-- start orderhistorybox //--> <!-- end orderhistorybox //--> </td></tr> <tr><td> <!-- start bestsellersbox_only //--> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td width="11"> <td background="images/infobox_03.gif" class="infoBoxHeading" width="1728"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="infoBoxHeading">Meest verkocht</td> </tr> </table> </td> <td width="92" style="background-repeat: norepeat" bgcolor="583317"></td> <td width="11" background="images/infobox_04.gif" style="background-repeat: norepeat"> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111"> <tr> <td bgcolor="#FFFFFF"> </td> <td bgcolor="#FFFFFF" src="images/boxbackgroundwood.png"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="1"><tr><td class="infoBoxContents" valign="top">01.</td><td class="infoBoxContents"><a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=29">Illy Normaal</a></td></tr><tr><td class="infoBoxContents" valign="top">02.</td><td class="infoBoxContents"><a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=28">Caffe New York - 18st</a></td></tr><tr><td class="infoBoxContents" valign="top">03.</td><td class="infoBoxContents"><a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=30">Illy Caffeïne vrij</a></td></tr><tr><td class="infoBoxContents" valign="top">04.</td><td class="infoBoxContents"><a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=32">Illy normaal monodose</a></td></tr></table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> <!-- end bestsellersbox_only //--> </td></tr> <tr><td> <!-- start informationbox //--> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" bgcolor="#583317"> <tr> <td width="11"> </td> <td background="images/infobox_03.gif" class="infoBoxHeading" width="1428"> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" class="infoBoxHeading">Informatie</td> </tr> </table> </td> <td width="103" style="background-repeat: norepeat"> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor= "#FFFFFF" /*"#BBC3D3"*/ style="border-collapse: collapse" bordercolor="#111111"> <tr> <td> </td> <td bgcolor="#DBF1FF"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td class="boxText"><a href="http://www.houseofespresso.nl/catalog/shipping.php">Verzenden & retourneren</a><br><a href="http://www.houseofespresso.nl/catalog/privacy.php">Privacy verklaring</a><br><a href="http://www.houseofespresso.nl/catalog/conditions.php">Algemene voorwaarden</a><br><a href="http://www.houseofespresso.nl/catalog/contact_us.php">Neem contact op</a></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> </table> </td> <td> </td> </tr> <tr> <td width="30"> </td> <td width="100%"> </td> <td width="31"> </td> </tr> </table> <!-- end informationbox //--> </td></tr> </table> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> dinsdag, 26 augustus 2008 </td> <td align="right" class="footer"> House of Espresso luistert ook naar de naam 'HoE' </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"> Copyright © 2008 <a href="http://www.houseofespresso.nl/catalog/index.php">House of Espresso</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"> </td> </tr> </table> <table border="0" cellpadding="3" cellspacing="0" width="100%"> <tr> </tr> </table> </body> </html> And the false one: <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><form name="checkout_address" action="http://www.houseofespresso.nl/catalog/checkout_shipping.php" method="post"><input type="hidden" name="action" value="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">Verzendinformatie</td> <td class="pageHeading" align="right"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b>Verzendadres</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><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" width="50%" valign="top">Selecteer uit uw adresboek waar de bestelling afgeleverd moet worden.<br><br><a href="http://www.houseofespresso.nl/catalog/checkout_shipping_address.php"><img src="includes/languages/dutch/images/buttons/button_change_address.gif" border="0" alt="Adres veranderen" title=" Adres veranderen " width="119" height="29"></a></td> <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center" valign="top"><b>Verzendadres:</b><br><img src="images/arrow_south_east.gif" border="0" alt="" width="50" height="31"></td> <td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> <td class="main" valign="top">
meulenb Posted August 27, 2008 Author Posted August 27, 2008 In addition, I'm having the same issue with checkout_payment, checkout_confirmation and even the admin order.php I'm really getting a bit desperate now as I don't have a single clue why this is happening
meulenb Posted August 28, 2008 Author Posted August 28, 2008 Issue resolved and for those interested: the /includes/functions/general.php uses a function called Eval and many providers don't allow this function to be used under https. My provider had to specifically amend this for my OsCommerce installation to work.
suepyr Posted February 19, 2009 Posted February 19, 2009 Issue resolved and for those interested: the /includes/functions/general.php uses a function called Eval and many providers don't allow this function to be used under https. My provider had to specifically amend this for my OsCommerce installation to work. How was this amended? I am afraid to touch the code on that page. I see it says SSL + true yet it is set for false on the sessions configuration. I am stuck here myself. The checkout_shipping.php page does not show after the check out button is choosen. Sue
Recommended Posts
Archived
This topic is now archived and is closed to further replies.