Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: my site wont come up now!! help

    Quote Originally Posted by madmumbler View Post
    First -- deep breath. *LOL*

    Second -- what's your link?

    Third -- can you log into admin? If so, try switching back to the classic template. If it works, you know the problem is with your custom files and you can try overwriting them with back-ups.

    HTH,
    Quote Originally Posted by nomadrw View Post
    Cynthia:
    All man never delete any files, they're all needed to run zen.
    I hope you have a back up file of meta_tags.php if so simple place the file in the directory listed below
    includes/languages/english/
    When you do that get done we will tell you how to solve your other problem
    good luck
    nomad
    ok i didnt really delete i trashed it bu tthen restored it, i have a copy in my custom directory also
    i have put it back it shows in in the english directory i can call it up and edit or show
    ..so......

  2. #2
    Join Date
    Oct 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: my site wont come up now!! help

    Quote Originally Posted by cynthia_haide View Post
    ok i didnt really delete i trashed it bu tthen restored it, i have a copy in my custom directory also
    i have put it back it shows in in the english directory i can call it up and edit or show
    ..so......

    also i can not change back to default temp either says same error

    oh no....

  3. #3
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: my site wont come up now!! help

    Start with a "fresh" download of ZC extracted on your computer.

    Try from THAT rewriting the following files to your server:

    /includes/languages/english.php
    /includes/languages/english/meta_tags.php

    I would suggest deleting them totally off your server before replacing them.

    And stay with the "classic" template while doing this. Try to get the classic template "debugged" first before backtracking to fix your custom template.

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

  4. #4
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: my site wont come up now!! help

    And are there any other files you might have overwritten in the process? Replace them from your "fresh" download and see if that helps.
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

  5. #5
    Join Date
    Oct 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: my site wont come up now!! help

    Quote Originally Posted by madmumbler View Post
    And are there any other files you might have overwritten in the process? Replace them from your "fresh" download and see if that helps.
    perfect!! i had copy on computer so i deleted the english.php and meta_tags.php from host then uploaded them from computer...thanks a bunch

    so do i understand that there is and should only be 1 english.php file? and it has to be in includes/language? if i want to overwrite soething in it i can rewrite and save to custom folder?

    and do all items come from language/english/meta_tags and not language?/custom/meta_tags?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: my site wont come up now!! help

    The master language file exists like this:
    /includes/languages/LANGUAGE_NAME.php
    or
    /includes/languages/TEMPLATE_NAME/LANGUAGE_NAME.php
    There is only ever *one* file in that folder ... ie: english.php
    All others are ignored.


    The page-specific language files exist like this:
    /includes/languages/LANGUAGE_NAME/page_name.php
    or
    /includes/languages/LANGUAGE_NAME/TEMPLATE_NAME/page_name.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: my site wont come up now!! help

    Quote Originally Posted by cynthia_haide View Post
    perfect!! i had copy on computer so i deleted the english.php and meta_tags.php from host then uploaded them from computer...thanks a bunch

    so do i understand that there is and should only be 1 english.php file? and it has to be in includes/language? if i want to overwrite soething in it i can rewrite and save to custom folder?

    and do all items come from language/english/meta_tags and not language?/custom/meta_tags?
    NP. Glad I could help!

    The template override system can get confusing. The "default" file is:

    includes/languages/english.php
    To modify it, create: includes/languages/CUSTOM/english.php (CUSTOM being what you've named your "new" template that you're creating.)

    BUT...

    There's also an: includes/languages/english/CUSTOM/ folder. That's where a lot of your other files will go that you modify, like for the shopping cart message (make sure you change that if you haven't already), etc.

    As DrByte, said if you use another language, it would be different but only because you're using a different language.

    The rule of thumb is, you need to look through all the folders in the includes directory. Wherever you see a "classic" folder, you can make a folder for your CUSTOM template (whatever name you give it). Make sure when naming folders, you name them all the same. Don't change spelling or case or add hyphens, etc. If you start out with a template folder name of mynewtemplate, all the folders you create must have that same folder name or the ZC can't find them.

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

 

 

Similar Threads

  1. New Site Wont Display Right Column - Help
    By THE-EDL in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 18 Dec 2009, 12:34 PM
  2. How come my site is not stable? HELP PLEASE!
    By Xandrouz in forum General Questions
    Replies: 10
    Last Post: 24 Jul 2009, 07:18 AM
  3. buy now button wont move
    By beavertje in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Jun 2009, 01:10 PM
  4. Users say my site doesn't come up - I now know why
    By milobloom in forum General Questions
    Replies: 2
    Last Post: 31 May 2008, 12:16 AM
  5. paypal buy now buttons wont upload
    By skunkworx in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 8 Nov 2006, 07:14 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