ScaleCreep Posted December 30, 2004 Posted December 30, 2004 I have been attempting to change the text on my site. When I open english.php to change, for instance, the text in the header from "Cart Contents" to "View Cart" I get the following error on the shop home page: Parse error: parse error, unexpected T_STRING in /home/scalecre/public_html/catalog/includes/languages/english.php on line 79 No matter what text I edit, even just a single letter, this error results, with the line number changing to the line of the text I changed. Even if I then change it back, I get the same result. I am using the online editor primarily. I tried downloading the file, editing in Notepad and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. But of course, my shop now displays only the osCommerce beta text.... HELP!
cmbyrne Posted December 30, 2004 Posted December 30, 2004 I have been attempting to change the text on my site. When I open english.php to change, for instance, the text in the header from "Cart Contents" to "View Cart" I get the following error on the shop home page: Parse error: parse error, unexpected T_STRING in /home/scalecre/public_html/catalog/includes/languages/english.php on line 79 No matter what text I edit, even just a single letter, this error results, with the line number changing to the line of the text I changed. Even if I then change it back, I get the same result. I am using the online editor primarily. I tried downloading the file, editing in Notepad and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. But of course, my shop now displays only the osCommerce beta text.... HELP! <{POST_SNAPBACK}> what are you using to edit your files? the file manager? You have to use a different text editor to edit files, the file manager has some sort of bug that messes up pages... Christina
Jack_mcs Posted December 30, 2004 Posted December 30, 2004 I have been attempting to change the text on my site. When I open english.php to change, for instance, the text in the header from "Cart Contents" to "View Cart" I get the following error on the shop home page: Parse error: parse error, unexpected T_STRING in /home/scalecre/public_html/catalog/includes/languages/english.php on line 79 No matter what text I edit, even just a single letter, this error results, with the line number changing to the line of the text I changed. Even if I then change it back, I get the same result. I am using the online editor primarily. I tried downloading the file, editing in Notepad and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. But of course, my shop now displays only the osCommerce beta text.... HELP! <{POST_SNAPBACK}> You need to post the code you edited. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.