lolaagain Posted October 5, 2008 Posted October 5, 2008 Hi everyone! When I go to create an account I get this error..... Fatal error: Cannot redeclare class shoppingCart in /home2/gracielo/public_html/includes/languages/english/create_account.php on line 13 I know that I haven't touched the create_account.php...what do I do now!!!???? Thanks!!
Guest Posted October 5, 2008 Posted October 5, 2008 Hi everyone! When I go to create an account I get this error..... Fatal error: Cannot redeclare class shoppingCart in /home2/gracielo/public_html/includes/languages/english/create_account.php on line 13 I know that I haven't touched the create_account.php...what do I do now!!!???? Thanks!! perhaps you copied the wrong create_account.php file to that location.
lolaagain Posted October 5, 2008 Author Posted October 5, 2008 How would I find out??? I'm not too good at this.....yet!!! (hopeful??)
Guest Posted October 5, 2008 Posted October 5, 2008 How would I find out???I'm not too good at this.....yet!!! (hopeful??) The one in the language directory should only have some defines like define('NAVBAR_TITLE', 'Create an Account'); define('HEADING_TITLE', 'My Account Information'); and other defines.
lolaagain Posted October 5, 2008 Author Posted October 5, 2008 Oh MAN!!!! Mine has WAY more than that!! It has my Shopping_cart.php in it!!! How do I get the olther file back????? I'm not sure how long ago I did this.....I guess I could restore a backup if I have to...ugh
Guest Posted October 5, 2008 Posted October 5, 2008 Oh MAN!!!!Mine has WAY more than that!! It has my Shopping_cart.php in it!!! How do I get the olther file back????? I'm not sure how long ago I did this.....I guess I could restore a backup if I have to...ugh Just download osc from the blue solutions tab at the top of the page if you do not have a file back up. The stock file just has <?php /* $Id: create_account.php 1739 2007-12-20 00:52:16Z hpdl $ 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', 'You can now take part in the <b>various services</b> we have 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! This is perfect to send birthday gifts direct to the birthday-person 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 online services, please email the store-owner: ' . 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 to be a member, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); ?>
lolaagain Posted October 5, 2008 Author Posted October 5, 2008 Thanks!!! You are a life saver!!! Some day I hope this will all make sence to me!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.