FCKeditor_problems Posted May 19, 2009 Posted May 19, 2009 Parse error: syntax error, unexpected T_STRING in /home/xxxxxxx/public_html/includes/languages/english/payment_methods.php on line 18 Please help if anyone has a fresh eye - I've been staring at this for hours and can't see anything wrong with it. I'm on version 2.2 Here's the code: <?php/* $Id: payment_methods.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', 'Payment Methods'); define('HEADING_TITLE', 'Payment Methods'); define('TEXT_INFORMATION', '<p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">At xxxxxxxxxxxxxxx.com you have several different payment options from which to choose.<br /> </span><br /> <span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">PAYPAL</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> - If you have a Paypal account, you may send your payment securely via this method. Select "PayPal Express" as your payment method. If you don't have a PayPal account, you may also choose this method and sign up for an account (PayPal accounts are free for private parties).<br /> </span><br /> <span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">ONLINE CREDIT CARD PAYMENT</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> - If you wish to pay online by credit card, during the checkout process select "PayPal and Credit Card Payments" as your payment method. You do NOT have to sign up for, or have, an existing Paypal account to use this payment method. When the Paypal page opens, look about mid-way down on the left side of the page.<br /> </span><br /> <span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">You will see the following text and images:<br /> </span><br /> </p> <p align="center"> <img alt="You may pay with Visa, Mastercard, Discover or American Express WITHOUT a PayPal Account" src="http://www.israeligasmasks.com/images/cc-paypal.jpg" /></p> <p><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Click on "Continue" in the Paypal text to pay securely via Credit Card without a Paypal account.<br /> </span><br /> <span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Verdana">CHECK BY MAIL</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> - You may send a check for payment, however your shipment will be delayed to allow extra time for your check to clear the bank. Select "Check/Money Order" as your payment method. During the checkout process, you will see an Order Confirmation form which includes your order details and the address to which you should mail your check. Print the order Confirmation and enclose a copy when mailing your check. Please note the "make payable to" information, and endorse your check accordingly.</span></p>'); ?>
♥geoffreywalton Posted May 19, 2009 Posted May 19, 2009 If you don't remove the ' to prove it then read up on escaping characters in php. Let google be your guide Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
FCKeditor_problems Posted May 19, 2009 Author Posted May 19, 2009 ISSUE RESOLVED thanks to Stanislav's PM. For those of you who may have the same problem, I needed to change don't to don\'t Parse error: syntax error, unexpected T_STRING in /home/xxxxxxx/public_html/includes/languages/english/payment_methods.php on line 18 Please help if anyone has a fresh eye - I've been staring at this for hours and can't see anything wrong with it. I'm on version 2.2 Here's the code:
FCKeditor_problems Posted May 19, 2009 Author Posted May 19, 2009 And thanks to Geoffrey Walton also. If you don't remove the ' to prove it then read up on escaping characters in php. Let google be your guide
Recommended Posts
Archived
This topic is now archived and is closed to further replies.