Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Oct 2004
    Location
    Albuquerque, NM
    Posts
    91
    Plugin Contributions
    0

    Default Admin won't let login - have searched forums

    I have found numorus threads on this issue and have implemented everything that it asks for.

    When ever my client tries to login to his admin panel it just goes back to the login screen.

    I transfered him from his current host and upgraded him from 1.3.6 to 1.3.7.

    He has a comodo ssl cert I have installed and I turned it off for the admin to see if that would resolve the issue as per other threads.

    He is running on PHP 4.4.4. I have tried changing the admin folder to manage and updated the config file as per one of the threads.

    Even tried IE vs Firefox.

    I have include the config file below any help would be appreciated as I am totally stumped as to what the issue could be.

    Config information is this.

    define('HTTP_SERVER', 'http://www.domain.com');
    define('HTTPS_SERVER', 'https://www.domain.com');
    define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    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', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin won't let login - have searched forums

    There are several things that can cause this ...

    1 Typo in the /admin/includes/configure.php file that is on the server ...
    NOTE: an edited version could mask the real issue

    2 A problem with the secure and non-secure settings

    3 Having the wrong username or password

    4 Session setting issues

    5 bad or corrupt files that are not throwing errors but happening quietly

    6 php issues such as v5.x without the upgrade to v1.3.7 as php 5.2 does have known issues that were addressed in v1.3.7 until php is corrected

    Has your login ever worked?

    What happens if you set the enable to false?

    Can you login?

    What are the Session Settings?

    If you can login but not your client ...

    What browser does the client use?

    Has the client tried to clear caches and delete all cookies to the site?

    Can you login with the client's login information?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2004
    Location
    Albuquerque, NM
    Posts
    91
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    I thank you for your quick reply, I cannot login nor can the client.

    As for errors I have checked the error log and this are the last entries

    [Sun Apr 15 11:41:47 2007] [error] [client 65.55.214.176] File does not exist: /home/justpoke/public_html/robots.txt
    [Sun Apr 15 11:41:24 2007] [error] [client 65.55.209.175] File does not exist: /home/justpoke/public_html/robots.txt
    [Sun Apr 15 11:39:18 2007] [error] [client 65.54.188.132] File does not exist: /home/justpoke/public_html/robots.txt
    [Sun Apr 15 11:39:15 2007] [error] [client 64.246.165.160] File does not exist: /home/justpoke/public_html/robots.txt
    [Sun Apr 15 11:38:07 2007] [error] [client 65.55.209.177] File does not exist: /home/justpoke/public_html/robots.txt

    There is some more there I won't flood the forum with it all.

    Where would I check for session issues, (/includes/fuctions/sessions.php) and what am I looking for.

    Below is a full config (with password *** out) let me know if you see anything that may be causing an issue.
    define('HTTP_SERVER', 'http://www.justpokersupplies.com');
    define('HTTPS_SERVER', 'https://www.justpokersupplies.com');
    define('HTTP_CATALOG_SERVER', 'http://www.justpokersupplies.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.justpokersupplies.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    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', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    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/justpoke/public_html/admin/');
    define('DIR_FS_CATALOG', '/home/justpoke/public_html/');

    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', 'localhost');
    define('DB_SERVER_USERNAME', 'j*****');
    define('DB_SERVER_PASSWORD', '*****);
    define('DB_DATABASE', '****');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // 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', 'database');
    define('DIR_FS_SQL_CACHE', '/home/justpoke/public_html/cache');

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin won't let login - have searched forums

    The site is using an SEO add-on ... are you able to browse the database configuration table and find the configuration_key related to turning this off?

    Check for .htaccess files ... what happens if you name the one in the /public_html and /admin to .htaccess_HIDE so they do not run?

    What version php?

    What version Zen Cart?

    Did the login info to the admin work on the old site?

    Have you tried to reset the admin table in case the client gave you the wrong information for logging in?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2004
    Location
    Albuquerque, NM
    Posts
    91
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    Again thank you for the quick reply and your assistance.

    He is running on php 4.4.4

    Zen Cart 1.3.7

    Changing the admin .htaccess to .htaccess.hide does not work

    How would I turn it off in the database.

    And when you type in the password it just goes to back to the admin screen and its blank like it would look if you just went to it but if you type in the wrong user name and password it gives you

    You entered the wrong username or password.

    And yes before he transfered his admin worked I logged in there to get some information.

    If you could show me how to turn it off it would be appreciated so I don't make another problem. :)

    Thank you again.

  6. #6
    Join Date
    Jul 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    I am watching this thread as I am having the exact same problem.

    I just moved the cart from one host to another via doing a full cPanel backup at old host and restoring it, then changing the owner of the files at the new host. This recreates everything exactly as it was - database, files, email addresses & forwards, etc. Even the home directory, user name, and file structure is the same - so no config file modifications were needed.

    Everything was working before the move, and the cart appears to be fully functional except the ability to login. I even had it reset and send a new password, and used PHPMyAdmin to check that the password hash changed in the database. I also get the same result of just getting the login screen refreshed with correct login and an error with a incorrect one.

    puppet87112, have you tried logging in to the cart as a customer? in my case I cannot login there either. wrong login yields a error, and a proper one yields a refresh of the home page with the "Welcome Guest" message.

    I am using a very old version of ZenCart (Version 1.2.4) because the client has not payed to have me update it, and there are several mods - since it has been two years since I touched it I don't remember how many or which ones, but I do know several are admin mods and therefore don't survive an upgrade.
    Anyhow, this means that the issue has been around in the code for quite some time, and I would guess it must have been covered somewhere before.

    Ajeh, thank you for your help. I am sure that the three of us will get this figured out if we just keep at it.

  7. #7
    Join Date
    Oct 2004
    Location
    Albuquerque, NM
    Posts
    91
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    T313C0mun1s7 - I have not I have not created account to try I may do that to see what happens. It will not even let me create an account.

    ***Update***
    I refreshed the page and it created the account but it went to a blank white screen before. But will not let me login to it.
    Last edited by puppet87112; 15 Apr 2007 at 09:04 PM.

  8. #8
    Join Date
    Jul 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    Quote Originally Posted by puppet87112 View Post
    T313C0mun1s7 - I have not I have not created account to try I may do that to see what happens. It will not even let me create an account.
    What happens when you try to create an account? I may be related to the issue. So far all the answers I have seen relate to sessions, cache, or the admin configure.php file. I have not yet found a fix, but if customer logins and customer account creation is related and not working we can rule out the admin configure.php file.

  9. #9
    Join Date
    Oct 2004
    Location
    Albuquerque, NM
    Posts
    91
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    When I first created the account it went to a blank white screen if you refresh is come back saying that the said email was already in use please try logging in with it.

    So when I tried to login it went to a blank screen and then when you click refresh it says there is no such email or password.

  10. #10
    Join Date
    Jul 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin won't let login - have searched forums

    Ok, I will try to reproduce this and expand on the details.

    Filled in the form for new account and hit submit, and I am redirected to "index.php?main_page=create_account_success" which looks like
    Your Account Has Been Created!
    Congratulations! Your new account has been successfully created! You can now take advantage of member privileges to enhance your online shopping experience with us. If you have ANY questions about the operation of this online shop, please email the store owner.

    A confirmation has been sent to the provided email address. If you have not received it within the hour, please contact us.
    Checked for E-mail, I received it and it looked ok except that it referred to me as "Dear Mr. User" rather than by my entered name. I hit "Continue" on the account created success page, and get forwarded to the home page. I try to login with the new user and I get forwarded back to the home page with "Welcome Guest! Would you like to log yourself in?"

    So I was able to create a customer account, just not log in with it.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Admin Won't Let me Login HELP!
    By jensdesignshop in forum Basic Configuration
    Replies: 5
    Last Post: 27 Jun 2010, 11:04 PM
  2. My admin won't save settings changes or let me add/delete products
    By westcoastflipp in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Feb 2010, 07:25 PM
  3. Won't let me in
    By mooncavecrystals in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 3 Dec 2007, 06:04 AM
  4. sub category question...have searched.
    By skunkworx in forum General Questions
    Replies: 6
    Last Post: 21 Feb 2007, 08:53 PM

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