chrometweaks.org

Is their a "FREE" iPage web hosting Website?

Click Here To View All Answers...


Quick question: Is their a "FREE" iPage web hosting Website? Many thanks for any comment. Second question.. I've followed the instructions on the main page to change the appearance from the default demo look..

Started very slowly just replacing some text with my own..

To do this I went to includes/english/index.php..

I replaces about twenty words, clicked 'save' and tried to view. I got the following error:.

Parse error: parse error, unexpected T_STRING in /home/sites/paulbentleymusic.com/public_html/eshop/includes/languages/english/index.php on line 13.

The page currently looks like this: (th bold txt is what I was carefully replacing).

<?php.

/*.

$Id: index.php,v 1.2 2004/07/29 08:34:06 jim Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Define('TEXT_MAIN',.

'Welcome to eshop the online shopping cart of paulbentleymusic.com. <b>Please feel free to have a look at the cd's for sale. Listen to the album samples and and add your choices to your cart</b>. Thanks for clicking by..

><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/1.gif')'</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.</td></tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/2.gif')'</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/'$language'/'FILENAME_DEFAULT'</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->'ucfirst($language)'->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define('TEXT_MAIN', '<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>');</nobr><br><br>The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:<br><br><nobr>define('TEXT_MAIN', '');</nobr><br><br>More information concerning the PHP define() function can be read <a href="http://www.php.net/define" target="_blank"><u>here</u></a>.</td></tr><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/3.gif')'</td><td class="main" valign="top"><b>Securing The Administration Tool</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available.</td></tr><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/4.gif')'</td><td class="main" valign="top"><b>Online Documentation</b><br><br>Online documentation can be read at the <a href="http://wiki.oscommerce.com" target="_blank"><u>osCommerce Wiki Documentation Effort</u></a> site.<br><br>Community support is available at the <a href="http://forums.oscommerce.com" target="_blank"><u>osCommerce Community Support Forums</u></a> site.</td></tr></table><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support iPage site of osCommerce</u></a>. This shop is running on osCommerce version <font color="#f0000"><b>'PROJECT_VERSION'</b></font>.');.

Define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');.

Define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');.

Define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');.

If ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {.

Define('HEADING_TITLE', 'Let's See What We Have Here');.

Define('TABLE_HEADING_IMAGE', '');.

Define('TABLE_HEADING_MODEL', 'Model');.

Define('TABLE_HEADING_PRODUCTS', 'Product Name');.

Define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');.

Define('TABLE_HEADING_QUANTITY', 'Quantity');.

Define('TABLE_HEADING_PRICE', 'Price');.

Define('TABLE_HEADING_WEIGHT', 'Weight');.

Define('TABLE_HEADING_BUY_NOW', 'Buy Now');.

Define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');.

Define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');.

Define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');.

Define('TEXT_SHOW', '<b>Show:</b>');.

Define('TEXT_BUY', 'Buy 1 '');.

Define('TEXT_NOW', '' now');.

Define('TEXT_ALL_CATEGORIES', 'All Categories');.

Define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');.

} elseif ($category_depth == 'top') {.

Define('HEADING_TITLE', 'What's New Here?');.

} elseif ($category_depth == 'nested') {.

Define('HEADING_TITLE', 'Categories');.

}.

?>.

I don't know what I've done wrong, I'm guessing it's something very silly...

Comments (7)

The answer is Yes, however you might wanna make sure and wait for another commenter to confirm this as I am not confident. Better yet, why don't you give a call to the iPage guys because they can answer your iPage question better...

Comment #1

Hi Jack. Thanks for that. Unfortunately though when I click 'save' to save the change (ie including the \ in cd\'s) it's not making the change. The parse error remains and when I look at index.php again in still says cd's not cd\'s...

Comment #2

Hmm, but you changed it before. Has anything changed in your confiruation? How are you uploading oyur file to your host?.

Jack..

Comment #3

To upload the file I click 'save' then 'online catalog'..

Comment #4

Well I think this is the sme for your other topic but... this code works for me... try this.

<?php.

/*.

$Id: index.php,v 1.2 2004/07/29 08:34:06 jim Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

Define('TEXT_MAIN', 'Welcome to eshop the online shopping cart of paulbentleymusic.com. <b>Please feel free to have a look at the cd\'s for sale. Listen to the album samples and and add your choices to your cart</b>. Thanks for clicking by.><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/1.gif')'</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.</td></tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/2.gif')'</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/'$language'/'FILENAME_DEFAULT'</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->'ucfirst($language)'->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define('TEXT_MAIN', '<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>');</nobr><br><br>The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:<br><br><nobr>define('TEXT_MAIN', '');</nobr><br><br>More information concerning the PHP define() function can be read <a href="http://www.php.net/define" target="_blank"><u>here</u></a>.</td></tr><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/3.gif')'</td><td class="main" valign="top"><b>Securing The Administration Tool</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available.</td></tr><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/4.gif')'</td><td class="main" valign="top"><b>Online Documentation</b><br><br>Online documentation can be read at the <a href="http://wiki.oscommerce.com" target="_blank"><u>osCommerce Wiki Documentation Effort</u></a> site.<br><br>Community support is available at the <a href="http://forums.oscommerce.com" target="_blank"><u>osCommerce Community Support Forums</u></a> site.</td></tr></table><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support iPage site of osCommerce</u></a>. This shop is running on osCommerce version <font color="#f0000"><b>'PROJECT_VERSION'</b></font>.');.

Define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');.

Define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');.

Define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');.

If ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {.

Define('HEADING_TITLE', 'Let\'s See What We Have Here');.

Define('TABLE_HEADING_IMAGE', '');.

Define('TABLE_HEADING_MODEL', 'Model');.

Define('TABLE_HEADING_PRODUCTS', 'Product Name');.

Define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');.

Define('TABLE_HEADING_QUANTITY', 'Quantity');.

Define('TABLE_HEADING_PRICE', 'Price');.

Define('TABLE_HEADING_WEIGHT', 'Weight');.

Define('TABLE_HEADING_BUY_NOW', 'Buy Now');.

Define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');.

Define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');.

Define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');.

Define('TEXT_SHOW', '<b>Show:</b>');.

Define('TEXT_BUY', 'Buy 1 '');.

Define('TEXT_NOW', '' now');.

Define('TEXT_ALL_CATEGORIES', 'All Categories');.

Define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');.

} elseif ($category_depth == 'top') {.

Define('HEADING_TITLE', 'What\'s New Here?');.

} elseif ($category_depth == 'nested') {.

Define('HEADING_TITLE', 'Categories');.

}.

?>..

Comment #5

I just don't get this. I copied all of the txt above deleted the old txt and replaced it. Still the same..

My host has a file manager in control panel for me to make changes direct. I saved and refreshed browser. No change still parse error...

Comment #6

Use.

Ftp://yourdomain.com.

And login, find the file, save it your hdd, make the modifications then go back to the ftp server, delete the file off the server, and then copy the edited one.....

Comment #7


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