9 Replies - 439 Views - Last Post: 22 April 2013 - 09:34 AM

#1 0rchid0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-June 12

Drupal CSS caching issue?

Posted 22 April 2013 - 08:04 AM

I'm just going to copy and paste what I put on stackoverflow and the drupal issues forum:
So, my Drupal site is not reflecting any CSS changes I make. I've tried doing a hard cache of the site, I've tried multiple browsers, I've checked the actual stylesheet on the server to make sure it's copying over (the stylesheet reflects the changes, but the actual site does not). I've, of course, gone to the clear cache section under configuration/performance on the admin panel. I have gone into the FTP and manually deleted the cache. I have cleared my own browsers' cache. The CSS files are going in the correct folder (I've checked that, too!). I have done literally everything I can think of. I have tried toggling the aggregate & compress css options on and off, clearing the cache in between. I inspected the page source, and it is definitely still presenting with the old CSS.

Every attempt at debugging has led me to believe that this has something to do with the DNS not refreshing. I read somewhere that someone made some kind of changes to the A Name Record. I've set the TTL to 1/2 hr, reset the A Name Record manually, and I removed the forwarding I had on the domain, just in case.

These are the things I have done. People of Stack Overflow, what am I missing? I've scoured the net for a solution, and nobody who's had this problem has found a solution. Has anyone had this problem and fixed it? What did you do? Any ideas?

::edit:: I just wanted to add that I'm using Skeleton Theme as a base.

::edit edit:: I've also used Devel to Rebuild the Theme Registry.

::edit edit edit:: Ok. The plot thickens. I went to look at the theme installation, to see if there was any way I could change the theme out, to see if it would reset- The theme selected was Garland.... I'm using/displaying Skeleton. It would seem perhaps there's some kind of directory issue, where Drupal is searching for changes in another theme folder? Could that be it? How could that be?

Is This A Good Question/Topic? 0
  • +

Replies To: Drupal CSS caching issue?

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8371
  • View blog
  • Posts: 31,100
  • Joined: 12-June 08

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:14 AM

Okay - ground level.. are entirely separate machines not picking up on the change?

I am not sure what version of drupal you are on, but in the 'admin->settings->performance' I remember something about 'optimize css' being an issue I need to turn off when I worked on a theme.

When having some issues I used Devel to help in the investigation.
https://drupal.org/project/devel

Skimming through some old notes you could try to use 'drupal_flush_all_caches'.

http://api.drupal.or...sh_all_caches/6
Was This Post Helpful? 0
  • +
  • -

#3 0rchid0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-June 12

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:22 AM

@modi123_1 - The optimize css thing is part of the aggregate & compress, so that one's crossed off the list
I'm going to try the drupal_flush_all_caches, definitely. Thank you for comparing notes. :D
Was This Post Helpful? 0
  • +
  • -

#4 0rchid0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-June 12

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:47 AM

I'm using drupal 7.

Question about the cache code. Do I need to use drush to implement it? How/where would I call it? I checked around. Documentation is lacking.
Was This Post Helpful? 0
  • +
  • -

#5 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8371
  • View blog
  • Posts: 31,100
  • Joined: 12-June 08

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:51 AM

If I remember right - drush is something you would install outside your webfolder on the box itself.
Was This Post Helpful? 0
  • +
  • -

#6 0rchid0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-June 12

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:53 AM

It's a command line for Drupal.
Was This Post Helpful? 0
  • +
  • -

#7 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8371
  • View blog
  • Posts: 31,100
  • Joined: 12-June 08

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:56 AM

yeah so it would need to be installed on the box.
Was This Post Helpful? 0
  • +
  • -

#8 0rchid0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-June 12

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 08:59 AM

I'm a bit of a noob. Sorry. :P What I was suggesting was putting the flush_all_cache() code in a file somewhere, and using drush to call it?
Was This Post Helpful? 0
  • +
  • -

#9 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8371
  • View blog
  • Posts: 31,100
  • Joined: 12-June 08

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 09:10 AM

Ah.. no it would be in a module... No need for drush to be installed.

Example - Jeffiekins and Shaun Dychko's answer here:

http://stackoverflow...e-without-devel
Was This Post Helpful? 0
  • +
  • -

#10 0rchid0  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 20-June 12

Re: Drupal CSS caching issue?

Posted 22 April 2013 - 09:34 AM

Oh, perfect. I'm going to work on that right now. Thank you so much!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1