This is a discussion on How do I edit english.php? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have been attempting to change the text on my site. When I open english.php to change, for instance, the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 and uploading, no luck. So I upload the original file (I kept a copy of my download, luckily) and it's all fixed. HELP! |
|
#2
| |||
| |||
| Replace line 53 with define('HEADER_TITLE_CART_CONTENTS', 'View Cart'); that is all |
|
#3
| ||||
| ||||
| Don't use the online editor. Use a plain text editor - even Notepad on Windows or text pad from textpad.com Check the online manual here for help. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hello i need help with my english.php file | reysent | osCommerce 2.2 Modification Help | 6 | 02-20-2005 09:28 AM |
| Only using english, how to get rid of other languages ? | twinklep | osCommerce 2.2 Modification Help | 2 | 09-17-2004 02:04 PM |
| Help, I screwed up english.php! | reid | osCMax v1.7 Discussion | 4 | 02-22-2004 10:43 AM |
| English only ? | Anonymous | osCMax v1.7 Discussion | 1 | 09-21-2003 08:01 AM |