Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Help !! I cant see my store anymore??

    Hello,

    Ok, all I did was follow a tutorial on changing the sidebox names. I went to includes language english.php, I opened it with notepad and edited Featured Products to Hot Items hit save and thought I was done.

    I viewed my store and where the Featured Products Box is it read (from what I remember) Featured_Box_Category _MORE ( that is how it dislplayed the name on the sidebox. Baffled, I went back into the english.php file and honestly didn't know what to do from there. The tutorial said to save the edited file to COMMON/english.php file but when I hit save it just saved it, it didn't ask me where to save it. Also I couldn't make a file called COMMON nor did I find one.

    I went back to view my site again and it was gone !!

    I could really use some help here ...

    www.mylingerieloft.com

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Help !! I cant see my store anymore??

    If you followed this tutorial
    https://www.zen-cart.com/tutorials/i...hp?article=134, this is what it says

    CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to the name of the template/language you are using.
    You should be using the override system and the changed english.php file should have been saved to includes/languages/CUSTOM/english.php (where CUSTOM is the name of your custom template). The "custom" folder is one you create for your template.

    Post the contents of your english.php file here so we can see what it says. The error you're reporting indicates incorrectly edited php.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help !! I cant see my store anymore??

    Hi,

    Thank You for responding with help. I'm new at this and I just followed what that tutorial said ( language barrier I guess). I don't know what/where the override file is that you're talking about. Here is the info from that english.php file. I copied up to the last line which is the one I tried to change.

    // FOLLOWING WERE moved to meta_tags.php
    //define('TITLE', 'Zen Cart!');
    //define('SITE_TAGLINE', 'The Art of E-commerce');
    //define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');
    // END: moved to meta_tags.php

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a> ');

    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat try 'en_US'
    // on FreeBSD try 'en_US.ISO_8859-1'
    // on Windows try 'en', or 'English'
    @setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    ////
    // Return date in raw format
    // $date should be in format mm/dd/yyyy
    // raw date is in format YYYYMMDD, or DDMMYYYY
    if (!function_exists('zen_date_raw')) {
    function zen_date_raw($date, $reverse = false) {
    if ($reverse) {
    return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
    } else {
    return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
    }
    }
    }

    // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
    define('LANGUAGE_CURRENCY', 'USD');

    // Global entries for the <html> tag
    define('HTML_PARAMS','dir="ltr" lang="en"');

    // charset for web pages and emails
    define('CHARSET', 'iso-8859-1');

    // footer text in includes/footer.php
    define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

    // Define the name of your Gift Certificate as Gift Voucher, Gift Certificate, Zen Cart Dollars, etc. here for use through out the shop
    define('TEXT_GV_NAME','Gift Certificate');
    define('TEXT_GV_NAMES','Gift Certificates');

    // used for redeem code, redemption code, or redemption id
    define('TEXT_GV_REDEEM','Redemption Code');

    // used for redeem code sidebox
    define('BOX_HEADING_GV_REDEEM', TEXT_GV_NAME);
    define('BOX_GV_REDEEM_INFO', 'Redemption code: ');

    // text for gender
    define('MALE', 'Mr.');
    define('FEMALE', 'Ms.');
    define('MALE_ADDRESS', 'Mr.');
    define('FEMALE_ADDRESS', 'Ms.');

    // text for date of birth example
    define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

    //text for sidebox heading links
    define('BOX_HEADING_LINKS', '&nbsp;&nbsp;[more]');

    // categories box text in sideboxes/categories.php
    define('BOX_HEADING_CATEGORIES', 'Categories');

    // manufacturers box text in sideboxes/manufacturers.php
    define('BOX_HEADING_MANUFACTURERS', 'Manufacturers');

    // whats_new box text in sideboxes/whats_new.php
    define('BOX_HEADING_WHATS_NEW', 'New Products');
    define('CATEGORIES_BOX_HEADING_WHATS_NEW', 'New Products ...');

    define('BOX_HEADING_FEATURED_PRODUCTS', 'Featured Products');
    define(HOT_ITEMS', 'Featured Products ...');
    define('TEXT_NO_FEATURED_PRODUCTS', 'More Hot Items will be added soon. Please check back later.');

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Help !! I cant see my store anymore??

    Before you go any further, read this tutorial https://www.zen-cart.com/tutorials/i...hp?article=143 and search the Tutorials/FAQ for more information about the template/override system. If you don't follow the system, it will make it very difficult to update/upgrade your Zen Cart and you could lose all the work you put into customizing it.

    As for your current problem, change

    Code:
    define(HOT_ITEMS', 'Featured Products ...');
    to

    define('CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS', 'Hot Items');
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help !! I cant see my store anymore??

    Thank You so much for your help.

    I corrected what you told me. However, I still can't see the site.

    Not sure where to go from here. Any suggestions?

    Thanks,
    Donna

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Help !! I cant see my store anymore??

    You would save the edited english.php file in the includes/languages/english/TemplateEditor folder. If it doesn't exist, create it.

    (Strange name for a template, though.)

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Help !! I cant see my store anymore??

    Quote Originally Posted by Labellas View Post
    Thank You so much for your help.

    I corrected what you told me. However, I still can't see the site.

    Not sure where to go from here. Any suggestions?

    Thanks,
    Donna
    I can see it. Try it again. You still have some errors, but it is working.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #8
    Join Date
    Nov 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Help !! I cant see my store anymore??

    I see it now too ! I''m not sure if I corrected the problem or if the Support Center did .. lol. Either way it works

    Thank you again for all your help !!

 

 

Similar Threads

  1. Replies: 17
    Last Post: 15 Mar 2016, 07:40 PM
  2. Replies: 11
    Last Post: 28 Mar 2011, 10:46 AM
  3. Cant access Admin anymore????
    By christinefred in forum General Questions
    Replies: 2
    Last Post: 22 Aug 2009, 03:24 AM
  4. NEED HELP!! cant see web site
    By shoff3519 in forum General Questions
    Replies: 6
    Last Post: 16 Jan 2007, 10:06 PM
  5. i cant add products to basket anymore
    By poosk in forum General Questions
    Replies: 1
    Last Post: 13 Jun 2006, 11:19 AM

Posting Permissions

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