ConstructMedia Posted January 24, 2009 Share Posted January 24, 2009 I have been modifying the current OScommerce store I have set up, I have been using TAS as I am not familier with that much PHP, However when trying to change the table width settings from 2 and 2 I seem to have created a problem in the following directory and I cannot reslove it can anyone help me out? This is the error meassage I am getting. Parse error: syntax error, unexpected $end in /home/shopfini/public_html/index.php on line 350 URL of store www.shopfinishlinemotosports.com Give me graphics I'll be the best, give me coding and I'll run with the rest!!! I can be reached at constructmedia@gmail or through the forum, Thanks to anyone who may be able to help me out here. Regards Ryan Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2009 Share Posted January 24, 2009 I have been modifying the current OScommerce store I have set up, I have been using TAS as I am not familier with that much PHP, However when trying to change the table width settings from 2 and 2 I seem to have created a problem in the following directory and I cannot reslove it can anyone help me out? This is the error meassage I am getting. Parse error: syntax error, unexpected $end in /home/shopfini/public_html/index.php on line 350 URL of store www.shopfinishlinemotosports.com Give me graphics I'll be the best, give me coding and I'll run with the rest!!! I can be reached at constructmedia@gmail or through the forum, Thanks to anyone who may be able to help me out here. Regards Ryan Posting the code from the index.php file around the line identified in the error message might get you some help. Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 24, 2009 Share Posted January 24, 2009 Ditto Missing end bracket ], closing parenthesis ), or curly brace } can be cause that error, so check the changes you made were done correctly. G. Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2009 Share Posted January 25, 2009 hey folks, I have similar problem. I have edited index.php and was VERY careful not to delete any brackets etc but now get the following message: Parse error: syntax error, unexpected T_STRING in /home/kbmfant1/public_html/catalog/includes/languages/english/index.php on line 15 I have looked again and again but cannot see what I've done - grateful if anyone can have a look and help me out. Much appreciated, Michelle. Code as follows:- <?php /* $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2007 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', '<b><i><p>Hello and welcome to our online store.</b><P> We are a UK based wholesale and dropshipping retail website specialising in fancy dress, lingerie, fetish clothing and footwear, adult toys and lots more... <p>What makes us different from all the other lingerie wholesale and dropship sites out there? <p> Most wholesale and dropship companies will charge a registration fee, have minimum order values and charge low order surcharges or dropshipping fees for each order. They are also reluctant to trade with eBayers or personal customers since they are only interested in making profit from bulk orders. <p>We wholeheartedly welcome personal customers and eBayers and are more than happy to give a helping hand by providing quality products at reasonable prices which will allow you to expand your product range and grow your customer base. We understand that not everyone has the ability to hold masses of stock or the finances to be able to buy in bulk in the hope that the products sell.With us there is absolutely NO RISK as you don't pay a penny until you have received payment from your customer and our dropshipping service is absolutely FREE. With no minimum order values and no overheads you can't lose!!<p> We have no registration fees,no low order or dropshiiping fees, plus UK shipping is completely FREE. All items are sent recorded delivery so you can be safe in the knowledge that your customer's order will arrive safely. All orders are sent in discreet packaging and your customer will never know we exist as we will include your details, not ours, on the invoice.<p> Simply register for an account to start using our wholesale and dropship website and have full access to all our services.<p> Please have a good look around our store - we cater for all tastes and sizes!!<p>Please see Dropshipping section for more details.<p><p><p> We hope you enjoy your shopping experience with us.<b> Don\'t forget to bookmark us and tell your friends about us!!</b></i>'); 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', 'Welcome to KBM Fantasy Fashion...'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2009 Share Posted January 25, 2009 NO RISK as you don't <----- unescaped Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2009 Share Posted January 25, 2009 Hi, Looks as though I couldn't see the woods for the trees!!! doh!!! Have sorted my problem - missing \ in front of ' (3 of them - don't know why I didn't see them!!!) still maybe others can learn from my mistake. Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2009 Share Posted January 25, 2009 Hi, Looks as though I couldn't see the woods for the trees!!! doh!!! Have sorted my problem - missing \ in front of ' (3 of them - don't know why I didn't see them!!!) still maybe others can learn from my mistake. Well, I only got one. :blush: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.