gecko Posted July 5, 2004 Share Posted July 5, 2004 Hi all, I have installed os2-2.2 and in right colum i have commented out Languages and currency as i only use one option. When the index page loads i get a funny </ showing above the shopping cart, If i refresh the browser sometimes it goes away or my whole browser ie6 hangs up and won't respond. This has been happening since clean install. Can anybody help with some clues?? Most appreciated Gecko this time it'll go :-) Link to comment Share on other sites More sharing options...
atombomb Posted July 5, 2004 Share Posted July 5, 2004 Hi m8, Looks like you commented out more than needed... Post the few lines above and below the comment and I'll take a look... Paul :ph34r: Link to comment Share on other sites More sharing options...
gecko Posted July 5, 2004 Author Share Posted July 5, 2004 Hi Paul here it is <?php /* $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_BOXES . 'shopping_cart.php'); if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_BOXES . 'best_sellers.php'); } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'best_sellers.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { //include(DIR_WS_BOXES . 'languages.php'); // include(DIR_WS_BOXES . 'currencies.php'); } ?> Thanks in advance, also how are you supposed to post the code in proper protocol on this forum? Cheers Gecko this time it'll go :-) Link to comment Share on other sites More sharing options...
user99999999 Posted July 5, 2004 Share Posted July 5, 2004 Check your Apache/php errorlog for errors. Link to comment Share on other sites More sharing options...
gecko Posted July 5, 2004 Author Share Posted July 5, 2004 Hi Dave, the only errors being reported are favicon.ico which shouldn't matter i don't think. Any other clues?? Thanks Gecko this time it'll go :-) Link to comment Share on other sites More sharing options...
user99999999 Posted July 5, 2004 Share Posted July 5, 2004 Check for extra characters outside php tags <?php ?></Hello but I think there is a php error just not being displayed. Try adding ini_set('display_errors','1'); in application_top.php Link to comment Share on other sites More sharing options...
gecko Posted July 5, 2004 Author Share Posted July 5, 2004 Hi Dave any particular line in application_top.php ? this time it'll go :-) Link to comment Share on other sites More sharing options...
gecko Posted July 5, 2004 Author Share Posted July 5, 2004 This is the end of my footer.php </tr> </table> <?php } ?> Is that } supposed to be there?? Gecko this time it'll go :-) Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2004 Share Posted July 6, 2004 Yep. Do you have a link? Does this happen just on index page? Link to comment Share on other sites More sharing options...
gecko Posted July 6, 2004 Author Share Posted July 6, 2004 Hi Ray, yep all trouble on the index page, i have trouble with the footer as well. The frustrating thing is it is not consistant just every now and then. could this be .htaccess problems?? i had issues with button images on fresh install we ahd to drop in a blank .htaccess file and they showed up. Link http://psouthworth.shimba.nzoffice.com/catalog/index.php this time it'll go :-) Link to comment Share on other sites More sharing options...
Guest Posted July 6, 2004 Share Posted July 6, 2004 I could not reproduce the error. But try checking index.php about line 318 (unmodified) for an incomplete tag. </table></td> </tr> </table></td> <?php } ?> <!-- 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> Hope this helps. Link to comment Share on other sites More sharing options...
gecko Posted July 6, 2004 Author Share Posted July 6, 2004 I think thats it Ray a stray <table> and things look good thanks a whole bunch Gecko :D this time it'll go :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.