chrometweaks.org

Where else would I find "Hosting" option in my www.iPage.com account?

Click Here To View All Answers...


Got a question... Where else would I find "Hosting" option in my www.iPage.com account? Thanks in advance for any answer. Another question... Can somebody tell me whats wrong with this?.

<?php.

/*.

$Id: conditions.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_CONDITIONS);.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));.

?>.

<!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; ?>">.

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

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

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! header //>.

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

<! header_eof //>.

<! body //>.

<table border="0" width="100%" cellspacing="3" cellpadding="3">.

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

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

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

<td align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

<! 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>.

<! body_eof //>.

<! footer //>.

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

<! footer_eof //>.

<br>.

</body>.

</html>.

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

I get:.

Parse error: parse error in /home/content/H/o/o/HoodKickz/html/store/catalog/includes/languages/english/conditions.php on line 132.

And where the condition is supposed to be it displays.

TEXT_INFORMATION.

This post has been edited by.

Bow-viper1.

: 06 March 2004, 00:46..

Comments (78)

That's a good question. I'm not sure what is the right answer to your question. I'll do some Googling and get back to you if I got an decent answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

There are that many lines because I added HTML to display instead of plain text, which your supposed to be able to...

Comment #2

.. Can I use a PHP include and just include the HTML page itself? And how would I go about formatting that?..

Comment #3

The error is on line 132 - BUT - the file you have posted does not appear to have that many lines ?

Comment #4

Your error message path says.

/home/content/H/o/o/HoodKickz/html/store/catalog/includes/languages/english/conditions.php on line 132.

The file you are posting is not the conditions.php that is listed in the error message it is the conditions.php in your catalog directory..

Usually a parse error in one of the lang files is caused by an ' in the text somewhere without a \ in front of it. If you write what's you will have a problem you need to write it what\'s so it is ignored for processing purposes..

There is a way to get around this by calling for an html file instead of putting the info in the english/conditions.php file.

On or about line 54 of your catalog/conditions.php file you will see.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

Replace it with.

<td class="main"><?php require('conditions.html'); ?></td>.

Now create a conditions.html page and put it in your catalog and put whatever you want on it without worrying about parse errors.

This works great but it was not my solution, that credit goes to Paul Trau..

Comment #5

Can anyone tell me how what the file will look like if I just want to refer to an html document? what was posted above looks confusing to me...thanks...

Comment #6

On or about line 54 you will see.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

Make it look like.

<td class="main"><?php require('conditions.html'); ?></td>.

Then create a conditions.html page in your catalog folder and put what you want in it...

Comment #7

Can somebody tell me whats wrong with this?.

<?php.

/*.

$Id: conditions.php,v 1.22 2003/06/05 23:26:22 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

Require(DIR_WS_LANGUAGES$language'/'FILENAME_CONDITIONS);.

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));.

?>.

<!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; ?>">.

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

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

<link rel="stylesheet" type="text/css" href="stylesheet.css">.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<! header //>.

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

<! header_eof //>.

<! body //>.

<table border="0" width="100%" cellspacing="3" cellpadding="3">.

<tr>.

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">.

<! left_navigation //>.

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

<! left_navigation_eof //>.

</table></td>.

<! body_text //>.

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">.

<tr>.

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td class="main"><?php echo TEXT_INFORMATION; ?></td>.

</tr>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">.

<tr class="infoBoxContents">.

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">.

<tr>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

<td align="right"><?php echo '<a href="'tep_href_link(FILENAME_DEFAULT)'">'tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE)'</a>'; ?></td>.

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

</tr>.

</table></td>.

<! 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>.

<! body_eof //>.

<! footer //>.

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

<! footer_eof //>.

<br>.

</body>.

</html>.

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

I get:.

Parse error: parse error in /home/content/H/o/o/HoodKickz/html/store/catalog/includes/languages/english/conditions.php on line 132.

And where the condition is supposed to be it displays.

TEXT_INFORMATION.

This post has been edited by.

Bow-viper1.

: 06 March 2004, 00:46..

Comment #8

Are you posting the correct conditions.php file as there are not that many lines in the file you have posted - or have you not posted the whole file ? .

This post has been edited by.

Yesudo.com.

: 06 March 2004, 00:51..

Comment #9


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