Forums / General Questions / Help !! I cant see my store anymore??

Help !! I cant see my store anymore??

Locked

Started by labellas on 12 Nov 2009, 9:10 PM · Views: 952

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
12 Nov 2009, 9:10 PM
#1
labellas avatar

labellas

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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

https://www.mylingerieloft.com

12 Nov 2009, 9:28 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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

If you followed this tutorial
https://www.zen-cart.com/tutorials/index.php?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

13 Nov 2009, 4:11 AM
#3
labellas avatar

labellas

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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 © ' . 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', '  [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.');

13 Nov 2009, 4:24 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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

Before you go any further, read this tutorial https://www.zen-cart.com/tutorials/index.php?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

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

13 Nov 2009, 5:22 AM
#5
labellas avatar

labellas

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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? :unsure:

Thanks,
Donna

13 Nov 2009, 10:49 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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

13 Nov 2009, 1:49 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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

Labellas:

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? :unsure:

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

13 Nov 2009, 2:57 PM
#8
labellas avatar

labellas

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

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 :clap:

Thank you again for all your help !!