Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Right colum


gecko

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...