chrometweaks.org

How do I use Microsoft Publisher to publish my site with iPage.com?

Click Here To View All Answers...


My question is How do I use Microsoft Publisher to publish my site with iPage.com? Many thanks for any answer or 2. 2nd question I got is.. I have the following error and I need some help fixing it. I'm new to php and I've searched the support iPage site for basic help on this but I have not found it. Here's my error..

Parse error: parse error in /home/virginia/public_html/store/includes/languages/english/index.php on line 19.

Where is line 19? That's my first problem. Second, how do I fix it and add my own text to the page? This problem occurs in the root page, virginianutshop.com/store/, and presumably any other pages that calls /home/virginia/public_html/store/includes/languages/english/index.php..

Here's the code as it stands now with the error..

<?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 (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

Define('TEXT_MAIN', '');.

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

}.

?>.

Thank you for your help!..

Comments (98)

Hmm... I need to find out myself. I don't know what is the right answer. I'll do some poking around and get back to you if I find an good answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

Using a text editor or dreamweaver, you can see line numbered on the left...

Comment #2

You need to have a '\' in front of the 's' in Let's, ie Let\'s is the proper syntax. Get your self a free php editor, search for phpedit it will help you. I use dreamweaver however it is not free...

Comment #3

Same thing here.

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

Should be.

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

I would guess that you are editing online using the file manager which is known to cause issues by removing backslashes from the code which gives the parse error.

The fix is to not use the online file manager to edit files but use an ftp program such as ws_ftp to download the file and edit offline then upload.

This post has been edited by.

241.

: 02 March 2004, 15:35..

Comment #4

Thank you all for your help! It is now fixed and I've learned a little bit more about php in process. I really appreciate all of your help..

I'm using a simple text editor. I will start ftp'ing the files instead of using the file manager. Also thanks for the "Let\'s" trick. I thought perhaps that might be the trouble but I wasn't sure...

Comment #5

Download Crimson Editor, it's free and easy to handle...

Comment #6

Thank you. I will download Crimson Editor and evaluate it. I've also downloaded winsyntax and I like it as well. Again thank you all. Until next time....

Jeremy..

Comment #7

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

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

Should be.

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

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

Comment #8

Mibble -.

I use dreamweaver myself for all my other non-PHP stuff. When you use dreamweaver for PHP are you able to us it grafically or just raw code? For PHP I use PHPEdit and dreamweaver for everything else. I am a graphical learner by nature.

I have also thought of using either STS or BTS from the contributions, but I just have NO clue what the features of either one and which contribution is the best. Any ideas anyone? Yes, I did search for some of the answers without much luck.

Thanx all...

Comment #9

I have the following error and I need some help fixing it. I'm new to php and I've searched the support iPage site for basic help on this but I have not found it. Here's my error..

Parse error: parse error in /home/virginia/public_html/store/includes/languages/english/index.php on line 19.

Where is line 19? That's my first problem. Second, how do I fix it and add my own text to the page? This problem occurs in the root page, virginianutshop.com/store/, and presumably any other pages that calls /home/virginia/public_html/store/includes/languages/english/index.php..

Here's the code as it stands now with the error..

<?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 (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

Define('TEXT_MAIN', '');.

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

}.

?>.

Thank you for your help!..

Comment #10

This is your 19th line:.

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

I think the 2nd.

'.

(Let.

'.

S) is the problem, becouse the browser will recognize it as the end of your HEADING_TITLE, while it is not...

Comment #11


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