chrometweaks.org

BEST list of questions to ask Future Ecommerce iPage web host ?

Click Here To View All Answers...


My 1st question is: BEST list of questions to ask Future Ecommerce iPage web host ? Many thanks for any answer. Another question... Here is the code for my index.php. I used the admin tool "File Manager" to update the text for 'TEXT_MAIN' and did not take out any parenthesis or anything and now I'm getting this parse error. Please help! The actual error is below the code..

<?php.

/*.

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Define('TEXT_MAIN', 'Thank you for visiting, come often.');.

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

}.

?>.

Parse error: parse error, unexpected T_STRING in /mnt/web_i/d47/s00/b01e3889/www/secure/nfoscomm/catalog/includes/languages/english/index.php on line 19..

Comments (10)

I'm stumped. I'm not so sure what is the right answer. I'll do some investigation and get back to you if I find an answer. You should email the people at iPage as they probably can help you..

Comment #1

I think the period is ok, but you'll need to change....

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

To.

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

Do NOT use the filemanager to edit your php files, as it will strip all of your escape characters out..

Download a text editor with ftp capability and use that instead...

Comment #2

Thanks a bunch. Problem is, I am currently at work and we're behind a firewall, which prevents me from using ftp... :-(.

Anyway, guess I will try the suggestions when I get home tonight. Thanks again for the quick reply...

Comment #3

Ahhh missed that damn apostrophe and I got the slash the wrong way round.

Oops go with wizards answer that will fix it.

This post has been edited by.

Gscreations.

: 04 November 2004, 19:30..

Comment #4

Thanks to you all. I went home and updated with primalscript and then just overwrote the one that was out there, using core ftp and all was well..

I didn't need to do anything with the period but I assumed that your slash was the wrong way..

Thanks again and you all have a wonderful day!.

Ray..

Comment #5

Here is the code for my index.php. I used the admin tool "File Manager" to update the text for 'TEXT_MAIN' and did not take out any parenthesis or anything and now I'm getting this parse error. Please help! The actual error is below the code..

<?php.

/*.

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Define('TEXT_MAIN', 'Thank you for visiting, come often.');.

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

}.

?>.

Parse error: parse error, unexpected T_STRING in /mnt/web_i/d47/s00/b01e3889/www/secure/nfoscomm/catalog/includes/languages/english/index.php on line 19..

Comment #6

Where you have TEXTMAIN =.

'Thank you for visiting, come often.'.

Change it to:.

'Thank you for visiting, come often/.'.

And try again..

Comment #7


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