Announcement

Collapse
No announcement yet.

CSS files empty

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS files empty

    My project runs fine locally, but when I upload it to our cPanel server, some pages (particularly grids) are not formatted properly as if CSS is missing. I discovered that the _lib/css folder shows several empty CSS files. Is this normal? Perhaps there is no permission issue?

    drwxr-xr-x 15 user user 4.0K Dec 10 16:03 ../
    -rw-r--r-- 1 user user 0 Dec 10 16:19 sc_css_grid_patient_grid_296.css
    -rw-r--r-- 1 user user 0 Dec 10 16:20 sc_css_grid_patient_grid_347.css
    -rw-r--r-- 1 user user 0 Dec 10 16:19 sc_css_grid_patient_grid_360.css
    -rw-r--r-- 1 user user 0 Dec 10 16:21 sc_css_grid_patient_grid_569.css
    -rw-r--r-- 1 user user 0 Dec 10 16:20 sc_css_grid_patient_grid_600.css
    -rw-r--r-- 1 user user 0 Dec 10 16:20 sc_css_grid_patient_grid_679.css

    Any thoughts?

    Thanks!!

  • #2
    i have also observed this behavior on some of my deployments.
    Usually uploading the lib folder fixes my problems.
    ************************************************** ********
    We are Developing your Future Business Requirement right now with Scriptcase.
    www.sri.com.au & www.madikonda.com

    Comment


    • #3
      What's also interesting is that some of my existing projects are experiencing the same issue -- even though they were deployed a long time ago and worked then. I suspect that some server security or change in PHP version is causing the .css files to be generated with a 0 size, but I really don't know where to start. The file permissions seem to be correct (otherwise I would expect the files not to be saved at all, not saved with 0 bytes).

      Comment


      • #4
        I just pushed the server from PHP 5.4 back to 5.3 to see if that would help. No such luck.

        Comment


        • #5
          Originally posted by TechGuy View Post
          The file permissions seem to be correct (otherwise I would expect the files not to be saved at all, not saved with 0 bytes).
          Do you have free space on the Hard Drive? One indication of the file being generated with a 0 size is free space.
          ************************************************** ********
          We are Developing your Future Business Requirement right now with Scriptcase.
          www.sri.com.au & www.madikonda.com

          Comment


          • #6
            You get a gold star! I actually figured that out a couple of days ago, but forgot (and perhaps was embarrassed) to report back here. The projects were all running on an account that had used up it's disk quota. Oops!!

            Comment

            Working...
            X