Results 1 to 3 of 3

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

      
  1. #1
    New Member
    Join Date
    Dec 2004
    Posts
    29
    Rep Power
    0


    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!

  2. #2
    New Member
    Join Date
    Nov 2004
    Posts
    23
    Rep Power
    0


    Default RE: How do I edit english.php?

    Replace line 53 with

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

    that is all

  3. #3
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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.
    HTH
    Neil
    www.12website.com

    "You can have everything in life that you want if you will just help enough other people get what they want."
    Zig Ziglar

Similar Threads

  1. Hello i need help with my english.php file
    By reysent in forum osCommerce 2.2 Modification Help
    Replies: 6
    Last Post: 02-20-2005, 09:28 AM
  2. Only using english, how to get rid of other languages ?
    By twinklep in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 09-17-2004, 03:04 PM
  3. Help, I screwed up english.php!
    By reid in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 02-22-2004, 10:43 AM
  4. English only ?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-21-2003, 09:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •