chrometweaks.org

How do I set up my site on iPage.com?

Click Here To View All Answers...


Question I have... How do I set up my site on iPage.com? Thanks for any response. Another question on my mind: Hello,.

I get the following error on my shop:.

Warning: Cannot modify header information - headers already sent by (output started at /home/webusers/tom/www.happygay.nl/htdocs/shop/templates/OneTable/main_page.tpl.php:3) in /home/webusers/tom/www.happygay.nl/htdocs/shop/includes/functions/general.php on line 30.

I have been searching on the forum for a solution, but the only thing in can find is that it has to be an white space in the beginning of the and of the file, but there is no withspace there..

Das anybody no what else it can be?.

The code of main_page.tpl.php is here:.

<?php require(DIR_WS_INCLUDES'counter.php'); ?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php /* echo HTML_PARAMS; */ ?>>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<?php require(DIR_WS_INCLUDES'meta_tags.php'); ?>.

<title><?php echo META_TAG_TITLE; ?></title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >.

<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >.

<link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>stylesheet.css">.

<link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>print.css" media="print">.

<?php if ($javascript) { require(DIR_WS_JAVASCRIPT$javascript); } ?>.

</head>.

<body>.

<!.

"One main layout Table" template for osC created by Paul Mathot.

2003/11/12.

>.

<! warnings //>.

<?php require(DIR_WS_INCLUDES'warnings.php'); ?>.

<! warning_eof //>.

<?php.

// include i.e. template switcher in every template.

If(file_exists(DIR_WS_TEMPLATES_BASE'common_top_bts.php')) require(DIR_WS_TEMPLATES_BASE'common_top_bts.php');.

?>.

<table id="mainLayoutLT" cellspacing="0" summary="site layout table">.

<tr>.

  <td id="pageHeaderLT" colspan="3">.

    <div class="logoLT"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_IMAGES'oscommerce.gif', 'osCommerce')'</a>'; ?></div>.

    <div id="imageNavLT"><?php echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?></div>.

  </td>.

</tr>.

<tr>.

  <td id="navBarTopLT" colspan="3"><div class="navLeftLT"><?php echo $breadcrumb->trail(' &raquo; '); ?></div><div class="navRightLT"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> &nbsp;|&nbsp; <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a></div></td>.

</tr>.

<tr>.

  <td class="columnLT" id="columnLeftLT"><?php require(DIR_WS_INCLUDES'column_left.php'); ?></td>.

  <td id="contentLT"><?php.

If (isset($content_template)) {.

  require(DIR_WS_CONTENT$content_template);.

} else {.

  require(DIR_WS_CONTENT$content'.tpl.php');.

}.

?></td>.

  <td class="columnLT" id="columnRightLT"><?php require(DIR_WS_INCLUDES'column_right.php'); ?></td>.

</tr>.

<tr>.

  <td id="navBarBottomLT" colspan="3"><div class="navLeftLT"><?php echo strftime(DATE_FORMAT_LONG); ?></div><div class="navRightLT"><?php echo $counter_now' 'FOOTER_TEXT_REQUESTS_SINCE' '$counter_startdate_formatted; ?></div></td>.

</tr>.

<tr>.

  <td colspan="3" class="footerLT"><div id="copyRightLT"><?php.

/*.

The following copyright announcement can only be.

Appropriately modified or removed if the layout of.

The iPage site theme has been modified to distinguish.

Itself from the default osCommerce-copyrighted.

Theme..

For more information please read the following.

Frequently Asked Questions entry on the osCommerce.

Support site:.

Http://www.oscommerce.com/community.php/faq,26/q,50.

Please leave this comment intact together with the.

Following copyright announcement..

*/.

//  echo FOOTER_TEXT_BODY.

?>An eeweb.nl creation 2003<br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></div>.

<?php.

If ($banner = tep_banner_exists('dynamic', '468x50')) {.

?>.

<div><?php echo tep_display_banner('static', $banner); ?></div>.

<?php } ?>.

  </td>.

</tr>.

</table>.

</body>.

</html>.

Hope someone can help me with this..

Danil..

Comments (99)

I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some research in Google and get back to you if I find an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Is there any white space at the end of the general file ?

Comment #2

Hello,.

No also in the general.php file is no whitespace at the beginning or the end..

Danil..

Comment #3

Try changing the end of the file to this and double check that whitespace by placing your cursor directly after the </html> and hitting delete several times.

<?php.

}.

?>.

</td>.

</tr>.

</table>.

</body>.

</html>.

There was a whitespace between the ?> and the </td>..

Comment #4

Nope, thats wasn't it also, stil have the same problem :-(..

Comment #5

There is reference to the commented out line 3.

<html <?php /* echo HTML_PARAMS; */ ?>>.

You could try making this.

<html>.

This post has been edited by.

241.

: 26 March 2004, 15:09..

Comment #6

Hello,.

I already done that befor, and I have now done that again, then I get the following error:.

Warning: Cannot modify header information - headers already sent by (output started at /home/webusers/tom/www.happygay.nl/htdocs/shop/templates/OneTable/main_page.tpl.php:5) in /home/webusers/tom/www.happygay.nl/htdocs/shop/includes/functions/general.php on line 30.

