chrometweaks.org

What are the steps to build a site on iPage?

Click Here To View All Answers...


My first question is What are the steps to build a site on iPage? Hoping for any answer or 2. Second question.. All my images are showing any reason come to mind why not? Take a look. please help again. thanks.

Http://www.barginhut.com..

Comments (118)

I'm stumped. I'm not so sure what is the answer to your question. I'll do some investigation and get back to you if I got an decent answer. You should email the people at iPage as they probably could assist you..

Comment #1

Right click on the directory and chmod to 777...

Comment #2

This is the link you meant to post.

Click.

Either your permissions are not set properly or your configure.php is wrong.

Guess you got me that time yesudo.com.

This post has been edited by.

241.

: 31 March 2004, 23:13..

Comment #3

Here is my configphp:.

<?php.

/*.

$Id: configuration.php,v 1.43 2003/06/29 22:50:51 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

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

$action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');.

If (tep_not_null($action)) {.

Switch ($action) {.

Case 'save':.

$configuration_value = tep_db_prepare_input($HTTP_POST_VARS['configuration_value']);.

$cID = tep_db_prepare_input($HTTP_GET_VARS['cID']);.

Tep_db_query("update "TABLE_CONFIGURATION" set configuration_value = '"tep_db_input($configuration_value)"', last_modified = now() where configuration_id = '"(int)$cID"'");.

Tep_redirect(tep_href_link(FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$cID));.

Break;.

}.

}.

$gID = (isset($HTTP_GET_VARS['gID'])) ? $HTTP_GET_VARS['gID'] : 1;.

$cfg_group_query = tep_db_query("select configuration_group_title from "TABLE_CONFIGURATION_GROUP" where configuration_group_id = '"(int)$gID"'");.

$cfg_group = tep_db_fetch_array($cfg_group_query);.

?>.

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

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

<script language="javascript" src="includes/general.js"></script>.

</head>.

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">.

<! header //>.

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

<! header_eof //>.

<! body //>.

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

<tr>.

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

<! 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="2">.

<tr>.

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

<tr>.

<td class="pageHeading"><?php echo $cfg_group['configuration_group_title']; ?></td>.

<td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>.

</tr>.

</table></td>.

</tr>.

<tr>.

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

<tr>.

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

<tr class="dataTableHeadingRow">.

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_TITLE; ?></td>.

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_VALUE; ?></td>.

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?>&nbsp;</td>.

</tr>.

<?php.

$configuration_query = tep_db_query("select configuration_id, configuration_title, configuration_value, use_function from "TABLE_CONFIGURATION" where configuration_group_id = '"(int)$gID"' order by sort_order");.

While ($configuration = tep_db_fetch_array($configuration_query)) {.

If (tep_not_null($configuration['use_function'])) {.

$use_function = $configuration['use_function'];.

If (ereg('->', $use_function)) {.

$class_method = explode('->', $use_function);.

If (!is_object(${$class_method[0]})) {.

Include(DIR_WS_CLASSES$class_method[0]'.php');.

${$class_method[0]} = new $class_method[0]();.

}.

$cfgValue = tep_call_function($class_method[1], $configuration['configuration_value'], ${$class_method[0]});.

} else {.

$cfgValue = tep_call_function($use_function, $configuration['configuration_value']);.

}.

} else {.

$cfgValue = $configuration['configuration_value'];.

}.

If ((!isset($HTTP_GET_VARS['cID']) || (isset($HTTP_GET_VARS['cID']) && ($HTTP_GET_VARS['cID'] == $configuration['configuration_id']))) && !isset($cInfo) && (substr($action, 0, 3) != 'new')) {.

$cfg_extra_query = tep_db_query("select configuration_key, configuration_description, date_added, last_modified, use_function, set_function from "TABLE_CONFIGURATION" where configuration_id = '"(int)$configuration['configuration_id']"'");.

$cfg_extra = tep_db_fetch_array($cfg_extra_query);.

$cInfo_array = array_merge($configuration, $cfg_extra);.

$cInfo = new objectInfo($cInfo_array);.

}.

If ( (isset($cInfo) && is_object($cInfo)) && ($configuration['configuration_id'] == $cInfo->configuration_id) ) {.

Echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''tep_href_link(FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$cInfo->configuration_id'&action=edit')'\'">'"\n";.

} else {.

Echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''tep_href_link(FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$configuration['configuration_id'])'\'">'"\n";.

}.

?>.

<td class="dataTableContent"><?php echo $configuration['configuration_title']; ?></td>.

<td class="dataTableContent"><?php echo htmlspecialchars($cfgValue); ?></td>.

<td class="dataTableContent" align="right"><?php if ( (isset($cInfo) && is_object($cInfo)) && ($configuration['configuration_id'] == $cInfo->configuration_id) ) { echo tep_image(DIR_WS_IMAGES'icon_arrow_right.gif', ''); } else { echo '<a href="'tep_href_link(FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$configuration['configuration_id'])'">'tep_image(DIR_WS_IMAGES'icon_info.gif', IMAGE_ICON_INFO)'</a>'; } ?>&nbsp;</td>.

</tr>.

<?php.

}.

?>.

</table></td>.

<?php.

$heading = array();.

$contents = array();.

Switch ($action) {.

Case 'edit':.

$heading[] = array('text' => '<b>'$cInfo->configuration_title'</b>');.

If ($cInfo->set_function) {.

Eval('$value_field = '$cInfo->set_function'"'htmlspecialchars($cInfo->configuration_value)'");');.

} else {.

$value_field = tep_draw_input_field('configuration_value', $cInfo->configuration_value);.

}.

$contents = array('form' => tep_draw_form('configuration', FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$cInfo->configuration_id'&action=save'));.

$contents[] = array('text' => TEXT_INFO_EDIT_INTRO);.

$contents[] = array('text' => '<br><b>'$cInfo->configuration_title'</b><br>'$cInfo->configuration_description'<br>'$value_field);.

$contents[] = array('align' => 'center', 'text' => '<br>'tep_image_submit('button_update.gif', IMAGE_UPDATE)'&nbsp;<a href="'tep_href_link(FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$cInfo->configuration_id)'">'tep_image_button('button_cancel.gif', IMAGE_CANCEL)'</a>');.

Break;.

Default:.

If (isset($cInfo) && is_object($cInfo)) {.

$heading[] = array('text' => '<b>'$cInfo->configuration_title'</b>');.

$contents[] = array('align' => 'center', 'text' => '<a href="'tep_href_link(FILENAME_CONFIGURATION, 'gID='$HTTP_GET_VARS['gID']'&cID='$cInfo->configuration_id'&action=edit')'">'tep_image_button('button_edit.gif', IMAGE_EDIT)'</a>');.

$contents[] = array('text' => '<br>'$cInfo->configuration_description);.

$contents[] = array('text' => '<br>'TEXT_INFO_DATE_ADDED' 'tep_date_short($cInfo->date_added));.

If (tep_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED' 'tep_date_short($cInfo->last_modified));.

}.

Break;.

}.

If ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {.

Echo ' <td width="25%" valign="top">'"\n";.

$box = new box;.

Echo $box->infoBox($heading, $contents);.

Echo ' </td>'"\n";.

}.

?>.

</tr>.

</table></td>.

</tr>.

</table></td>.

<! body_text_eof //>.

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

Comment #4

Includes/configure.php.

Remove pword and other details b4 postin..

This post has been edited by.

Yesudo.com.

: 31 March 2004, 23:19..

Comment #5

That is the configuration.php.

It would be the store/includes/configure.php and the store/admin/includes.php.

Remember to xxxxx out the database information password at the bottom of the file.

Yesudo.com.

I'll leave you to it, I need a break anyway.

This post has been edited by.

241.

: 31 March 2004, 23:22..

Comment #6

Thanks.

File Manager.

Warning: This file cannot be edited due to file permissions!.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

Define('HTTP_SERVER', 'http://barginhut.com'); // eg,.

Http://localhost.

- should not be empty for productive servers.

Define('HTTPS_SERVER', 'https://barginhut.com'); // eg,.

Https://localhost.

- should not be empty for productive servers.

Define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', 'http://barginhut.com');.

Define('HTTPS_COOKIE_DOMAIN', 'http://barginhut.com');.

Define('HTTP_COOKIE_PATH', 'store');.

Define('HTTPS_COOKIE_PATH', 'store');.

Define('DIR_WS_HTTP_CATALOG', '/store/');.

Define('DIR_WS_HTTPS_CATALOG', '/store/');.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

Define('DIR_FS_CATALOG', '/home/jnr1/barginhut-www/store/');.

Define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

Define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

Define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', '');.

Define('DB_SERVER_PASSWORD', '');.

Define('DB_DATABASE', com');.

Define('USE_PCONNECT', // use persistent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

?>..

Comment #7

Here you go for this file.

<?php.

/*.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

Define('HTTP_SERVER', 'http://barginhut.com'); // eg, http://localhost - should not be empty for productive servers.

Define('HTTPS_SERVER', 'https://barginhut.com'); // eg, https://localhost - should not be empty for productive servers.

Define('ENABLE_SSL', true); // secure webserver for checkout procedure?.

Define('HTTP_COOKIE_DOMAIN', 'barginhut.com');.

Define('HTTPS_COOKIE_DOMAIN', 'barginhut.com');.

Define('HTTP_COOKIE_PATH', '/store/');.

Define('HTTPS_COOKIE_PATH', '/store/');.

Define('DIR_WS_HTTP_CATALOG', '/store/');.

Define('DIR_WS_HTTPS_CATALOG', '/store/');.

Define('DIR_WS_IMAGES', 'images/');.

Define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

Define('DIR_WS_INCLUDES', 'includes/');.

Define('DIR_WS_BOXES', DIR_WS_INCLUDES'boxes/');.

Define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES'functions/');.

Define('DIR_WS_CLASSES', DIR_WS_INCLUDES'classes/');.

Define('DIR_WS_MODULES', DIR_WS_INCLUDES'modules/');.

Define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES'languages/');.

Define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');.

Define('DIR_FS_CATALOG', '/home/jnr1/barginhut-www/store/');.

Define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

Define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');.

// define our database connection.

Define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers.

Define('DB_SERVER_USERNAME', '');.

Define('DB_SERVER_PASSWORD', '');.

Define('DB_DATABASE', com');.

Define('USE_PCONNECT', // use persistent connections?.

Define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'.

?>.

Could be an SSL issue you could try making SSL false and see if that makes a difference. you will need to check the store/admin/includes/configure.php as well, because it references the catalog..

Comment #8

Using an ftp program or in file manager it will say drwxrwxrwx for chmod 777.

Ahh that was a fine break.

This post has been edited by.

241.

: 31 March 2004, 23:39..

Comment #9

Okay guys I got it changed and it workedthanks so much for the help. You guys are awesome...

Comment #10

I still cant get the corner left and right gifs to work. any ideas. thanks..

Comment #11

All my images are showing any reason come to mind why not? Take a look. please help again. thanks.

Http://www.barginhut.com..

Comment #12

Im sorry for my bad writing. What I meant is none of my images are showing. In my catalog section it says catalog directory no writable. I need help. thanks..

Comment #13


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