| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
css and js file path incorrecy after Clear templates/X-Cart cache | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() We've come across an odd issue with a xc4.6.1 client site (there has been many devs work on this site in its history)
Whenever we 'Clear templates/X-Cart cache' the css and js file paths do not update and teh template still look for the .css and .js files previously cached and does not reference the new ones. e.g. Code:
This only affects the client front end and not admin template. does not occur with var/templates_c, only var/cache. I've checked the permissions, they are all fine. I've searched for hard coded css references and cannot find any... can anyone advise what I missing? Thanks in advance! xc4.6.1
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Look at the changelog for 4.6.2 as there are some cache fixes that sound like they may pertain to you. Upgrading from that early version of 4.6 should be a priority. Lots of fixes.
|
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks for taking the time to reply Cherie
![]() Makes sense that it would be a bug.... There are a heap of custom mods on this one... before we go and open more cans of worms.......... can anyone from Qualiteam confirm is the caching issue is due to the version 4.6.1 please?
__________________
Shaz X-Cart Developer Sydney - Australia |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Just upgrade to 4.6.5 - that way you stay within version and all 3rd party mods will still work without the need to upgrade them.
If this doesn't fix it then you can think about going further to 4.7.5 The other thing you can do is just remember to turn off speed up tools, clear cache, then turn them back on. This should force cart to use correct cached files.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|