boostanddestroy Posted April 20, 2008 Posted April 20, 2008 this is the error i get after editing the .php files through admin->tools Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/name/public_html/includes/languages/english/shipping.php on line 16 Parse error: syntax error, unexpected T_STRING in /home/name/public_html/includes/languages/english/shipping.php on line 16 noob-
germ Posted April 20, 2008 Posted April 20, 2008 Post the contents of /includes/languages/english/shipping.php Using the Filemanager in osC can be hazardous to your site's health... :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
boostanddestroy Posted April 20, 2008 Author Posted April 20, 2008 <?php /* $Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'ALL SALES ARE FINAL, NO REFUNDS OR RETURNS ARE ACCEPTED. Please feel free to contact us if you need customer support beforehand so we can direct you towards the proper part(s) for your vehicle. Thank you for Shopping at Boostanddestroy.com<br><br> Our items are shipped via USPS, Fedex, and UPS <br><br> <br><br> ?> noob-
germ Posted April 20, 2008 Posted April 20, 2008 The last define needs to be: define('TEXT_INFORMATION', 'ALL SALES ARE FINAL, NO REFUNDS OR RETURNS ARE ACCEPTED. Please feel free to contact us if you need customer support beforehand so we can direct you towards the proper part(s) for your vehicle. Thank you for Shopping at Boostanddestroy.com<br><br> Our items are shipped via USPS, Fedex, and UPS <br><br> <br><br> '); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted April 20, 2008 Posted April 20, 2008 Just change this: <br><br> ?> to: <br><br> '); ?> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
boostanddestroy Posted April 20, 2008 Author Posted April 20, 2008 thank you so much. all fixed :D noob-
boostanddestroy Posted April 20, 2008 Author Posted April 20, 2008 ut oh---- when im chaning my privacy area i redid the "define" to what you said to ---- here is the error im getting---> Parse error: syntax error, unexpected T_STRING in /home/cbweaver/public_html/includes/languages/english/privacy.php on line 18 here is the contents of the file <?php /* $Id: privacy.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Privacy Notice'); define('HEADING_TITLE', 'Privacy Notice'); define('TEXT_INFORMATION', 'Privacy Notice Boost And Destroy requests your basic contact information such as name, address, email address, and telephone number in order to properly fill your order. We will never sell, give, or provide this information to any other agency. Period. We get spam e-mail, junk mail, solicitors, and telemarketers too and know how frustrating they can be. We protect your information, so when you place an order with us you can rest assured that it is kept safe and confidential. All credit card transactions are processed on a secure server and, for those who don't feel comfortable submitting this information online, you can always call us with your credit card info after purchasing.<br><br> Legal Notice:<br> ALL PRODUCTS SOLD THROUGH BOOST AND DESTROY AND www.boostanddestroy.com ARE FOR RACING & OFF-ROAD USE ONLY UNLESS CLEARLY NOTED OTHERWISE. They should never be used on public streets or highways. Check your local laws regarding such use in your state. We are not responsible for failure to comply with Local, State, or Federal laws reguarding motor vehicles. We highly reccomend professional installation by a competent mechanic for all products we sell.<br><br> Sales Tax:<br> 1. Florida residents are subject to a 6% sales tax.<br> 2. All walk-in customers, whether they are Florida residents or not, are subject to a 6% sales tax.<br> 3. If you live in a different state, you cannot place a phone/internet order for your home address and then pickup locally; you will still have to pay sales tax..'); '); noob-
germ Posted April 20, 2008 Posted April 20, 2008 In the text, this: for those who don't needs to be: for those who don\'t Then remove the extra: '); At the end. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.