Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse Error in Admin Create Account


RunJunkie

Recommended Posts

Posted

I get the following error when I try to create an account through admin section

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/carbigncraft.com/www/carbigncraft.com/catalog/admin/includes/languages/english/create_account_process.php on line 21

 

This is how the code looks like in create_account_process.php

 

<?php

/*

$Id: create_account_process.php,v 1.2 2004/03/05 00:36:41 ccwjr Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

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

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

define('HEADING_NEW', 'Order Process');

define('NAVBAR_NEW_TITLE', 'Order Process');

 

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

define('EMAIL_GREET_MR', 'Dear Mr. ' . stripslashes($HTTP_POST_VARS['lastname']) . ',' . "\n\n");

define('EMAIL_GREET_MS', 'Dear Ms. ' . stripslashes($HTTP_POST_VARS['lastname']) . ',' . "\n\n");

define('EMAIL_GREET_NONE', 'Dear ' . stripslashes($HTTP_POST_VARS['firstname']) . ',' . "\n\n");

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

define('EMAIL_TEXT', 'You can now take part in the <b>various services</b> our online store has to offer you. Some of these services include:' . "\n\n" . '<li><b>Permanent Cart</b> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n" . '<li><b>Address Book</b> - We can now deliver your products to another address other than yours (Note: Restrictions apply, please read our customer service section.' . "\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 online services, please email us: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");

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

 

?>

 

Everything looks fine to me.. I don't understand why this error is showing up. Any help is greatly appreciated! :)

Posted

Well, as that particular file is not part of osCommerce I think you'd be better off asking over at the 'CRE loaded' forums.

 

Vger

  • 5 months later...

Archived

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

×
×
  • Create New...