osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How do I edit english.php?

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-29-2004, 09:09 PM
New Member
 
Join Date: Dec 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ScaleCreep
Default How do I edit english.php?

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 12-29-2004, 09:57 PM
New Member
 
Join Date: Nov 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
seandon01
Default RE: How do I edit english.php?

Replace line 53 with

define('HEADER_TITLE_CART_CONTENTS', 'View Cart');

that is all
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-30-2004, 04:56 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default RE: How do I edit english.php?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 08:54 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax