Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2006
    Posts
    137
    Plugin Contributions
    0

    help question admin login directs to store customer login

    anyone know why when I try to login to my admin panel, it redirects me to the store customer login page?

    I ahve recently moved my store from one web host to another - could that have made an error?

    I followed these move instructions - https://helpdesk.host-99.com/index.p...barticleid=147
    [FONT=Fixedsys]We live in a rainbow of chaos ~ Paul Cezanne[/FONT]

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: admin login directs to store customer login

    Paste the top half of your /admin/includes/configure.php file here
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: admin login directs to store customer login

    Not sure why you're following some instructions posted by some hosting company whose pages don't load.

    Zen Cart already has tutorials about the proper way to do things related to Zen Cart, including how to move from one host/server to another: https://www.zen-cart.com/tutorials/i...hp?article=100
    .

    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.

  4. #4
    Join Date
    Oct 2006
    Posts
    137
    Plugin Contributions
    0

    Default Re: admin login directs to store customer login

    the top of my admin/includes/config

    <?php
    /**
    * @package Configuration Settings circa 1.3.9
    * @copyright Copyright 2003-2010 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2010-07-19 11:48:50
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://tanyasmart.com.au');
    define('HTTPS_SERVER', 'https://tanyasmart.com.au');
    define('HTTP_CATALOG_SERVER', 'http://tanyasmart.com.au');
    define('HTTPS_CATALOG_SERVER', 'https://tanyasmart.com.au');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/store/admin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    [FONT=Fixedsys]We live in a rainbow of chaos ~ Paul Cezanne[/FONT]

  5. #5
    Join Date
    Oct 2006
    Posts
    137
    Plugin Contributions
    0

    Default Re: admin login directs to store customer login

    also, I can create a customer account - just can't login as admin

    also, when I enter www.mywebsite/store/admin I get a blank screen, I need to add the login.php - is that right?
    [FONT=Fixedsys]We live in a rainbow of chaos ~ Paul Cezanne[/FONT]

  6. #6
    Join Date
    Oct 2006
    Posts
    137
    Plugin Contributions
    0

    Default Re: admin login directs to store customer login

    sorted it out - reloaded my admin files via FTP and could log in - so easy :)
    [FONT=Fixedsys]We live in a rainbow of chaos ~ Paul Cezanne[/FONT]

 

 

Similar Threads

  1. v151 login from front end using admin login for any customer?
    By gsmsalers in forum General Questions
    Replies: 11
    Last Post: 1 Oct 2013, 03:52 PM
  2. Returning Customer Login foes to Store not checkout page
    By ethical in forum General Questions
    Replies: 4
    Last Post: 15 May 2009, 08:25 PM
  3. Customer Login and Admin Login not working
    By trudesign in forum General Questions
    Replies: 4
    Last Post: 6 Jun 2007, 04:26 AM
  4. showcase store with customer login capabilities?
    By cspsgl in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Oct 2006, 07:02 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR