Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CSS cache files created as empty

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-14-2012, 06:23 AM
 
spdesign spdesign is offline
 

Advanced Member
  
Join Date: Mar 2010
Posts: 31
 

Default $css_files array is empty?

Recently upgraded our store from 4.2 to 4.4.5 and switched a development version of the site that I had been working on to the live version.

It was working fine in a subdirectory.

But now that it's in the root directory, the storefront css is reading as empty.

I have updated config and options. Admin css is working fine.

I think there is a glitch in the css cache file generation? Anyone encountered this?

[removed link because I am going to try a fresh install, but if this situation sounds familiar to anyone, I would love some insight]


EDIT: There seems to be a problem with generating the $css_files array? Basically, I know that service_css.tpl generates a list off <link>s for .js and .css files, and this is empty for some reason. The file only outputs blank lines.

Not sure whether that helps anyone give me an idea where to start.
__________________
===========
x-cart gold/classic
4.6.4

Last edited by spdesign : 07-14-2012 at 07:54 AM. Reason: gathering more info
Reply With Quote
  #2  
Old 07-14-2012, 08:28 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,199
 

Default Re: CSS cache files created as empty

Have you cleared XC cache - cleanup.php? Do you have Speed Up tools on? Try turning them off (admin/settings). The tpl file does not generate anything - the php files do this. Sounds like you do have the speedup tools on and there is some problem with the caching. Make sure also var directory subdirecrories have correct permissions so XC can read/write there. Look in /var/log for errors
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 07-14-2012, 08:52 AM
 
spdesign spdesign is offline
 

Advanced Member
  
Join Date: Mar 2010
Posts: 31
 

Default Re: CSS cache files created as empty

I did empty all the cache directories, etc. and check permissions.

Doing a re-install and then re-uploading all of my customized files just did the trick. I didn't think to check Speed Up tools, but if this happens again or with another store, I know to look at that.

Thanks much for your help.
__________________
===========
x-cart gold/classic
4.6.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:58 PM.

   

 
X-Cart forums © 2001-2020