I am using Version 3.0.2.0. This is the website URL: http://wall2wall.dev.pogo-digital.co.uk/ (this is a development website)
If you try to order anything and go to the checkout, try to login using the below login, the page refreshes but still shows need to login section (step 1).
user: user: li@pogo-digital.co.uk
pass: 1111
But if you Ctrl + F5, then the page is loaded, you can see the login session has started and the page shows step 2.
The same issue happens on cart, login / logout section as well. When you do something 1st time, it doesn't work, you then do Ctrl + F5, then it works.
I have been struggling to find any solution on this.
Can anyone help? It is a bit urgent as the website needs to be gone live very quickly.
Many thanks,
Regards,
P
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Regarding login, as we see issue might be cauased by caching on server -> viewtopic.php?t=124597 and it's opencart engine functionality, it's not related to tempalte iself , so we do not provide support regarding this issue.
2) Regarding payment methods, as we see there is some issue related to cache as well, since we were able to go until payment first time and see 2 options for payment, but second time doing the same actions we were not able proceed to payment even so , since face issue with this ->
http://prntscr.com/p1ew74
Also, we would like to note that issue is not related to template or modules that are provided with template, that is why it's beyond of scope of our support.
It's engine issues, so first thing is to check forum of opencart, since it's free software ->
https://forum.opencart.com/
That's why I m trying for help here.
Thanks
Do you have an caching / speed accelerating extensions?
If not, I would suggest you disable the extensions / theme and see if its ok on the default theme.
You can also search for cache control headers on google
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Network tab, check disable cache.
check if you still have the issue.
if yes, you are still caching server side.
if no, you are sending the wrong cache headers to the browser.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Thank you letxobnav.
I have tried to disable the cache in Network tab and it seems the issue is gone.
Do you know how to check the cache headers? and maybe disable the cache header?
Could you please advise?
Many thanks.
P
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Thank you letxobnav for your help.letxobnav wrote: ↑Thu Sep 05, 2019 10:24 pmviewtopic.php?f=202&t=213072&p=761353&h ... he#p761353
make that change and it should be fine.
I found the issue which was the expiry scripts in the .htaccess file that comes with the theme. Like the below:
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access plus 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
# Resources
ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
</IfModule>
# -----------------------------------------------------------------------
# Defining MIME types to ensure the web server actually knows about them.
# -----------------------------------------------------------------------
<IfModule mod_mime.c>
AddType application/javascript js
AddType application/vnd.ms-fontobject eot
AddType application/x-font-ttf ttf ttc
AddType font/opentype otf
AddType application/x-font-woff woff
AddType application/x-font-woff2 woff2
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</Ifmodule>
As soon as I deleted those lines, the website works fine. hehe.
Thank you all for your help.
P
the only problem there is this line:
Code: Select all
ExpiresDefault "access plus 1 month"
so make that line:
Code: Select all
ExpiresDefault A0
And leave the others in place.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Users browsing this forum: No registered users and 81 guests