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?
Re: Directory Change, Now no cookies/sessions
Re: Directory Change, Now no cookies/sessions
Quote:
Originally Posted by DrByte
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.
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?
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.
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.