0
Welcome Guest! Login
0 items Join Now

SOLVED Thousands of CSS files in css-compiled folder

    • AJ UM's Avatar
    • AJ UM
    • Rocketeer
    • Posts: 68
    • Thanks: 0

    SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • I moved a Wordpress installation from sub-directory to root and while I was looking for old url to fix them I noticed that all of them were in the css files. They still have the wrong url in them.
      So far I have 1302 .css file in my css-compiled folder.
      I'm not sure if this is a normal behavior or I need to fix something.
      Can I delete the old ones? I have alsmost a year worth of files.

      I'm running WordPress in a Windows server with Alerion template.
      Any help is appreciated.
      Thank you.
    • Last Edit: 9 years 2 months ago by AJ UM.
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • AJ UM's Avatar
    • AJ UM
    • Rocketeer
    • Posts: 68
    • Thanks: 0

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • I'm not exactly sure how the url get altered. I moved the website from a different server to the main server on a sub-directory then to the root. I also had and I probably still have some permission issues.
      I removed the files and they did not get created automatically. I refreshed and saved the theme from the admin in hope that it will generate new files but it didn't. Will it be a permission issue or something else?
      Thanks for your prompt response.
    • AJ UM's Avatar
    • AJ UM
    • Rocketeer
    • Posts: 68
    • Thanks: 0

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • I went back to my documentation and found how/why the url got changed.
      The issue I had was the speed and it seemed that was caused by "novecento" font. I found in this forum a suggestion to add to add the full path to the font in the file variable.less under less folder. It seemed to have fixed my issues at that time (the installation was in a subfolder).
      But I still don't think this is the issue why the files are not generated or why they are added in that huge number. It's taking 300 Mb of the disc.
      @font-face {
      	font-family: 'Novecento';
      	src: url('../fonts/novecentowide-normal-webfont.eot');
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • AJ UM's Avatar
    • AJ UM
    • Rocketeer
    • Posts: 68
    • Thanks: 0

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • I understand your point but I belive you can tell me how the css files are being generated without me having to pay for support.
      For now I change the CSS, for example the position background and it won't take effect. I check the css-compiled fodler and no change. I have the same number of files 1301 and the same date of modification.
      I tried to clear the cach from the Alerion Theme Interface and all the default styling in gone on the website. I can still see the customized styles abut not the default one. I restored the database and it's back!!!
      So at this point I'm not sure if it's permission issue or not. My first guess will be permission but I might be wrong.
      I appreciate your help.
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • AJ UM's Avatar
    • AJ UM
    • Rocketeer
    • Posts: 68
    • Thanks: 0

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • The files were generated when I had the website in the Development server with ful permissions to anonymous user (windows platform).
      When I went live I had to reinforce the permission because of an SEO URL Injection attack we had.
      So the files I have now date back to when I had the website on Dev server.
      I deleted the files but non has been generated and my website didn't render properly. So I restored the files from my backup.
      Now if I make any change on the style nothing get saved.
      My question remains the same, what folder and what permission should I have for windows.
      Thanks for your prompt response.
    • AJ UM's Avatar
    • AJ UM
    • Rocketeer
    • Posts: 68
    • Thanks: 0

    Re: SOLVED Thousands of CSS files in css-compiled folder

    Posted 9 years 2 months ago
    • I think I got it.
      I granted Network and Network Services users Write and Change permission under the CSS_Compiled folder and it seemed to fix the problem.
      Now the CSS files are generated automatically once I delete them and it also saves my style changes.
      Thanks for your suggestions.

Time to create page: 0.057 seconds