scarface1856 Posted February 5, 2005 Share Posted February 5, 2005 Parse error: parse error in /home/www/bla-bla/includes/languages/english.php on line 79 And all the links are weird like "BOX_HEADING_CATEGORIES" BOX_SHOPPING_CART_EMPTY if someone knows a quick fix that'd be awesome, or a copy and paste of the original file....(which I should have done) includes/languages/english.php I was just trying to change "Catalog" to say Menu and blew it somehow. Thanks. Link to comment Share on other sites More sharing options...
OceanRanch Posted February 5, 2005 Share Posted February 5, 2005 You probably dropped a ' during the edit. If you can't fix it post a few line before and after the line number referenced for someone to look at. Tom Link to comment Share on other sites More sharing options...
scarface1856 Posted February 5, 2005 Author Share Posted February 5, 2005 You probably dropped a ' during the edit. If you can't fix it post a few line before and after the line number referenced for someone to look at. Tom <{POST_SNAPBACK}> Thanks again...Here's what I have below....let me know if you see anything. That's all I changed unless I slipped and accidently hit something else. Sorry for having so many questions. // header text in includes/header.php define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account'); define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents'); define('HEADER_TITLE_CHECKOUT', 'Checkout'); define('HEADER_TITLE_TOP', 'Top'); define('HEADER_TITLE_CATALOG', 'Catalog'); define('HEADER_TITLE_LOGOFF', 'Log Off'); define('HEADER_TITLE_LOGIN', 'Log In'); // footer text in includes/footer.php define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since'); // text for gender define('MALE', 'Male'); define('FEMALE', 'Female'); define('MALE_ADDRESS', 'Mr.'); define('FEMALE_ADDRESS', 'Ms.'); Link to comment Share on other sites More sharing options...
OceanRanch Posted February 5, 2005 Share Posted February 5, 2005 Line 79 is the famous define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); If you had used the osCommerce File Manager Editor then that is the problem. DO NOT USE IT EVER! It has a bug in it that will remove the \ escape character resulting in define('BOX_HEADING_WHATS_NEW', 'What's New?'); which of course will cause the parse error. You will need to use a different editor. Normally edit it locally on your PC and then ftp it to your site. HTH Tom Link to comment Share on other sites More sharing options...
scarface1856 Posted February 5, 2005 Author Share Posted February 5, 2005 Line 79 is the famous define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); If you had used the osCommerce File Manager Editor then that is the problem. DO NOT USE IT EVER! It has a bug in it that will remove the \ escape character resulting in define('BOX_HEADING_WHATS_NEW', 'What's New?'); which of course will cause the parse error. You will need to use a different editor. Normally edit it locally on your PC and then ftp it to your site. HTH Tom <{POST_SNAPBACK}> Wow I for sure used it...and have been regularly. Guess I learned, thanks...so forgive, but what do I need to change to fix this, or will downloading it and re ftp'ing it fix it? Thanks again. Link to comment Share on other sites More sharing options...
OceanRanch Posted February 5, 2005 Share Posted February 5, 2005 You could just download it and fix it then re-ftp back....however.. Worse case is you may want to start with a fresh copy of the file. There may be other entries that got munged up in the english.php file. BTW you are only one of about 1000 that have been bitten by this, so don't feel bad. Tom Link to comment Share on other sites More sharing options...
scarface1856 Posted February 6, 2005 Author Share Posted February 6, 2005 Thank you so much for your help...l will for sure start fresh, and use the advice you gave me before to fix the original modification. Last nugget for this horse that I have beaten to death...where can I find the orignal individual files? Thanks so much...I am really learning alot! Link to comment Share on other sites More sharing options...
OceanRanch Posted February 6, 2005 Share Posted February 6, 2005 Download the the zip and keep it on your PC for future reference etc. http://www.oscommerce.com/solutions/downloads Have a good weekend. Tom Link to comment Share on other sites More sharing options...
scarface1856 Posted February 6, 2005 Author Share Posted February 6, 2005 Download the the zip and keep it on your PC for future reference etc. http://www.oscommerce.com/solutions/downloads Have a good weekend. Tom <{POST_SNAPBACK}> thanks, you too Tom!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.