Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    32
    Plugin Contributions
    0

    Default Admin login suddenly stopped working

    Hi,

    I have a zencart store on domain
    www.cigear.com

    Now the problem is admin login is suddenly stopped working. It also not giving error message like "Invalid username/password"

    Also password forget tool is not working.

    When i try to login it gives me same page named login.php

    I have cleared my browsers cache memory and cookies.

    Also tried changing password from database manually. I know the encryption and decryption topics.

    I also debug the file login.php putting and found that script is not reach at this line (find the code above)

    Code:
     require('includes/application_top.php');
    
      $message = false;
    echo 'test1'; // Display echo test here
      if (isset($_POST['submit'])) {
    echo 'test2'; // echo doesnt work here
        $admin_name = zen_db_prepare_input($_POST['admin_name']);
        $admin_pass = zen_db_prepare_input($_POST['admin_pass']);
        $sql = "select admin_id, admin_name, admin_pass from " . TABLE_ADMIN . " where admin_name = '" . zen_db_input($admin_name) . "'";
        $result = $db->Execute($sql);
        if (!($admin_name == $result->fields['admin_name'])) {
          $message = true;
          $pass_message = ERROR_WRONG_LOGIN;
        }
        if (!zen_validate_password($admin_pass, $result->fields['admin_pass'])) {
          $message = true;
          $pass_message = ERROR_WRONG_LOGIN;
        }
        if ($message == false) {
          $_SESSION['admin_id'] = $result->fields['admin_id'];
          if (SESSION_RECREATE == 'True') {
            zen_session_recreate();
          }
          zen_redirect(zen_href_link(FILENAME_DEFAULT, '', 'SSL'));
        }
      }
    I also put some values into the text-box and then press login button. i mean to say i submit some values to form.



    Please Help me in this if anyone know what issue might causes this.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Admin login suddenly stopped working

    Sudden changes in admin only indicate hacks.
    You need to do the following immediately.
    http://www.zen-cart.com/wiki/index.p...ing_From_Hacks

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

    Default Re: Admin login suddenly stopped working

    Or your server's PHP configuration has changed and session handling no longer works correctly.
    Or you've recently added SSL and your session cookies are all busted.
    Or you're running your browser in private-browsing mode and thus session cookies cannot be set, so you won't be able to login.

    Or, as dbltoe has said, you're using an outdated version of Zen Cart with known vulnerabilities and you've been hacked and need to do a thorough cleanup.
    .

    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
    Sep 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Admin login suddenly stopped working

    It wasn't hack that is sure because we restore the backup. and still get this issue.

    I dont know what kind of PHP configuration is needed. But any of you might know.

    Here is the configuration.

    http://www.cigear.com/phpinfo.php

    Thanks in advance

 

 

Similar Threads

  1. v139h Suddenly admin login and shooping cart stopped working
    By toddly13 in forum Basic Configuration
    Replies: 1
    Last Post: 20 Dec 2012, 11:18 AM
  2. Admin login suddenly stopped working a week ago
    By jefcraig in forum General Questions
    Replies: 2
    Last Post: 19 Dec 2011, 03:13 AM
  3. Admin login stopped working
    By robeal in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Jul 2009, 07:34 PM
  4. Admin Login stopped working on my site (v1.3.8)
    By georgee in forum General Questions
    Replies: 1
    Last Post: 11 Oct 2008, 09:38 AM

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