Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jul 2009
    Posts
    88
    Plugin Contributions
    0

    Default Admin login problem

    Yes ive spent hours trying things and reading up about this problem and trying alot of the suggestions. I just cant get it to behave the same way every time.

    Basically when I try to access admin the login page appears and when I enter my username and password both fields just go blank again as if ive entered it wrong (but I havent).

    One post I read suggested I rename my .htaccess in admin/includes/ to .htaccess_bak and see if it made a difference well, for a while, it does and I can access my admin strangely on both of my zencart installs not only the one i'm changing it in. Then if I close the window and try again I get the same problem.

    I went back and renamed the same htaccess file back to normal and was able to get in again - BUT ONLY FOR A WHILE... then I had to go in and change it back to .htaccess_bak and "bingo" i can access it again... but then I might try another menu option in admin and all of a sudden im back at the login page and it wont let me enter details to get in again...

    Its driving me crazy and now its almost half past midnight...

    Can anyone suggest what might be going on?
    Im using 1.3.8a

    I would love to get some closure on this so I dont have to keep going onto the server and fiddling with the htaccess file everytime I want to get into admin. I am feeling physically sick, my eyes hurt and i feel nauseous now reading and sweating and trying this and that for hour after painful hour... I just need a little direction... please.. help!

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

    Default Re: Admin login problem

    Where is your site?

    Paste the admin configure.php contents here

    X-out sensitive details as DB user & pass
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2009
    Location
    In beautyful New York
    Posts
    160
    Plugin Contributions
    2

    Default Re: Admin login problem

    not sure what your problem is
    i had some issues with new installations
    and it turned out that it was a 301 redir to the www and my confiure.php was configured to the non-www

    check if you use a redir to www or to https or vise versa

    hope it helps

  4. #4
    Join Date
    Jul 2009
    Posts
    88
    Plugin Contributions
    0

    Default Re: Admin login problem

    my sites are at http://www.rivertoreefaquarium/1test/

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** 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://rivertoreefaquarium.com');
    define('HTTPS_SERVER', 'https://rivertoreefaquarium.com');
    define('HTTP_CATALOG_SERVER', 'http://rivertoreefaquarium.com');
    define('HTTPS_CATALOG_SERVER', 'https://rivertoreefaquarium.com');

    // 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', '/1test/admin/');
    define('DIR_WS_CATALOG', '/1test/');
    define('DIR_WS_HTTPS_ADMIN', '/1test/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/1test/');

    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/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/www/rivertoreefaquarium.com/1test/admin/');
    define('DIR_FS_CATALOG', '/home/www/rivertoreefaquarium.com/1test/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'supremecenter25.com');
    define('DB_SERVER_USERNAME', 'ivers_zenr2r');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'ivers_zenr2r');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/www/rivertoreefaquarium.com/1test/cache');

    // EOF


    and http://rivertoreefaquarium.com/zen/

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** 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://rivertoreefaquarium.com');
    define('HTTPS_SERVER', 'https://rivertoreefaquarium.com');
    define('HTTP_CATALOG_SERVER', 'http://rivertoreefaquarium.com');
    define('HTTPS_CATALOG_SERVER', 'https://rivertoreefaquarium.com');

    // 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', '/zen/admin/');
    define('DIR_WS_CATALOG', '/zen/');
    define('DIR_WS_HTTPS_ADMIN', '/zen/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/zen/');

    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/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/www/rivertoreefaquarium.com/zen/admin/');
    define('DIR_FS_CATALOG', '/home/www/rivertoreefaquarium.com/zen/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'supremecenter25.com');
    define('DB_SERVER_USERNAME', 'ivers_zencart');
    define('DB_SERVER_PASSWORD', 'xxxxxxx');
    define('DB_DATABASE', 'ivers_zencart');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/www/rivertoreefaquarium.com/zen/cache');

    // EOF

    thanks for looking into it
    Last edited by Adam65; 9 Nov 2010 at 01:22 AM.

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

    Default Re: Admin login problem

    If you still can edit

    X-out sensitive details as DB user & pass

    otherwise change them post haste
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jul 2009
    Posts
    88
    Plugin Contributions
    0

    Default Re: Admin login problem

    evelt thanks for the reply,
    I am not sure how or where I would check that.

    thanks
    Adam

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

    Default Re: Admin login problem

    You have these pointing to 2 different places
    Code:
    define('DIR_WS_CATALOG', '/1test/');
    
    define('DIR_WS_CATALOG', '/zen/');
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Jul 2009
    Posts
    88
    Plugin Contributions
    0

    Default Re: Admin login problem

    yeah but its two different sites,, shoudl they be the same?

  9. #9
    Join Date
    Jul 2009
    Posts
    88
    Plugin Contributions
    0

    Default Re: Admin login problem

    ones just a control (a new fresh install of 1.3.8a in /1test) and the other is my actual shop /zen

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

    Default Re: Admin login problem

    If those configures are in one install then that is the issue
    If not I do not know why you posted one from one and the other from another????
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Admin login problem: There was a security error when trying to login.
    By eddeford in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 27 Jan 2010, 03:59 PM
  2. Admin Login Problem
    By Giolf in forum Installing on a Windows Server
    Replies: 2
    Last Post: 1 Feb 2008, 10:56 PM
  3. Admin login problem
    By kmallea in forum Installing on a Windows Server
    Replies: 5
    Last Post: 4 Jun 2007, 04:26 AM
  4. Admin login problem
    By vanhooffmodelbouw in forum General Questions
    Replies: 7
    Last Post: 23 Apr 2007, 12:56 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