Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default error message when customers create an account

    I edited the file so that when they make a profile it will say something different then the general information it had before. I know I realy botched it up but I can't figure out how to fix it. This is the file for the 'create_account_success.php'

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: create_account_success.php 4816 2006-10-23 04:08:52Z drbyte $
    */

    define('NAVBAR_TITLE_1', 'Create an Account');
    define('NAVBAR_TITLE_2', 'Success');
    define('HEADING_TITLE', 'Your Account Has Been Created!');
    define('TEXT_ACCOUNT_CREATED', 'Congratulations!'); Your new account has been successfully created! You can now take advantage of member privileges to enhance your online shopping experience with us. If you have <small><strong>ANY</strong></small> questions please email us by going to our 'contact us' page. <br /><br />A confirmation has been sent to the provided email address. If you have not received it within the hour, please <a href="' . zen_href_link(FILENAME_CONTACT_US) . '">contact us</a>.');
    define('PRIMARY_ADDRESS_TITLE', 'Primary Address');






    AND this is the file for 'create_account.php'







    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: create_account.php 3027 2006-02-13 17:15:51Z drbyte $
    */

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

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

    define('TEXT_ORIGIN_LOGIN', '<strong class="note">NOTE:</strong> If you already have an account with us, please login at the <a href="%s">login page</a>.');

    // greeting salutation
    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");

    // First line of the greeting
    define('EMAIL_WELCOME', 'We wish to welcome you to <strong>' . STORE_NAME . '</strong>.');
    define('EMAIL_SEPARATOR', '--------------------');
    define('EMAIL_COUPON_INCENTIVE_HEADER', 'Congratulations! To make your next visit to our online shop a more rewarding experience, listed below are details for a Discount Coupon created just for you!' . "\n\n");
    // your Discount Coupon Description will be inserted before this next define
    define('EMAIL_COUPON_REDEEM', 'To use the Discount Coupon, enter the ' . TEXT_GV_REDEEM . ' code during checkout: <strong>%s</strong>' . "\n\n");

    define('EMAIL_GV_INCENTIVE_HEADER', 'Just for stopping by today, we have sent you a ' . TEXT_GV_NAME . ' for %s!' . "\n");
    define('EMAIL_GV_REDEEM', 'The ' . TEXT_GV_NAME . ' ' . TEXT_GV_REDEEM . ' is: %s ' . "\n\n" . 'You can enter the ' . TEXT_GV_REDEEM . ' during Checkout, after making your selections in the store. ');
    define('EMAIL_GV_LINK', ' Or, you may redeem it now by following this link: ' . "\n");
    // GV link will automatically be included before this line

    define('EMAIL_GV_LINK_OTHER','Once you have added the ' . TEXT_GV_NAME . ' to your account, you may use the ' . TEXT_GV_NAME . ' for yourself, or send it to a friend!' . "\n\n");

    define('EMAIL_TEXT', 'With your account, you can now take part in the <strong>various services</strong> we have to offer you. Some of these services include:' . "\n\n" . '<li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n\n" . '<li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves.' . "\n\n" . '<li><strong>Order History</strong> - View your history of purchases that you have made with us.' . "\n\n" . '<li><strong>Products Reviews</strong> - Share your opinions on products with our other customers.' . "\n\n");
    define('EMAIL_CONTACT', 'For help with any of our online services, please email us at: <a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS ." </a>\n\n");
    define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n\n");

    // email disclaimer - this disclaimer is separate from all other email disclaimers
    define('EMAIL_DISCLAIMER_NEW_CUSTOMER', 'This email address was given to us by you or by one of our customers. If you did not signup for an account, or feel that you have received this email in error, please send an email to %s ');

    //moved definitions to english.php
    //define('TABLE_HEADING_PRIVACY_CONDITIONS', 'Privacy Statement');
    //define('TEXT_PRIVACY_CONDITIONS_DESCRIPTION', 'Please acknowledge you agree with our privacy statement by ticking the following box. The privacy statement can be read <a href="' . zen_href_link(FILENAME_PRIVACY, '', 'SSL') . '"><span class="pseudolink">here</span></a>.');
    //define('TEXT_PRIVACY_CONDITIONS_CONFIRM', 'I have read and agreed to your privacy statement.');
    //define('TABLE_HEADING_ADDRESS_DETAILS', 'Address Details');
    //define('TABLE_HEADING_PHONE_FAX_DETAILS', 'Additional Contact Details');
    //define('TABLE_HEADING_DATE_OF_BIRTH', 'Verify Your Age');
    //define('TABLE_HEADING_LOGIN_DETAILS', 'Login Details');
    //define('TABLE_HEADING_REFERRAL_DETAILS', 'Were You Referred to Us?');
    ?>

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: error message when customers create an account

    Anytime you use a single quote inside a language define you must escape it with a backslash - That means 'dog' would look like \'dog\'
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: error message when customers create an account

    well, i see what you mean but when i look at the file, i see alot of that but i never changed that to begin with, meaning that that is how it was before and it worked fine.

  4. #4
    Join Date
    Nov 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: error message when customers create an account

    nevermind, i figured it out somehow!! thanks

 

 

Similar Threads

  1. v150 Error message when creating an account
    By 4jDesigns in forum General Questions
    Replies: 9
    Last Post: 6 Jan 2013, 09:04 AM
  2. Customers get a blank screen when trying to create an account
    By semansr in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Apr 2009, 10:13 PM
  3. Error message when account creation is attempted
    By Theresa in forum General Questions
    Replies: 6
    Last Post: 3 Oct 2007, 01:36 AM
  4. Error Message when trying to create account
    By kimberlyeddy in forum Managing Customers and Orders
    Replies: 14
    Last Post: 5 Aug 2007, 04:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg