russalpcs Posted December 20, 2009 Share Posted December 20, 2009 Hi all I am busy with a fresh install at a new web host as I somehow violated the previous hosts TOS after 6 months. I am now getting this error after editing my Shipping.php file in includes/languages/english The error is "Parse error: syntax error, unexpected T_STRING in /home/vhosts/russalpc.co.za/includes/languages/english/shipping.php on line 16" Here is the file's contents <?php /* $Id: shipping.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', 'Payment,Shipping & Returns'); define('HEADING_TITLE', 'Payment,Shipping & Returns'); define('TEXT_INFORMATION', '<b>PAYMENTS<br><br>There are 2 methods of payment for items purchased on our site.<br><br>1.Bank Transfer or Direct Deposit.<br> You can just transfer the funds using your own EFT System or you can Deposit the funds Directly into our Bank Account at your local Branch of our Bank.<br> Please remember to add 50 cents for every R100 deposited to cover Deposit Fees.<br> To find your closest Branch of Capitec Bank, just go to http://www.capitecbank.co.za.<br><br>2.Credit Card payments Off-site via AlertPay.<br> We do offer an off-site payment processor based in Canada for our Credit card transactions<br> After placing your order the payment button will redirect to a secure server, where your order will be processed in the equivalent value of your order in US Dollars.<br> Please note that once the payment has cleared, it must still be transferred into our South African Bank Account, which takes 2 Days.<br> Please also remember to add R35 to all credit card transactions as we have to pay a withdrawal fee.<br><br><b>SHIPPING <br><br>There are 3 methods of Shipping your Goodies.<br><br>1. Normal Parcel Post - takes 2 - 4 days, and we charge what the Post Office Charges us plus R5 for Packaging costs.<br>2. Speed Services Shipping - usually overnight except for out-lying areas which is usually 2 days, charges are what we pay at the Post Office, plus R5 for Wrapping.<br>3.Courier Service - We do use a Budget Courier Service for Expensive or Fragile Goods.<br> Your item/s would then travel by road from Cape Town to a Central Depot in Johannesburg, before it gets sent via Road to other Major or Minor Cities/Towns.<br> This method takes from 2 - 5 Days as well and would cost you R85 for a 5KG parcel to a City, or R160 to a Town. <br><br><b>WARRANTIES & RETURNS<br><br>If you are not sure on a warranty of a product please contact us to confirm.<br>Defective or Dead on Arrival products will only be accepted in original packaging with the original invoice.<br>The Client is responsible for shipping cost on warranty items.<br>Warranty period is calculated from original date of purchase.<br><b>VERY IMPORTANT: NO WARRANTY ITEMS WILL BE ACCEPTED WITHOUT THE ORIGINAL INVOICE, PACKAGING,MANUALS, ACCESSORIES AND SOFTWARE, OR IF NOT ENCLOSED IN ITS ANTI-STATIC PROTECTION.<br>Software, media, consumables and cartridges do not carry any warranty.<br>Unfortunately no cash refunds will be issued for a product that is defective.<br>All warranties are covered by the manufacturers unless otherwise stated.<br><br>The following will result in a product declared warranty being null and void :<br><br>Physical Damage on the product, Burn marks on the product, Missing serial number or any other original labels.<br>Items such as CPU's that have overheated due to incorrect use of fan, Over clocking - No exceptions will be made.<br>Items such as main boards that have been damaged by incorrect use of Bios upgrades/over clocking/modifications or damaged Pins<br>Items that have been mishandled/damaged due to Power surges/Brown outs or struck by lightning.<br>Items that have been marked, written on or tampered with in any other way.<br>Items such as hard disk drives, memory, processors even if they are defective that are not returned in an anti-static bag or in the original packaging.'); ?> Please help - I do not see the error I am making Many Thanks Russel Link to comment Share on other sites More sharing options...
germ Posted December 20, 2009 Share Posted December 20, 2009 CPU's Needs to be: CPU\'s 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 > Link to comment Share on other sites More sharing options...
winnerscircle Posted December 21, 2009 Share Posted December 21, 2009 I just had EXACTLY the same problem. My problem was caused by the words Winner's Circle. The apostrophe was the cause of the issue. putting \ before the apostrophe did not help. I removed it entirely and all was OK. Lee Link to comment Share on other sites More sharing options...
MrPhil Posted December 21, 2009 Share Posted December 21, 2009 You must not have edited it correctly. The code define('SOME_TERM', 'some text blah blah Winner\'s Circle blah blah end.'); is correct. Did you remember to clear your browser cache after you made the change, so you weren't picking up the old page contents? Link to comment Share on other sites More sharing options...
russalpcs Posted December 22, 2009 Author Share Posted December 22, 2009 Thanks for the replies - all sorted, but there is now a different error - I have listed it in another query - my website does not show anything when you click on a category, but in my admin, all the products are there? Link to comment Share on other sites More sharing options...
MrPhil Posted December 22, 2009 Share Posted December 22, 2009 If this is a completely different error, please start a new thread for it. Link to comment Share on other sites More sharing options...
russalpcs Posted December 22, 2009 Author Share Posted December 22, 2009 I have listed the new problem here : http://www.oscommerce.com/forums/topic/350939-help-my-site-is-not-functioning-correctly/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.