Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Login issue both customer and admin on test server

    I have installed ZenCart 1.3.7 with the patch and the admin profile addon. When I logon either as a customer or an admin, no error messages come up, but I am not logged in. On the customer side, I can shop but when I 'checkout', it asks me to login again. Same for the admin side. I pass the login screen to see the admin part of the site, but none of the menu changes from the addon I expect to see show up. The only error I get is that uploads are not enabled. I know this, but it is okay because I am just demoing the software. I need to know what this problem is, because I plan to recommend the software by used, if I can just get it to work right :) I am sure it is something simple, but I am clueless at the moment. Thanks for any and all help :)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Login issue both customer and admin

    Where do you have it hosted?

    What you describe is symptomatic of PHP "session" mis-configuration or of absolute blockage of all cookies by your browser.
    .

    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.

  3. #3
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Login issue both customer and admin on test server

    I'm having the same problem, but only in FF, what to do?

  4. #4
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Login issue both customer and admin

    PHP 4.3.2 running on Apache. I have added the following code to htaccess at the root level of ZenCart:

    <IfModule mod_php4.c>
    php_value session.use_trans_sid 0
    php_value register_globals 1
    </IfModule>

    Still no joy!! I have even looked at the php.info in this root level, the above statements are working. I have also checked the site with security on the browser such that all cookies are allowed, again, no joy! Got any other ideas? I am having our systems people check the logs for any usable error messages.

  5. #5
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Login issue both customer and admin on test server

    New information, checking the database, I had put items in a cart and and attempted to checkout. The system asked for customer login. That is how I created my user account. Well, the system stored records in the sessions table on those two attempts with the session id's stored. Also, when I am on the login page for the admin, the url contains "?zenAdminID =636gh2y782fho2y" but the first page after that does not. I have checked cookies, I have no cookies from my install of ZenCart but sourceforge and several other sites I have visted do have cookies.

  6. #6
    Join Date
    May 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Login issue both customer and admin on test server

    One more note that may be the answer, when I look at the phpinfo, virtual directory support is disabled.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Login issue both customer and admin on test server

    It is normal for the zenid or zenAdminId to disappear after first page on either the admin or the storefront. In a default install, that indicates that the session cookie is being set properly during the click to the second page, as designed.

    What is your site URL?
    What are your server's complete specs ... either copy/pasted from Admin->Tools->Server Info or a link to zc_install/techsupp.php
    .

    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.

  8. #8
    Join Date
    May 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Login issue both customer and admin on test server

    Not sure if this is the same problem I am having, but, I too had a problem logging in to the admin and as a returning customer to the cart while testing.

    One thing that screwed this up was because I originally installed the cart to a domain with just http://domainhere.com then, to accommodate the SSL Certificate I had to change the default url to http://www.domainhere.com - and this resulted in breaking the login to everything as the configure.php file was set to just the http:// address.

    I was able to fix the admin login by changing the configure file, however, I can't find the customer login file?

    If this is not the same problem you are having, sorry for the mixed post!

  9. #9
    Join Date
    May 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Login issue both customer and admin on test server

    Quote Originally Posted by metamemes View Post
    Not sure if this is the same problem I am having, but, I too had a problem logging in to the admin and as a returning customer to the cart while testing.

    One thing that screwed this up was because I originally installed the cart to a domain with just http://domainhere.com then, to accommodate the SSL Certificate I had to change the default url to http://www.domainhere.com - and this resulted in breaking the login to everything as the configure.php file was set to just the http:// address.

    I was able to fix the admin login by changing the configure file, however, I can't find the customer login file?

    If this is not the same problem you are having, sorry for the mixed post!
    what you are describing sounds exactly where I'm gone stuck too, I need the get the hold of the customer login file.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Login issue both customer and admin on test server

    Quote Originally Posted by dav12028 View Post
    what you are describing sounds exactly where I'm gone stuck too, I need the get the hold of the customer login file.
    Um ... is this still the same issue you posted about in another thread? You said it was resolved ... but now you're posting about the same problem again ?
    http://www.zen-cart.com/forum/showth...867#post375867
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h 1.39h Admin Login Issue when upgrading server to PHP 5.3 from 5.2
    By sparrowce in forum General Questions
    Replies: 26
    Last Post: 2 Jul 2015, 01:50 AM
  2. Blank page after both admin & customer login
    By katrobb in forum General Questions
    Replies: 2
    Last Post: 16 Sep 2010, 07:50 PM
  3. Replies: 1
    Last Post: 25 Jun 2008, 12:31 AM
  4. Urgent! unable to login both customer and admin
    By Profetia in forum General Questions
    Replies: 4
    Last Post: 13 Jul 2007, 08:23 AM

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