chrometweaks.org

Best FREE web iPage hosting service with ssh, mysql, php,phpmyadmin,file manager?

Click Here To View All Answers...


First off, Best FREE web iPage hosting service with ssh, mysql, php,phpmyadmin,file manager? Many thanks for any answer or 2. My 2nd question... I added a “banner in a box” and now my right column is moved to the left side! When I remove the banner add everything is ok..

How can I fix this?.

Thanks..

Comments (58)

That's a good question. I'm not sure what is the answer to that question. I'll do some research in Google and get back to you if I find an good answer. You should email the people at iPage as they probably know..

Comment #1

Here is my code for.

Column_right.php.

<?php.

/*.

 $Id: column_right.php,v 1.1 2003/09/08 19:26:22 jhtalk Exp jhtalk $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 // STS: ADD.

 $sts_block_name = 'columnleft2columnright';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 require(DIR_WS_BOXES'reviews.php');.

 // STS: ADD.

 $sts_block_name = 'reviewsbox';.

 require(STS_RESTART_CAPTURE);.

// BOF: WebMakers.com Added: Banner Manager - Column Banner.

   require(DIR_WS_BOXES'column_banner.php');.

// EOF: WebMakers.com Added: Banner Manager - Column Banner.

// BOF: WebMakers.com Added: Column Banner.

 if ( ($banner = tep_banner_exists('dynamic', '125x125') and $HTTPS !='on') ) {.

   require(DIR_WS_BOXES'column_banner.php');.

 }.

// EOF: WebMakers.com Added: Column Banner.

?>.

For column_left.php.

<?php.

/*.

 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.ascotpc.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 // STS: ADD.

 $sts_block_name = 'header2columnleft';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 if ((USE_CACHE == 'true') && empty($SID)) {.

   echo tep_cache_categories_box();.

 } else {.

   include(DIR_WS_BOXES'categories.php');.

 }.

 // STS: ADD.

 $sts_block_name = 'categorybox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 if ((USE_CACHE == 'true') && empty($SID)) {.

   echo tep_cache_manufacturers_box();.

 } else {.

   include(DIR_WS_BOXES'manufacturers.php');.

 }.

 // STS: ADD.

 $sts_block_name = 'manufacturerbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 require(DIR_WS_BOXES'whats_new.php');.

 .

 // STS: ADD.

 $sts_block_name = 'whatsnewbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 require(DIR_WS_BOXES'search.php');.

 // STS: ADD.

 $sts_block_name = 'searchbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 require(DIR_WS_BOXES'information.php');.

 // STS: ADD.

 $sts_block_name = 'informationbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 require(DIR_WS_BOXES'shopping_cart.php');.

 // STS: ADD.

 $sts_block_name = 'cartbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES'manufacturer_info.php');.

// BOF: WebMakers.com Added: Column Banner.

 if ( ($banner = tep_banner_exists('dynamic', '125x125') and $HTTPS !='on') ) {.

   require(DIR_WS_BOXES'column_banner.php');.

 }.

// EOF: WebMakers.com Added: Column Banner.

 // STS: ADD.

 $sts_block_name = 'maninfobox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES'order_history.php');.

 // STS: ADD.

 $sts_block_name = 'orderhistorybox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 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');.

 }.

 // STS: ADD.

 $sts_block_name = 'bestsellersbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 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');.

 }.

 // STS: ADD.

 $sts_block_name = 'specialfriendbox';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {.

   include(DIR_WS_BOXES'languages.php');.

   // STS: ADD.

   $sts_block_name = 'languagebox';.

   require(STS_RESTART_CAPTURE);.

   // STS: EOADD.

   include(DIR_WS_BOXES'currencies.php');.

   // STS: ADD.

   $sts_block_name = 'currenciesbox';.

   require(STS_RESTART_CAPTURE);.

   // STS: EOADD.

 }.

?>..

Comment #2

Where is the code for the banner, (where you placed it plus what is it)..

Comment #3

Sorry... here is the code; the line is.

" require(DIR_WS_BOXES'boxad.php');".

I am using using Banner-ad-in-a-box V1.0.

What happens is the banner shows up and and some boxes show up on the left side.

<?php.

/*.

 $Id: column_right.php,v 1.1 2003/09/08 19:26:22 jhtalk Exp jhtalk $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 // STS: ADD.

 $sts_block_name = 'columnleft2columnright';.

 require(STS_RESTART_CAPTURE);.

 // STS: EOADD.

 require(DIR_WS_BOXES'boxad.php');.

 require(DIR_WS_BOXES'reviews.php');.

 // STS: ADD.

 $sts_block_name = 'reviewsbox';.

 require(STS_RESTART_CAPTURE);.

// BOF: WebMakers.com Added: Banner Manager - Column Banner.

   require(DIR_WS_BOXES'column_banner.php');.

// EOF: WebMakers.com Added: Banner Manager - Column Banner.

// BOF: WebMakers.com Added: Column Banner.

 if ( ($banner = tep_banner_exists('dynamic', '125x125') and $HTTPS !='on') ) {.

   require(DIR_WS_BOXES'column_banner.php');.

 }.

// EOF: WebMakers.com Added: Column Banner.

?>..

Comment #4

I dont understand why it is being called twice. anyway, the one I looked at has only once..

Require(DIR_WS_BOXES'boxad.php');.

That is the bannerinabox contribution I found...

Comment #5

I added a “banner in a box” and now my right column is moved to the left side! When I remove the banner add everything is ok..

How can I fix this?.

Thanks..

Comment #6

It all depends upon where you added the code for that. evidently it is inside the column right table, else you would not get that error..

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.