I have almost finished setting up my first opencart setup.
I have two problems at the moment
1. The url SOMETIMES (not always) shows as /shop which is right, and is how the main page should show. But sometimes it changes to shop/index.php?route=common/home. A few other pages end up showing this sort of thing too. Any idea how I can prevent this?
2. There is some sort of caching issue. for example a new user registers an account and logs in to it, but they are then prompted to log in again over and over until a forced refresh of the page makes it realise they are logged in. Any ideas how to fix that?
Opencart looks like a really great system and I'm looking forward to learning more and more about it, any help you can give on the above two points would be EPIC
Best regards
Luke
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Ensure your system/storage folder is outside your public_html folder. Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. Remove the entire line in your .htaccess where it says: ^system/storage . Set recursive permission settings to your storage folder. Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. This should resolved the issue.lukeketchum1 wrote: ↑Thu Feb 08, 2018 11:31 pmHey straightlight I used saintents SEO Url fix and the URLs appear to all look nice now. still got this cache problem though :-(
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have installed opencart version 3.0.3.2 uploaded the theme http://opencart.opencartworks.com/theme ... /index.php this layout, earlier everything was working fine but now facing issue with the cache in the cart and checkout page, cart and checkout both are not refreshing by itself i have to forced refresh the pages makes it refresh with the product and quantity chosen . Sometimes cart page doesn't redirect to checkout page when we click the checkout button. Same issue with the login and logout and register pages. When you are logout and try to login from other account it will still shows previous account login doesn't allow new user to login.
other than theme using below 2 plugins
SEO XML Sitemap Generator - UNLIMITED LINKS
Opencart SEO Pack PRO
Please give some solution for this issue
also tried this solution but doesn't help much
"Ensure your system/storage folder is outside your public_html folder. Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. Remove the entire line in your .htaccess where it says: ^system/storage . Set recursive permission settings to your storage folder. Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. This should resolved the issue. "
Thanks and regard
zeba
No sourced topic provided. Those instructions are already clarified as is. If you don't understand the steps, please post on the topic itself by pointing the post and explain the results after trying those steps due to a failed process on your end.Please give some solution for this issue
also tried this solution but doesn't help much
"Ensure your system/storage folder is outside your public_html folder. Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. Remove the entire line in your .htaccess where it says: ^system/storage . Set recursive permission settings to your storage folder. Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. This should resolved the issue. "
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
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.
I had the same issue (OC 3.0.2.0). As OC does not set the Cache-control header, the default header set by the webserver is used. In my case, it waslukeketchum1 wrote: ↑Wed Jan 31, 2018 9:02 pm2. There is some sort of caching issue. for example a new user registers an account and logs in to it, but they are then prompted to log in again over and over until a forced refresh of the page makes it realise they are logged in. Any ideas how to fix that?
Code: Select all
Cache-Control: max-age=7200
TLDR: Set
Code: Select all
Cache-control: no-store, no-cache, must-revalidate
Thanks its for me !!!straightlight wrote: ↑Fri Feb 09, 2018 5:59 amEnsure your system/storage folder is outside your public_html folder. Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. Remove the entire line in your .htaccess where it says: ^system/storage . Set recursive permission settings to your storage folder. Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. This should resolved the issue.lukeketchum1 wrote: ↑Thu Feb 08, 2018 11:31 pmHey straightlight I used saintents SEO Url fix and the URLs appear to all look nice now. still got this cache problem though :-(
Regards
Himanshu
Excellent, good work!ahimanshu wrote: ↑Fri Nov 06, 2020 8:46 pmThanks its for me !!!straightlight wrote: ↑Fri Feb 09, 2018 5:59 amEnsure your system/storage folder is outside your public_html folder. Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. Remove the entire line in your .htaccess where it says: ^system/storage . Set recursive permission settings to your storage folder. Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. This should resolved the issue.lukeketchum1 wrote: ↑Thu Feb 08, 2018 11:31 pmHey straightlight I used saintents SEO Url fix and the URLs appear to all look nice now. still got this cache problem though :-(
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
https://github.com/condor2/Opencart_303 ... 6d9c866591
https://github.com/condor2/Opencart_303 ... 2a19887126
There's one more for the language cache and I can't find that link at the moment. I'll return and post it when I find it again.
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
This one appears to be:straightlight wrote: ↑Mon Nov 09, 2020 2:34 amTake note that these cache solutions on Github from the above are not official solutions for the core yet.
https://github.com/opencart/opencart/co ... e3dd68e019
This is the 3rd one I was looking for earlier:
https://github.com/opencart/opencart/co ... 06d64ba2a8
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com
The first link appears but it's not.EvolveWebHosting wrote: ↑Mon Nov 09, 2020 8:48 amThis one appears to be:straightlight wrote: ↑Mon Nov 09, 2020 2:34 amTake note that these cache solutions on Github from the above are not official solutions for the core yet.
https://github.com/opencart/opencart/co ... e3dd68e019
This is the 3rd one I was looking for earlier:
https://github.com/opencart/opencart/co ... 06d64ba2a8
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 19 guests