View Single Post
  #1  
Old 02-24-2016, 06:47 PM
 
shaz shaz is offline
 

Senior Member
  
Join Date: Jul 2008
Location: Sydney, Australia
Posts: 174
 

Default css and js file path incorrecy after Clear templates/X-Cart cache

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:
<link rel="stylesheet" type="text/css" href="https://www.mysite.com/var/cache/1.d31caeb2a7e130d850d18586a21bec90.css" /> <script type="text/javascript" src="https://www.mysite.com/var/cache/1.3bcd76ddab735d3e79b203d91663ce94.js"></script> <script type="text/javascript" src="skin/common_files/modules/Banner_System/js/jquery.cycle.all.js"></script>

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
Reply With Quote