chrometweaks.org

iPage.com linux hosting with iWeb.?

Click Here To View All Answers...


Question I have... iPage.com linux hosting with iWeb.? Thanks for any response. Another question I got... I have messed up the file conditions.php in:.

Includes/languages/english/conditions.php.

I should have saved the original then saved as.. my file that I modified but unfortunately didn't, so does anyone have this original please that I can modify correctly please..

Current error if anyone can walk me thru gently is this:.

Parse error: parse error in /home/steve/public_html/shop/includes/languages/english/conditions.php on line 26.

<?php.

/*.

$Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2002 osCommerce.

Released under the GNU General Public License.

*/.

Define('NAVBAR_TITLE', 'Conditions of Use');.

Define('HEADING_TITLE', 'Conditions of Use');.

Define('TEXT_INFORMATION', 'I had text here');.

?>.

Thank you..

Comments (58)

I would like to know the answer too. Anyone here know what is the answer. I'll do some Googling and get back to you if I bump into an anything. You should email the people at iPage as they probably could give you an answer..

Comment #1

The information you have provided for a walk thru is no use as the error is line 26 and there are only 18 lines and an original has only 17 lines so without your actual text there can be no walk thru, However the parse error was possibly caused by an apostrophe in your text..

Here is a replacement default conditions.php.

<?php.

/*.

$Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright (c) 2002 osCommerce.

Released under the GNU General Public License.

*/.

Define('NAVBAR_TITLE', 'Conditions of Use');.

Define('HEADING_TITLE', 'Conditions of Use');.

Define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');.

?>.

An example for use of the apostrophe is this.

Didn\'t.

Notice the use of the backslash.

This post has been edited by.

241.

: 28 February 2004, 16:24..

Comment #2

Just a tip I thought I'd share....

I unzipped two copies of osC when I started working on my files and kept them in two separate directories one to customize, and the other (named 'oscMASTER') to keep as a backup for when I screwed up. It's been a lifesaver more than once!.

HTH,.

Terry..

Comment #3

There is another regular poster in this forum who's sig file says:.

"I break my oscommerce daily. Listening to me could break yours too.".

I;m much the same way...although I must admit to breaking it less now than when I started...perhaps I am learning something after all..

But I too, follow the advice Terry gave...always have TWO copies of oscommerce...1 with pristine virgin files for when you screw up...and one for doing the screwing up on. Trust me...this IS a valuable tip!!!..

Comment #4

Me too.

Excellent!.

The only original I don't have is the stylesheet.css, but I've kept track of all my changes, and there IS an original.. somewhere.. on my server.. lol...

Comment #5

I have messed up the file conditions.php in:.

Includes/languages/english/conditions.php.

I should have saved the original then saved as.. my file that I modified but unfortunately didn't, so does anyone have this original please that I can modify correctly please..

Current error if anyone can walk me thru gently is this:.

Parse error: parse error in /home/steve/public_html/shop/includes/languages/english/conditions.php on line 26.

<?php.

/*.

$Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2002 osCommerce.

Released under the GNU General Public License.

*/.

Define('NAVBAR_TITLE', 'Conditions of Use');.

Define('HEADING_TITLE', 'Conditions of Use');.

Define('TEXT_INFORMATION', 'I had text here');.

?>.

Thank you..

Comment #6

Here you go (osc2.2-MS2 version):.

<?php.

/*.

 $Id: conditions.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2002 osCommerce.

 Released under the GNU General Public License.

*/.

Define('NAVBAR_TITLE', 'Conditions of Use');.

Define('HEADING_TITLE', 'Conditions of Use');.

Define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');.

?>.

HTH,.

Terry..

Comment #7


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