Jordi Nail Design Posted June 7, 2005 Posted June 7, 2005 Hi Everyone, I am totally inexperienced in all this web design malarkey! I have all my products entered into my store but I've messed uo the code whilst trying to change the home page! Have a look at my site www.jordinaildesign.co.uk and you'll see my problem!
Winterchild Posted June 7, 2005 Posted June 7, 2005 I see a ?php check the first <?php in your code. See if it has a < in front Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Jordi Nail Design Posted June 7, 2005 Author Posted June 7, 2005 OK I've got rid of that now its showing all my code on my homepage! :blink:
Winterchild Posted June 7, 2005 Posted June 7, 2005 I still see the same as I saw the first time: ?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome to Jordi Nail Designs brand new website. Please note that the online ordering facility is not yet activated but will be shortly. Please feel free to use the shopping cart facility to check the cost of your order. Please feel free to e-mail your order to [email protected], and please include your full name and current contact number. FOR YOUR OWN SECURITY PLEASE DO NOT SEND CREDIT CARD DETAILS VIA E-MAIL'); Still a missing < in front of ?php Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Winterchild Posted June 7, 2005 Posted June 7, 2005 Now there's one < too many Can you post line 1 - 20 between code tags? (of languages/english/index.php) Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Jordi Nail Design Posted June 7, 2005 Author Posted June 7, 2005 I'm sorry I'm a TOTAL novice at this, I don't understand what you mean. Perhaps I will be better calling somebody in to take a look at it.
Winterchild Posted June 7, 2005 Posted June 7, 2005 Maybe I didn't explain myself too well. I meant can you copy paste your code from catalog/includes/languages/index.php here in this thread between the code tags from the forum so it look like this: This is code So someone else can take a look to see what's wrong with it Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Jordi Nail Design Posted June 7, 2005 Author Posted June 7, 2005 OK, here goes... <?php /* $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'Welcome to Jordi Nail Designs brand new website. Please note that the online ordering facility is not yet activated but will be shortly. Please feel free to use the shopping cart facility to check the cost of your order. Please feel free to e-mail your order to [email protected], and please include your full name and current contact number. FOR YOUR OWN SECURITY PLEASE DO NOT SEND CREDIT CARD DETAILS VIA E-MAIL'); <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top">PROJECT_VERSION . '</font>.'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', 'Let\'s See What We Have Here'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 \''); define('TEXT_NOW', '\' now'); define('TEXT_ALL_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
Winterchild Posted June 7, 2005 Posted June 7, 2005 <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top">PROJECT_VERSION . '</font>.'); where's this supposed to go? It just stands there in the middle of nowhere. Looks like it fell out of one of the defines. Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Wendy James Posted June 7, 2005 Posted June 7, 2005 You need to either remove '); from VIA E-MAIL'); or remove <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top">PROJECT_VERSION . '</font>.'); which I dont think you want anyhow but i could be wrong. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Jordi Nail Design Posted June 7, 2005 Author Posted June 7, 2005 You need to either remove'); from VIA E-MAIL'); or remove <br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top">PROJECT_VERSION . '</font>.'); which I dont think you want anyhow but i could be wrong. <{POST_SNAPBACK}> Fab, that seems to have done the trick! Thanks so much!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.