And when I remove that I get an error on row 7 and when I remove that I get an error on row 8 and so on.....

Danil..

Comment #7

Someone else is having an sugestion about this?.

Danil..

Comment #8

The redirect function is trying to send header information but you already output html so you get the error..

Header('Location: '$url);.

Check your template installation and make sure you did everything right...

Comment #9

Oke, thanx all for the help:-).

I have found the answer, I had to put a peache of code from the template file to the normal file and now it is working..

Danil..

Comment #10

Hello,.

I get the following error on my shop:.

Warning: Cannot modify header information - headers already sent by (output started at /home/webusers/tom/www.happygay.nl/htdocs/shop/templates/OneTable/main_page.tpl.php:3) in /home/webusers/tom/www.happygay.nl/htdocs/shop/includes/functions/general.php on line 30.

I have been searching on the forum for a solution, but the only thing in can find is that it has to be an white space in the beginning of the and of the file, but there is no withspace there..

Das anybody no what else it can be?.

The code of main_page.tpl.php is here:.

<?php require(DIR_WS_INCLUDES'counter.php'); ?>.

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">.

<html <?php /* echo HTML_PARAMS; */ ?>>.

<head>.

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">.

<?php require(DIR_WS_INCLUDES'meta_tags.php'); ?>.

<title><?php echo META_TAG_TITLE; ?></title>.

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER)DIR_WS_CATALOG; ?>">.

<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" >.

<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" >.

<link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>stylesheet.css">.

<link rel="stylesheet" type="text/css" href="<?php echo DIR_WS_TEMPLATES; ?>print.css" media="print">.

<?php if ($javascript) { require(DIR_WS_JAVASCRIPT$javascript); } ?>.

</head>.

<body>.

<!.

"One main layout Table" template for osC created by Paul Mathot.

2003/11/12.

>.

<! warnings //>.

<?php require(DIR_WS_INCLUDES'warnings.php'); ?>.

<! warning_eof //>.

<?php.

// include i.e. template switcher in every template.

If(file_exists(DIR_WS_TEMPLATES_BASE'common_top_bts.php')) require(DIR_WS_TEMPLATES_BASE'common_top_bts.php');.

?>.

<table id="mainLayoutLT" cellspacing="0" summary="site layout table">.

<tr>.

  <td id="pageHeaderLT" colspan="3">.

    <div class="logoLT"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image(DIR_WS_IMAGES'oscommerce.gif', 'osCommerce')'</a>'; ?></div>.

    <div id="imageNavLT"><?php echo '<a href="'tep_href_link(FILENAME_ACCOUNT, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_account.gif', HEADER_TITLE_MY_ACCOUNT)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_SHOPPING_CART)'">'tep_image(DIR_WS_IMAGES'header_cart.gif', HEADER_TITLE_CART_CONTENTS)'</a>&nbsp;&nbsp;<a href="'tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')'">'tep_image(DIR_WS_IMAGES'header_checkout.gif', HEADER_TITLE_CHECKOUT)'</a>'; ?></div>.

  </td>.

</tr>.

<tr>.

  <td id="navBarTopLT" colspan="3"><div class="navLeftLT"><?php echo $breadcrumb->trail(' &raquo; '); ?></div><div class="navRightLT"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> &nbsp;|&nbsp; <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> &nbsp;|&nbsp; <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a></div></td>.

</tr>.

<tr>.

  <td class="columnLT" id="columnLeftLT"><?php require(DIR_WS_INCLUDES'column_left.php'); ?></td>.

  <td id="contentLT"><?php.

If (isset($content_template)) {.

  require(DIR_WS_CONTENT$content_template);.

} else {.

  require(DIR_WS_CONTENT$content'.tpl.php');.

}.

?></td>.

  <td class="columnLT" id="columnRightLT"><?php require(DIR_WS_INCLUDES'column_right.php'); ?></td>.

</tr>.

<tr>.

  <td id="navBarBottomLT" colspan="3"><div class="navLeftLT"><?php echo strftime(DATE_FORMAT_LONG); ?></div><div class="navRightLT"><?php echo $counter_now' 'FOOTER_TEXT_REQUESTS_SINCE' '$counter_startdate_formatted; ?></div></td>.

</tr>.

<tr>.

  <td colspan="3" class="footerLT"><div id="copyRightLT"><?php.

/*.

The following copyright announcement can only be.

Appropriately modified or removed if the layout of.

The iPage site theme has been modified to distinguish.

Itself from the default osCommerce-copyrighted.

Theme..

For more information please read the following.

Frequently Asked Questions entry on the osCommerce.

Support site:.

Http://www.oscommerce.com/community.php/faq,26/q,50.

Please leave this comment intact together with the.

Following copyright announcement..

*/.

//  echo FOOTER_TEXT_BODY.

?>An eeweb.nl creation 2003<br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></div>.

<?php.

If ($banner = tep_banner_exists('dynamic', '468x50')) {.

?>.

<div><?php echo tep_display_banner('static', $banner); ?></div>.

<?php } ?>.

  </td>.

</tr>.

</table>.

</body>.

</html>.

Hope someone can help me with this..

Danil..

Comment #11


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