Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    red flag ### Not able to login

    Hello Friends

    I am not able to login into admin side. Does admin and user side zen_encrypt_password are different?

    Problem:
    ---------------
    I have modified script of the 'creaet_account.php' file after this line

    265 : zen_db_perform(TABLE_CUSTOMERS, $sql_data_array);

    my code:


    // code add by vishal : start

    $insert_adminsql_data = array('admin_pass' => zen_encrypt_password($password));

    $sql_admindata_array = array(
    'admin_name' => $firstname,
    'admin_email' => $email_address,
    'admin_level' => 1
    );

    $sql_admindata_array = array_merge($sql_admindata_array, $insert_adminsql_data);

    zen_db_perform(TABLE_ADMIN, $sql_admindata_array);

    $new_admin_id = zen_db_insert_id();
    $admins_id = $new_admin_id;

    // code add by vishal: end

    Now i am able to login from user side but somehow i am not able to login with saem username , password into admin side

    sql query of my code are running and following are encrypted value of my password : 'admin123'

    Admin table: ae6db3e3dce66d1c851238ca4fb49527:12
    Customre Table: d8ee8ebe71cf64d44abe5645263668fb:d3


    guys please help me how to login? where is the problem?

    Thanks

  2. #2
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    101
    Plugin Contributions
    0

    Default Re: ### Not able to login

    was there a reason you added the code ?

    have you tried removing the code you added and seeing if can login then ?

 

 

Similar Threads

  1. customers not able to login
    By shwag in forum General Questions
    Replies: 2
    Last Post: 18 Dec 2010, 05:35 AM
  2. Not able to login to admin panel
    By deepti in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Sep 2009, 04:15 PM
  3. Not able to login to admin in demo
    By ladyink in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 4 Mar 2008, 12:35 PM
  4. not able to login admin area
    By fulltilt in forum General Questions
    Replies: 170
    Last Post: 28 Jul 2007, 07:59 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