Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    red flag Suddenly having problem with client login

    Hi,

    I have problem with login / register page on my website because of login time out. My existing clients aren't able to login as well as new ones who aren't able to register getting the message "login session has expired". This means they can't access their profile or login to make a purchase. This problem has appeared recently for the first time.

    Does anyone know why this happen and how to fix this serious issue?

    Thank you.
    Last edited by Laki; 17 Dec 2015 at 01:46 PM.

  2. #2
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Problem with client login

    Let me provide you with more details about the problem explained above.
    I can login to my admin area regularly and work in. As I said the problem appears only with login/register page in all browsers.
    I've found topics on the forum with similar problem and have tried some of suggestions that I found there but haven't fixed my problem.

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

    Default Re: Problem with client login

    Answering the Posting Tips are always a help ...

    Have you an URL to your site?
    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!

  4. #4
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Problem with client login

    Thanks Ajeh :))

    This is URL: http://com-shop.me/
    This is login page http://com-shop.me/index.php?main_pa...in&language=en
    (I provided you with the login page on English)


    One thing in addition to my previous explanation of the problem. I set up URL of my store as the primary domain on my hosting instead of other website few days ago. This is the only Zen cart website On the hosting. Few others are WordPress blogs.

    In the meantime I haven't installed any plugin or made changes in the configuration settings. I can login to admin area but my can't login as a customer on the website or register. When I try to do it I get a message that the session has expired.

    Best,
    Last edited by Ajeh; 17 Dec 2015 at 05:57 PM. Reason: remove zenid from URL

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Problem with client login

    This is not a login problem. It's a session problem ... caused by incorrect cookies.

    Your store is setting the session cookie incorrectly. The Cookie Path is getting set to /ComShop ... as though you're trying to tell it that the store is in a subfolder.

    Are you using Apache?
    Do you have some .htaccess rules that are interfering?
    If your admin is working fine, then you've probably got different .htaccess translations in the admin folder vs the non-admin area.

    If you're not using Apache, do you have other rules configured in your webserver engine with how the domain is configured? (Did you "copy" the domain config from the other server, instead of setting it up bespoke on the new server so that the new domain config is untainted by the old server config?)
    .

    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.

  6. #6
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Problem with client login

    I'm using Appache.

    The store is in public_html/ComShop folder. The .htaccess files in non-admin and admin area within ComShop folder haven't been edited. But there is .htaccess file in public_html folder that has recently been edited when this domain (com-shop.me) was set up as primary on the hosting. I think this is edited in the .htaccess file in public_html folder:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www.)?com-shop.me$
    RewriteCond %{REQUEST_URI} !^/ComShop/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /ComShop/$1
    RewriteCond %{HTTP_HOST} ^(www.)?com-shop.me$
    RewriteRule ^(/)?$ ComShop/index.php [L]

    If you need .htaccess files from ComShop folder to have a look I'll show its code.

 

 

Similar Threads

  1. Login Problem - My admin suddenly boots me out? why?
    By xbs2010 in forum General Questions
    Replies: 1
    Last Post: 6 Jan 2010, 10:11 AM
  2. having a problem with attributes
    By maryland in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 16 Nov 2008, 11:08 AM
  3. Replies: 3
    Last Post: 2 Sep 2008, 08:52 PM
  4. Having problem with IH 2.0
    By duffster2004 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Dec 2006, 04:07 PM
  5. I am having problems with login
    By ryanwhite36 in forum General Questions
    Replies: 5
    Last Post: 17 Sep 2006, 11:46 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