Results 1 to 7 of 7
  1. #1
    Join Date
    May 2014
    Posts
    4
    Plugin Contributions
    0

    Default Localhost - Can't login

    Server: Apache/2.4.6 (Win32) OpenSSL/1.0.1e PHP/5.3.27 mod_wsgi/3.4 Python/2.7.2
    PHP Version 5.3.27
    Zencart: 1.5.1


    I want to write some integration code against zencart, so pulled a copy of the site down locally and followed the cart migration procedures.

    The store comes up fine and you can view products, but are unable to login.

    Nothing's getting written to the /cache or /logs folders in the cart

    Apache shows this activity which isn't super useful but it's all I've got to work:
    Code:
    127.0.0.1 - - [10/May/2014:09:17:02 -0500] "GET /cart/memoryadmin/ HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
    127.0.0.1 - - [10/May/2014:09:17:04 -0500] "GET /cart/memoryadmin/login.php?camefrom=index.php HTTP/1.1" 200 2282 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
    127.0.0.1 - - [10/May/2014:09:17:13 -0500] "POST /cart/memoryadmin/login.php?camefrom=index.php HTTP/1.1" 302 - "http://local.memorylp.com/cart/memoryadmin/login.php?camefrom=index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
    127.0.0.1 - - [10/May/2014:09:17:14 -0500] "GET /cart/memoryadmin/index.php HTTP/1.1" 302 - "http://local.memorylp.com/cart/memoryadmin/login.php?camefrom=index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
    127.0.0.1 - - [10/May/2014:09:17:15 -0500] "GET /cart/memoryadmin/login.php?camefrom=index.php HTTP/1.1" 200 2282 "http://local.memorylp.com/cart/memoryadmin/login.php?camefrom=index.php" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"

    Pretty much you login then get redirected back to where you came from.

    Could someone help out with things I might be able to do to try and figure out what my issue is?

    Kind of stuck right now :-(

  2. #2
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Localhost - Can't login

    Hi,

    When you try to login, do you get any error messages
    e.g. You entered the wrong username or password

    By migration, do you mean you ran through the zc_install again

  3. #3
    Join Date
    May 2014
    Posts
    4
    Plugin Contributions
    0

    Default Re: Localhost - Can't login

    Nope, no error messages. Just redirects back to the login screen.

    Ya, I ran through the install again.

  4. #4
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Localhost - Can't login

    Do you have a proper email address associated with your admin login

    If so have you tried doing a forgotten password to reset the admin password

    Also, related FAQs:
    http://www.zen-cart.com/content.php?...working-for-me
    http://www.zen-cart.com/content.php?...lling-zen-cart

  5. #5
    Join Date
    May 2014
    Posts
    4
    Plugin Contributions
    0

    Default Re: Localhost - Can't login

    Ya, I associated my Gmail with the admin account.

    I can't really do the password reset because I don't have an email server running locally.

    It seems like my user/pass are validate d but something else fails in the process. Creating a session on disk maybe?

    It seems weird no files are in the carts cache/log folders.


    Is there a setting to turn up the error logging levels?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Localhost - Can't login

    Quote Originally Posted by UWouldLose View Post
    Nope, no error messages. Just redirects back to the login screen.
    That means the session isn't starting.

    See: http://www.zen-cart.com/content.php?...working-for-me
    and http://www.zen-cart.com/content.php?...lling-zen-cart
    .

    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.

  7. #7
    Join Date
    May 2014
    Posts
    4
    Plugin Contributions
    0

    Default Re: Localhost - Can't login

    I'm able to login now, thanks for the help everyone.

    I'm not really sure what was keeping me out of the admin. Php windows environment seems kind of flakey sometimes like that. Things break for no reason then get fixed mysteriously :-(


    Thanks again!

 

 

Similar Threads

  1. Can't Set Up Administrator Email to be on Localhost
    By feralreason in forum Basic Configuration
    Replies: 6
    Last Post: 9 Nov 2011, 11:37 PM
  2. Admin login issues after FTP download to localhost
    By Flotsam in forum General Questions
    Replies: 4
    Last Post: 29 Sep 2011, 07:18 AM
  3. Can't Get Installer to Run on Localhost
    By Kennym in forum Installing on a Windows Server
    Replies: 2
    Last Post: 14 Mar 2010, 03:01 PM
  4. Can I test Eway gateway at my Localhost?
    By vivek_advsol in forum Addon Payment Modules
    Replies: 1
    Last Post: 5 Feb 2010, 08:20 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