Results 1 to 2 of 2

Error after modifying english.php file

This is a discussion on Error after modifying english.php file within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have set up a new shopping cart in public_html/catalog so that I can modify it to eventually upgrade from ...

      
  1. #1
    New Member
    Join Date
    Apr 2003
    Posts
    5
    Rep Power
    0


    Default Error after modifying english.php file

    I have set up a new shopping cart in public_html/catalog so that I can modify it to eventually upgrade from our current shopping cart which is the version prior to 2.2.

    I opened the public_html/catalog/includes/languages/english.php file and made one simple change to the text, I added 2.2 on to the end of powered by oscommerce link and saved it. I didn't change anything else and got the error below. I changed it back to how the file was originally and still get this error. I don't know what to do to correct this because other than what I just said, I haven't done a thing with the shopping cart.

    Fatal error: Call to undefined function: efine() in /home/wwwnlall/public_html/catalog/includes/languages/english.php on line 303

    Your help would be much appreciated.

    Thanks,
    Walter

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Error after modifying english.php file

    And what did you have on line 303 of english.php?

    Make sure you escape all '

    ie:
    Mike's

    should be:
    Mike\'s

Similar Threads

  1. Error while modifying "Welcome Guest!" greeting
    By firebird_411 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-25-2006, 10:06 PM
  2. 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
  3. error on english.php page
    By bylinda in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 01-25-2005, 06:38 AM
  4. File Manager error
    By FlipC in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-02-2004, 11:22 AM
  5. english.php crashes when saved by the built in file editor
    By Trinity in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-22-2004, 02:06 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
  •