Guest Posted April 17, 2007 Posted April 17, 2007 I am getting blank pages in product_info.php using Internet Explorer (Firefox is always OK). After some investigation it seems it's not a problem of bad code, as it was suggested in this thread. The same html code is in the following 2 articles (view source to check) but, using IE: I can't see this one: CatalanCooking I CAN see this one, just created recently: CatalanCooking What is the reason? Should I look into SQL DB? Where? How to proceed? Thanks for feedback.
Guest Posted April 17, 2007 Posted April 17, 2007 I am getting blank pages in product_info.php using Internet Explorer (Firefox is always OK). After some investigation it seems it's not a problem of bad code, as it was suggested in this thread. The same html code is in the following 2 articles (view source to check) but, using IE: I can't see this one: CatalanCooking I CAN see this one, just created recently: CatalanCooking What is the reason? Should I look into SQL DB? Where? How to proceed? Thanks for feedback. Well, finally (I can't believe) but I got it. It was related to the 'click to enlarge' link. Instead of commenting the existing lines, I should have deleted the existing ones. If it may be useful for somebody, don't comment it this way: <script language="javascript"><!--//Treiem el click to enlarge i afegim la següent línia que deixarà la imatge //document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>';?>'); </script> <noscript> //<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>';?> </noscript> Simply delete and leave: <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"'); ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.