Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error on create_account email


tandt

Recommended Posts

Posted

Hello all,

I am so very new to this forum and thought that I would try it out... I have an error ... Parse error: parse error, unexpected T_STRING in /home/teacupsa/public_html/osCommerce1/catalog/includes/languages/english/create_account.php on line 25

I know that it has to do with the fact that I changed some of the standard wording in the create_account file. However, I am not sure what I have messed up. Here is how it looks and I am not sure what I need to change. I did come across an old post in these forums and tried to fix my problem by that suggestion first. It didn't work...I must have really messed something up! Any help would be appreciated.

 

 

<?php

/*

$Id: create_account.php,v 1.11 2003/07/05 13:58:31 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Create an Account');

 

define('HEADING_TITLE', 'My Account Information');

 

define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><b>NOTE:</b></font></small> If you already have an account with us, please login at the <a href="%s"><u>login page</u></a>.');

 

define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME);

define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");

define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n");

define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

define('EMAIL_WELCOME', 'We welcome you to <b>' . STORE_NAME . '</b>.' . "\n\n");

define('EMAIL_TEXT', 'We appreciate you creating an account with us and hope that you enjoy your journeys through our lily pad. With this account you will now be able to take part in a more<b>personal shopping experience</b>. The many features include:' . "\n\n" . '<li><b>{Permanent Pram}</b> - Any treasures added to your online cart remain there until you remove them, or check them out.' . "\n" . '<li><b>{Address Book}</b> - We can deliver your products to another address other than yours! This is perfect to send shower gifts, birthday presents, and gifts welcoming a new baby direct to the receiver themselves.' . "\n" . '<li><b>{Order History}</b> - View your history of purchases that you have made with us.' . "\n" . '<li><b>{Products Reviews}</b> - Share your opinions on products with our other customers.' . "\n\n");

define('EMAIL_CONTACT', 'For help with any of our services or for comments, questions, and suggestions, please email me at: ' . STORE_OWNER_EMAIL_ADDRESS . '' . "\n\n")I'd love to hear from you. ' . "\n\n" . '<li> Thank you again for stopping by the lily pad,' . "\n\n" . '<li>Ashley Crim' . "\n\n" . '<li>Owner & Designer;

define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to ' . 'STORE_OWNER_EMAIL_ADDRESS' . '.' . "\n");

?>

Posted

First, on this line:

 

define('EMAIL_CONTACT', 'For help with any of our services or for comments, questions, and suggestions, please email me at: ' . STORE_OWNER_EMAIL_ADDRESS . '' . "\n\n")I'd love to hear from you. ' . "\n\n" . '<li> Thank you again for stopping by the lily pad,' . "\n\n" . '<li>Ashley Crim' . "\n\n" . '<li>Owner & Designer;

 

You are missing a ') at the end before the ;

 

 

Then on this line:

 

define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to ' . 'STORE_OWNER_EMAIL_ADDRESS' . '.' . "\n");

 

Take out the quotes around STORE_OWNER_EMAIL_ADDRESS

Posted

Thanks so much for your help. I tried this though and it gives me the same error...could there be some other omissions that I may have mislooked?

Posted

Thank you sir. Could there possibly still be one more?? I am still getting that same error. I appreciate your help and quick replies! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...