0

I'm fairly new to Drupal, but when trying to install a new module, I was instructed to clear the cache. Now, all of the styling on my website is missing and I don't know what to do.

  • What theme are you using? – NickyTheWrench Jun 9 '16 at 20:06
  • A custom theme based HTML5 starter kit for Omega, @NickyTheWrench – Nicholas Tomlin Jun 9 '16 at 20:28
  • There are many possible reasons why this can be happening - we must narrow it down. View the source of the webpage or inspect it with firebug. Check to see whether or not there are any CSS files being successfully loaded within the HEAD element. Did you recently setup SSL for the website? Also check yourtheme.info file located in root/sites/all/themes/yourtheme - check that the stylesheets are listed correctly there. – NickyTheWrench Jun 9 '16 at 20:37
  • If I inspect element on the homepage of my site, I can find several resources that fail to load. These are all located in /sites/default/files/advagg_css and /sites/default/files/advagg_js. The error says that I am forbidden to access these files, but they do exist on the server. – Nicholas Tomlin Jun 9 '16 at 20:48
  • Any luck with my answer below? – NickyTheWrench Jun 9 '16 at 23:17
0

The webserver must not have the correct permissions to access those CSS and JS files. You need to set the correct permissions on the /sites/default/files/css and /sites/default/files/js directories. Allow read access at the very least.

  • I ran chmod -R 755 . in each of the directories but to no avail. – Nicholas Tomlin Jun 10 '16 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.