Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2011
    Posts
    24
    Plugin Contributions
    0

    Default Weird Admin login problems?

    Hi

    I just installed zencart to a new domain. And having problems when trying to log in to my admin.

    What happens is that when i enter the correct username and password, the page just loads again and I'm back to login.
    If I write the wrong username or pass it says wrong username or pass. (this way it confirms the right username and pass when the page is just loading).

    my domain is:
    LED Lys

    Please help me anyone. Would really appreciate some help.

    Best regards
    Morten

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Weird Admin login problems?

    Did you install this using an auto-installer such as Fantastico? If you did then it's likely that it created a password which is not acceptable to Zen Cart.

    Try using this tutorial (link below) to reset the 'admin' user name and password (and then alter it again after you've gained access):

    https://www.zen-cart.com/tutorials/index.php?article=2

    Vger

  3. #3
    Join Date
    Jun 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Weird Admin login problems?

    Quote Originally Posted by Vger View Post
    Did you install this using an auto-installer such as Fantastico? If you did then it's likely that it created a password which is not acceptable to Zen Cart.

    Try using this tutorial (link below) to reset the 'admin' user name and password (and then alter it again after you've gained access):

    https://www.zen-cart.com/tutorials/index.php?article=2

    Vger
    Hi, thank your for fast reply. I really appreciate this.
    I installed it by using zc_install/index.php as I have on 3 other domains. But this time the login just re-load the page every time I enter the correct username and pass.

    I have tried to install it 3 times now and every time the same thing happens on this domain. But I newer experienced this on my other domains when installing zencart.

    Please note that everything else is working fine, its just the admin login that doesn't work.

    Please help!

    Best regards
    Morten

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Weird Admin login problems?

    Please help!
    Already have - follow the tutorial, the link for which I posted.

    Vger

  5. #5
    Join Date
    Jun 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Weird Admin login problems?

    Quote Originally Posted by Vger View Post
    Already have - follow the tutorial, the link for which I posted.

    Vger
    Okay, I will try it when i get access to phpmyadmin. But the username and password is correct! Are there any other suggestions?

    I have installed it 3 times on different places on my new domain.
    I have also reset the password and had a new one sent to my mail. But every time I enter the correct username and pass the page just re-loads. If I enter wrong pass everything works fine telling me that the pass is wrong.

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Weird Admin login problems?

    But the username and password is correct
    I'm not challenging the User Name, but the Password can be suspect.

    1. Zen Cart requires a minimum of 5 letters/numerals for a password. If you set one that's less than 5 then it won't work.
    2. If you typed the Password in incorrectly then the one you think you set up won't be the one you actually set up.
    3. When you reset the password did you close down all of your Browser windows before going back to login?

    Vger

  7. #7
    Join Date
    Jun 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Weird Admin login problems?

    Quote Originally Posted by Vger View Post
    I'm not challenging the User Name, but the Password can be suspect.

    1. Zen Cart requires a minimum of 5 letters/numerals for a password. If you set one that's less than 5 then it won't work.
    2. If you typed the Password in incorrectly then the one you think you set up won't be the one you actually set up.
    3. When you reset the password did you close down all of your Browser windows before going back to login?

    Vger
    1) As I have said many times. This is the third zencart I'm installing, all with the same username and password. When i log in with the correct password there is another action than when i try to log in with the wrong password. But the action is just reloading the page without getting in to the admin area.

    2) I have changed the password, getting new passwords to my mail account and copy/paste it into the password window. There is nothing wrong with the password!!!!!

    3) Yes, I have cleared all cashes and everything.

    Please understand that its not that it just doesn't work and that i get a message that i don't work. Everything looks normal until I enter the correct username and password. Then the site loads, but throws me back to login page.

  8. #8
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Weird Admin login problems?

    Post your admin/includes/configure.php file here - minus the name of the renamed admin folder and minus all db info.

    Vger

  9. #9
    Join Date
    Jun 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Weird Admin login problems?

    Quote Originally Posted by Vger View Post
    Post your admin/includes/configure.php file here - minus the name of the renamed admin folder and minus all db info.

    Vger
    // 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_ 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://ladelys.no');
    define('HTTPS_SERVER', 'https://ladelys.no');
    define('HTTP_CATALOG_SERVER', 'http://ladelys.no');
    define('HTTPS_CATALOG_SERVER', 'https://ladelys.no');

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

    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', '/var/www/vhosts/ladelys.no/httpdocs/nettbutikk/*/');
    define('DIR_FS_CATALOG', '/var/www/vhosts/ladelys.no/httpdocs/nettbutikk/');

    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', '*');
    define('DB_SERVER_USERNAME', '*');
    define('DB_SERVER_PASSWORD', '*');
    define('DB_DATABASE', '*');
    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', '/var/www/vhosts/ladelys.no/httpdocs/nettbutikk/cache');

    // EOF

  10. #10
    Join Date
    Jun 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Weird Admin login problems?

    Quote Originally Posted by Vger View Post
    Post your admin/includes/configure.php file here - minus the name of the renamed admin folder and minus all db info.

    Vger
    I have. Do you see anything wrong with this?

    Best regards
    Morten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Admin Login Problems
    By shop2drop in forum General Questions
    Replies: 1
    Last Post: 17 Aug 2014, 12:09 AM
  2. v150 Had to reset admin login details in DB now problems in admin area
    By aliali81 in forum General Questions
    Replies: 2
    Last Post: 15 May 2013, 05:32 PM
  3. Weird Admin Login Cookie Issue
    By chriskuta in forum General Questions
    Replies: 7
    Last Post: 16 Jun 2010, 02:07 AM
  4. Admin Login Problems
    By MistaP in forum Customization from the Admin
    Replies: 3
    Last Post: 6 Mar 2010, 09: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