weezy8802 Posted April 3, 2008 Share Posted April 3, 2008 i keep getting a t-string error but i cant find it. can anyone help me? <?php /* $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', ' <span style="font-size: 50px;"><font face="comic sans ms, arial, helvetica"><font color="#2B65EC"><b><center><marquee>Welcome to Liquids Bids</marquee></font></center></b></span><span style="font-size: 40px;"><center> <font color="#FFFF00;"><b>We are currently under construction.</b></font><br><center><b><span style="font-size: 25px;">Any products purchased will not be delivered nor will the customer be billed. Please excuse us during our construction.</font></b><br><br><table border="25" 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"><span style="font-size: 25px;"><b>Coming Soon</b><br></span><br>Opening Specials.<br><br><center><span style="font-size: 40px;">Create an account to buy today!</font></center><br><br><span style="font-size: 24px;"><center>Great deals on everyday items and much more</center>,</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b><span style="font-size: 28px;"><font face="comic sans ms, arial, helvetica"><font color="#FF0000"><center><blink>FREE SHIPPING!!!</blink></b><br><br>Free shipping on all of our products.<br><br> 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'); } ?> Quote Link to comment https://forums.phpfreaks.com/topic/99334-php-help/ Share on other sites More sharing options...
haku Posted April 3, 2008 Share Posted April 3, 2008 On what line? Quote Link to comment https://forums.phpfreaks.com/topic/99334-php-help/#findComment-508283 Share on other sites More sharing options...
weezy8802 Posted April 3, 2008 Author Share Posted April 3, 2008 line 14 it says. Quote Link to comment https://forums.phpfreaks.com/topic/99334-php-help/#findComment-508288 Share on other sites More sharing options...
haku Posted April 3, 2008 Share Posted April 3, 2008 You didn't put a final quote or a closing bracket on the first 'define'. You can see where the problem is just by the fact that 'define' is in different colors. Quote Link to comment https://forums.phpfreaks.com/topic/99334-php-help/#findComment-508334 Share on other sites More sharing options...
weezy8802 Posted April 3, 2008 Author Share Posted April 3, 2008 i feel like a tard, thanks alot for the help! Quote Link to comment https://forums.phpfreaks.com/topic/99334-php-help/#findComment-508337 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.