Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2006
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Directory Change, Now no cookies/sessions

    I had to move my store to a different directory. After doing so I edited admin/includes/configure.php and /includes/configure.php and my store works good now, except when a customer trys to login it either takes them to the "Whoops! Your session has expired." page or just back to the index. I have done searches in the dev tool kit and in my mysql database for any URL's I needed to change and it appears I got 'em all, but the problem still exists. Any ideas?

  2. #2
    Join Date
    Jan 2004
    Posts
    59,806
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Directory Change, Now no cookies/sessions

    Did you update the Session Directory in the Admin?
    http://www.zen-cart.com/wiki/index.p...Switch_Servers
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Aug 2006
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Directory Change, Now no cookies/sessions

    Quote Originally Posted by DrByte
    Did you update the Session Directory in the Admin?
    http://www.zen-cart.com/wiki/index.p...Switch_Servers
    Yes, I did. I believe I changed that when I was doing all of my searching and editing. But I ran the Fix_Cache_Key utility just to make sure and it only reccomended 1 change but it had no effect.

  4. #4
    Join Date
    Aug 2006
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Directory Change, Now no cookies/sessions

    The admin login works, its just that when you try to login as a customer it doesn't set cookies or anything. I looked in the customer info and it shows that when I try to login it adds to the number of logons. Why would zen-cart not set cookies or sessions anymore just from moving it?

  5. #5
    Join Date
    Jan 2004
    Posts
    59,806
    Blog Entries
    4
    Plugin Contributions
    133

    Default Re: Directory Change, Now no cookies/sessions

    Quote Originally Posted by helmetman
    Why would zen-cart not set cookies or sessions anymore just from moving it?
    The only things that drive that are the 2 configure.php files and the Session-Directory setting in the admin.

    Unless you have a server problem. But, you suggested that you're still on the same server.

    I'd start by doing a fresh install in another folder+database. Make sure logins are working there properly.
    Then compare the configure.php files it generates against the ones you edited, to see if anything was missed.

    Oh, and make sure that the DIR_FS_SQL_CACHE folder is read/write/execute.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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 2006
    Location
    United States
    Posts
    28
    Plugin Contributions
    0

    Default Re: Directory Change, Now no cookies/sessions

    I found the problem. My server requires that I have "Recreate Session" set to FALSE. I wish I would've found this out sooner before I reinstalled my zen-cart!!! But now you can add this to the wiki.

 

 

Similar Threads

  1. How to Change the Look?
    By zahoorahmad in forum Customization from the Admin
    Replies: 14
    Last Post: 15 Apr 2011, 03:02 AM
  2. Can't find where to change this header
    By samisoaps in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jun 2006, 03:25 PM

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
  •