Guest Posted June 22, 2004 Posted June 22, 2004 While I got most everything working, I am having a Parse error: parse error in /home/content/c/d/r/cdrepair/html/catalog/includes/languages/english/create_account.php on line 23 Here is the create_account text. Where have I messed it up? <?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 Esprit Development Corporation's <b>' . STORE_NAME . '</b> Website.' . "\n\n"); define('EMAIL_TEXT', 'Now that you have registered, you can purchase Wipe Out! CD DVD Game Disc Repair Kits and related products on our <b>http://www.cdrepair.com</b> website at any time, and with a minimum of effort. Our product lines are growing, and we encourage you to visit our :' . "\n\n" . '<li><b>Shopping Cart</b> often.<br><br> - Any products you have added to your online cart will remain there, linked to your personal account until you remove them, or check them out. This is all password protected of course, and the information is actually stored in the cookies folder of your computer.' . "\n" . '<li><b>Address Book</b> - We can now deliver your products to any address, including those other than yours! This is perfect to send gifts direct to a family member, friend, or the birthday-person themselves.' . "\n" . '<li><b>Order History</b> - With this feature, you are able to view your history of purchases with us.' . "\n" . '<li><b>Products Reviews</b> - You may also share your opinions on Wipe Out! CD DVD Game Repair Kits, and our other products, which will be shared directly with our other customers.' . "\n\n"); define('EMAIL_CONTACT', 'Should you have any questions, or need help with using any of our online services, please email us directly at: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n"); define('EMAIL_WARNING', '<b>Note:</b> The email address we are writing you at was given to us by one of our customers, and this letter is sent to let you know we are here to respond to your needs at any time. Thank you for signing up for an account at cdrepair.com. We will never sell or use your information other than to keep you aware of new products or other developments at our site. If you did not signup to be a member, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); ?>
Guest Posted June 22, 2004 Posted June 22, 2004 define('EMAIL_WELCOME', 'We welcome you to Esprit Development Corporation's <b>' . STORE_NAME . '</b> Website.' . "\n\n"); should be define('EMAIL_WELCOME', 'We welcome you to Esprit Development Corporation\'s <b>' . STORE_NAME . '</b> Website.' . "\n\n"); The_Bear
bobthelucky Posted June 22, 2004 Posted June 22, 2004 you need to escape any single or double quotes (wrong way <font color="red">) (right way <font color=\"red\">)
Guest Posted June 23, 2004 Posted June 23, 2004 My website is cdrepair.com and I changed both of your suggestions and the error stopped. Thank you. Now I am getting the following on my Banner Manager in the Admin Settings online. Warning: imagepng(): Unable to open 'images/graphs/banner_infobox-1.png' for writing in /home/content/c/d/r/cdrepair/html/catalog/admin/includes/classes/phplot.php on line 482 Next, Should I be using cache, and why can I find no clear instructions on how to make this work with folder, permissions, etc? Also, Why in Server Info does my info show () as a server host, and nothing at all in Server OS or in Server Up Time boxes? My system seems to not be sending emails at all, just local confirms during test which come from Authorize.net? Can you help a bit more?
Guest Posted June 23, 2004 Posted June 23, 2004 you need to set the permissions on the graphs directory to 777 the permissions are in the knowledge base and installation procedures for using cache you need to look at the document root path you have and set the path properly in the admin area.
Guest Posted June 23, 2004 Posted June 23, 2004 Mibble, Thanks for your message. Permissions are at 777 for the graphics file, but I may be missing a file in the graphics file due to throwing it out? Is this possible? Even if I fix that, I cannot figure the path for the cache issue. Unfortunately, I do not have the level of knowledge I would like in this regard. HTML coder only, this is confusing and platform dependant and I feel unsure how to proceed, although I am sure I only need to change a couple of things to make it work right. My site is at cdrepair.com and I would love to get past this initial confusion. I have been trying, but having limited luck only. Would you wish to take a look and see? I would be glad to show some appreciation. Please let me know. Marc
Recommended Posts
Archived
This topic is now archived and is closed to further replies.