NydNyd Posted February 11, 2005 Share Posted February 11, 2005 I have tried over and over and over.... and over again to change the site title. But when removing the osCommer from // page title define('TITLE', 'osCommerce'); all I receive is the following error and wind up having to restore the original file in order to gain access to the site Parse error: parse error, unexpected T_STRING in /home/xixixi/public_html/catalog/includes/languages/english.php on line 79 Can anyone please help?!?!?! I'm desperate here... :'( Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2005 Share Posted February 11, 2005 I have tried over and over and over.... and over again to change the site title. But when removing the osCommer from // page title define('TITLE', 'osCommerce'); all I receive is the following error and wind up having to restore the original file in order to gain access to the site Parse error: parse error, unexpected T_STRING in /home/xixixi/public_html/catalog/includes/languages/english.php on line 79 Can anyone please help?!?!?! I'm desperate here... :'( <{POST_SNAPBACK}> Are you removing the define or changing it? Post some code. Link to comment Share on other sites More sharing options...
cam_oai Posted February 11, 2005 Share Posted February 11, 2005 upload the file again. error during ftp :) My first remake contribution Link to comment Share on other sites More sharing options...
NydNyd Posted February 11, 2005 Author Share Posted February 11, 2005 Thanks for the response. The ONLY thing I changed was the word "osCommerce" to the site's title, I didnt make any changes to anything else :'( Link to comment Share on other sites More sharing options...
NydNyd Posted February 11, 2005 Author Share Posted February 11, 2005 upload the file again. error during ftp :) <{POST_SNAPBACK}> Sorry you lost me... :-" Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2005 Share Posted February 11, 2005 Sorry you lost me... :-" <{POST_SNAPBACK}> What's the URL? How did you modify the file, on your local computer or on the server? Post the code as modified (just the modified line). Link to comment Share on other sites More sharing options...
NydNyd Posted February 11, 2005 Author Share Posted February 11, 2005 What's the URL?? How did you modify the file, on your local computer or on the server?? Post the code as modified (just the modified line). <{POST_SNAPBACK}> After modifying the line from (catalog/includes/languages/english.php) // page title define('TITLE', 'osCommerce'); To... //page title define("TITLE', 'NydsGifts.com'); I click save (without errors). But when accessing the URL http://www.nydsgifts.com/catalog/index.php I receive Parse error: parse error, unexpected T_STRING in /home/nydnyd/public_html/catalog/includes/languages/english.php on line 79 You won't see the error now because I've already replaced the english.php Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2005 Share Posted February 11, 2005 After modifying the line from (catalog/includes/languages/english.php) // page title define('TITLE', 'osCommerce'); To... //page title define("TITLE', 'NydsGifts.com'); I click save (without errors). But when accessing the URL http://www.nydsgifts.com/catalog/index.php I receive Parse error: parse error, unexpected T_STRING in /home/nydnyd/public_html/catalog/includes/languages/english.php on line 79 You won't see the error now because I've already replaced the english.php <{POST_SNAPBACK}> What are you using to modify the file? Link to comment Share on other sites More sharing options...
♥Vger Posted February 11, 2005 Share Posted February 11, 2005 Do not use the osCommerce File Manager to edit files - it causes parse errors. Download the file, take a backup, edit it in a plain text editor like Notepad, and then upload again. If there's a problem then restore it from the backup you made. Vger Link to comment Share on other sites More sharing options...
NydNyd Posted February 11, 2005 Author Share Posted February 11, 2005 Do not use the osCommerce File Manager to edit files - it causes parse errors. Download the file, take a backup, edit it in a plain text editor like Notepad, and then upload again. If there's a problem then restore it from the backup you made. Vger <{POST_SNAPBACK}> I was editing in osCommerse. Thank you both for your help. I will give it a try Link to comment Share on other sites More sharing options...
NydNyd Posted February 11, 2005 Author Share Posted February 11, 2005 It WORKED!! Thanks sooooo much! :thumbsup: Link to comment Share on other sites More sharing options...
schnazzer Posted March 2, 2005 Share Posted March 2, 2005 It WORKED!! Thanks sooooo much! :thumbsup: <{POST_SNAPBACK}> just wanted to show what was happening in case anyone else runs into this problem. I got the same error by the way and found the problem. This is line 79 in the default english.php file. define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); when you use the admin editor in oscommerse, the editor reads this line incorrectly shown below: define('BOX_HEADING_WHATS_NEW', 'What's New?'); Notice the forward slash is missing, causing the ' in the word What's to be viewed as an end text marker. I found this problem when using dreamweaver to edit my files. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.