RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/09/2019 : 10:52:35
My client sent the following email to me. I updated her cart to v7.0.5 and issue still persists.
1.) I am able to login to the admin site on every computer but mine. When I try to login to the admin site, it says I logged in successfully but the login screen just keeps reappearing. (I personally logged in to her cart as admin without a problem).
2.) In addition, I am still having issues (on other computers) with logging in as a client to place a phone or walk-in order. I seem to be able to login as a client one time after clearing my cache, but then once I hit logout, I am unable to login under any account until I clear the cache again - and then I can only login once before clearing the cache again. This is definitely a change from how things used to work, and although we can create a work-around, it's really not a good long-term solution.
Any suggestions?
Ray Cramblit
|
Vince
Administrator
42874 Posts |
Posted - 07/09/2019 : 11:55:36
Hi Ray We haven't changed the login system greatly in a long while so could this just be down to, for instance, a problem with the session variables on the server, or some kind of cache that has been set up? If you send the site FTP and admin login to my email (vince AT ecommercetemplates DOT com) I can give it a go. As a side note, if you are creating phone orders, you might be interested in the Share Cart feature... https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=111778 Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/09/2019 : 12:19:24
do you want FTP and shopping cart admin access?
Ray Cramblit
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/09/2019 : 12:34:20
Sent FTP to email address.
Ray Cramblit
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/09/2019 : 13:05:03
Sent additional emails regarding updated information to your email address.
Thanks in advance for the help Vince!
Ray Cramblit
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/10/2019 : 06:10:20
Vince... any update?
Ray Cramblit
|
Vince
Administrator
42874 Posts |
Posted - 07/10/2019 : 13:56:21
My apologies Ray but I replied to you this morning, but it seem the post is nowhere to be found. But it seems that all your pages have an hour long cache. < Date: Wed, 10 Jul 2019 20:54:50 GMT < Cache-Control: max-age=3600 < Expires: Wed, 10 Jul 2019 21:54:50 GMT This means that yes, you are seeing old versions of your pages so things like adding to cart and logging in don't seem to take effect. Can you pass that on to your host and see if they can remove that cache? Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/10/2019 : 19:50:56
I know nothing about servers and just a fair amount about PHP.
Where would they remove that cache? Is it a server setting or a PHP setting or what?
I sent your reply to their support staff and hopefully they understand your comments.
Ray Cramblit
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/10/2019 : 20:11:11
I found this code searching online. Would this htaccess code fix the problem?
<IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires 0 </IfModule>
Ray Cramblit
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/10/2019 : 21:28:00
Response from Server support:
I found that the expire headers is the culprit for displaying the "Cache-Control: max-age=3600". I lowered this value from the 3600 which is 60 minutes down to 900 which is 15 minutes. We might even want to turn off expire headers for text files, Please let us know if you are still having issues, we can look further into this for you.
Do you think this is acceptable or should it be reduced further?
Ray Cramblit
|
Vince
Administrator
42874 Posts |
Posted - 07/11/2019 : 01:43:40
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/11/2019 : 09:23:26
Server support said they changed the setting to not cache. When I go to the site and choose a product. Click the "checkout" button is asks me to log into my account. I log into my "customer account" and it says login successful. When I go to "shopping cart" in the header it goes back to the screen to log into my account. If I click to view the cart a second time it says I am logged into my account and the products are shown in my cart.
If I delete the items from my cart and click to "log out" it says I'm logged out then the cart screen reappears with the products I deleted in the cart and it says I am logged in.
I will email you my customer account logins to see what happens for you.
This client is REALLY frustrated with all this.
Ray Cramblit
|
Vince
Administrator
42874 Posts |
Posted - 07/11/2019 : 10:13:20
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/11/2019 : 12:02:31
Thanks for the link.
I called support AGAIN. That person got the cache setting to zero on that testing site link you sent. I went to the cart and it seems to work correctly. I emailed the client to have her test it out. I will keep you posted.
Thanks for all your help on this. I REALLY appreciate it!
Ray Cramblit
|
Vince
Administrator
42874 Posts |
Posted - 07/11/2019 : 13:30:29
|
RayCramblit
Advanced Member
USA
173 Posts Pre-sales questions only (More Details...)
|
Posted - 07/11/2019 : 14:43:46
Client says working on all PCs except hers. Has technician coming tomorrow to check it out.
I mentioned in an earlier post about the following htaccess script I found online. If I ever wanted to set the cache on a particular website would this code work:
<IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires 0 </IfModule>
Ray Cramblit
|
|
|