Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Admin Page Gone!

    I'm using the lastest version of zen cart. I have just gone to my admin page to log in and continue adding products and all I get is a blank page, no message errors etc...just a blank page.

    Any idea what has happened, I haven't touched the admin.php file, the only thing I changed was the met_tags.php to remove the Zen Cart! words

    I'm at a complete loss as to what to do, all and any help will be greatly appreciated.

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Admin Page Gone!

    Read this tutorial please..
    https://www.zen-cart.com/tutorials/index.php?article=82

    1. looks like you have messed up the meta_tag.php
    2. replace with an orginial and should fix
    3. Then reedit it correctly and load on your server..

  3. #3
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Admin Page Gone!

    Thank you for that, it's done the trick, apparently I had messed up the meta_tag file. It's all working now.

    How do I get rid of the "Zen cart! The Art of e-commerce" from appearing on my title bar? Because that is what I was trying to do when I messed it up!

  4. #4
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default Re: Admin Page also Gone!

    This has just happened to me and my latest debug file gives this message

    [26-Apr-2011 12:47:19] PHP Fatal error: Cannot redeclare class base in /home2/irishisb/public_html/irishartonline/includes/classes/class.base.php on line 17

    The website is http://www.irish-art-online.com using latest XenCart version

  5. #5
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Admin Page Gone!

    Quote Originally Posted by weeziesmith View Post
    Thank you for that, it's done the trick, apparently I had messed up the meta_tag file. It's all working now.

    How do I get rid of the "Zen cart! The Art of e-commerce" from appearing on my title bar? Because that is what I was trying to do when I messed it up!
    @seeziesmith,
    Here is a copy of the meta_tags.php
    includes/ languages/ english/ meta_tags.php
    PHP Code:
    <?php
    /**
     * @package languageDefines
     * @copyright Copyright 2003-2008 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: meta_tags.php 10330 2008-10-10 20:14:32Z drbyte $
     */

    // page title
    define('TITLE''Zen Cart!');

    // Site Tagline
    define('SITE_TAGLINE''The Art of E-commerce');

    // Custom Keywords
    define('CUSTOM_KEYWORDS''ecommerce, open source, shop, online shopping');

    // Home Page Only:
      
    define('HOME_PAGE_META_DESCRIPTION''');
      
    define('HOME_PAGE_META_KEYWORDS''');

      
    // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
      
    define('HOME_PAGE_TITLE'''); // usually best left blank


    // EZ-Pages meta-tags.  Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
    // If you wish to use defaults for any of the 3 items for a given page, simply do not define it.
    // (ie: the Title tag is best not set, so that site-wide defaults can be used.)
    // repeat pattern as necessary
      
    define('META_TAG_DESCRIPTION_EZPAGE_#','');
      
    define('META_TAG_KEYWORDS_EZPAGE_#','');
      
    define('META_TAG_TITLE_EZPAGE_#''');

    // Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.
    // replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.
    // repeat pattern as necessary
      
    define('META_TAG_DESCRIPTION_page_name','');
      
    define('META_TAG_KEYWORDS_page_name','');
      
    define('META_TAG_TITLE_page_name''');

    // Review Page can have a lead in:
      
    define('META_TAGS_REVIEW''Reviews: ');

    // separators for meta tag definitions
    // Define Primary Section Output
      
    define('PRIMARY_SECTION'' : ');

    // Define Secondary Section Output
      
    define('SECONDARY_SECTION'' - ');

    // Define Tertiary Section Output
      
    define('TERTIARY_SECTION'', ');

    // Define divider ... usually just a space or a comma plus a space
      
    define('METATAGS_DIVIDER'' ');

    // Define which pages to tell robots/spiders not to index
    // This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched.
      
    define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');


    // favicon setting
    // There is usually NO need to enable this unless you need to specify a path and/or a different filename
    //  define('FAVICON','favicon.ico');

    ?>
    If using the override file system place this file here with your changes..
    includes/ languages/ english/ your_template_name/ meta_tags.php
    There are the two lines you need to change:
    define('TITLE', 'Zen Cart!');

    // Site Tagline
    define('SITE_TAGLINE', 'The Art of E-commerce');

    1. notice the highlighted font above in red
    2. change red only and leave the single quotes around the wording 'blaaa blaaa blaaa'

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Admin Page also Gone!

    Quote Originally Posted by irishshopper View Post
    This has just happened to me and my latest debug file gives this message

    [26-Apr-2011 12:47:19] PHP Fatal error: Cannot redeclare class base in /home2/irishisb/public_html/irishartonline/includes/classes/class.base.php on line 17

    The website is http://www.irish-art-online.com using latest XenCart version
    @irishshopper,
    Take time to read this thread please..

  7. #7
    Join Date
    Mar 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Admin Page Gone!

    This title is the only thing I can find close to my problem HELP! I did some revisions on products and now am missing my home page. It comes up with "TOP" now.. so just bypasses my nice home page and goes right into a category. background... I copied a category into a category with products and think that messed up things. I've searched here but don't really know what to search on other than Top and Home Page.

  8. #8
    Join Date
    Aug 2010
    Posts
    46
    Plugin Contributions
    0

    Default Re: Admin Page Gone!

    Version 1.3.9
    Problem: White screen on login/no login info

    I took my shop offline to do a back up & restore on the database to set different permissions. I modified the configure.php file for the new PW and DB info and when I tried to log in to admin, I get a white screen.

    I recopied the old version of the configure file back to the server but no change (the old db is still there). White screen, no log in screen. (I even copied the file back again on the off chance it didn't transfer properly per the tutorial info.)

    Then I found these posts and looked in the error log, replaced the metatags.php and no I get this:

    [29-Aug-2011 15:58:07] PHP Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in xxxxxxxxxxxxx/store/admin/includes/languages/english.php on line 54
    [29-Aug-2011 15:58:07] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/local/php5/lib/php') in xxxxxxxxxxxxxxx/store/admin/includes/languages/english.php on line 54

    How do these things get changed? How do I fix it?

    Thanks for your help
    Lindee

  9. #9
    Join Date
    Jan 2004
    Posts
    66,447
    Plugin Contributions
    81

    Default Re: Admin Page Gone!

    Your configure.php file is damaged, which is preventing DIR_FS_CATALOG_LANGUAGES from getting set properly, and thus you're getting incorrect calls to require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.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.

  10. #10
    Join Date
    Aug 2010
    Posts
    46
    Plugin Contributions
    0

    Default Re: Admin Page Gone!

    I replaced the configure.php files with backups that were previously working. Is there something specific I can look for?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Admin Page Gone Blank
    By Bidgee182 in forum Basic Configuration
    Replies: 4
    Last Post: 30 Jul 2010, 08:07 AM
  2. My admin page is gone
    By tawnytanner in forum General Questions
    Replies: 9
    Last Post: 23 Sep 2009, 03:29 PM
  3. gone live, moved files but admin login has gone??
    By eggrush in forum General Questions
    Replies: 0
    Last Post: 6 Mar 2008, 04:02 PM
  4. Admin page is gone
    By shqipo in forum General Questions
    Replies: 4
    Last Post: 15 Aug 2006, 03:05 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