Storing CSS as file system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • control1110
    Member
    • Sep 2006
    • 93
    • 3.6.x

    [Forum] Storing CSS as file system

    Hi,

    I am having an issue when I try to store my css in the filesystem as appose to the database. I am missing the main-rollup.css in my /clientscript/vbulletin_css/style00011l/ directory so my css does not load correctly when I change it to filesystem. How do I generate this file?

    Thanks
    http://www.pegym.com
    vb 4.2.0 Patch 2
  • TheLastSuperman
    Senior Member
    • Sep 2008
    • 1799

    #2
    Your vbulletin_css directory chmod needs to be 777 in order for the site to "write/store" the files into that folder.


    Former vBulletin Support Staff
    Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
    Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

    Comment

    • control1110
      Member
      • Sep 2006
      • 93
      • 3.6.x

      #3
      I have chmod the entire directory and all subdirectories and files to 777 and I still receive the error could not create css files
      http://www.pegym.com
      vb 4.2.0 Patch 2

      Comment

      • TheLastSuperman
        Senior Member
        • Sep 2008
        • 1799

        #4
        Then set to save as files, then set back to database, then back to saving as files... did that do anything at all?


        Former vBulletin Support Staff
        Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
        Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #5
          It is worth noting that the setting isn't nearly as useful as it was in vb3, unless you're using a CDN.

          Comment

          • control1110
            Member
            • Sep 2006
            • 93
            • 3.6.x

            #6
            I am using a CDN.

            - - - Updated - - -

            Also based on the speed test it seems the CSS is one of the reason's it is running so slow http://tools.pingdom.com/fpt/#!/LSZy...gym.com/forums
            http://www.pegym.com
            vb 4.2.0 Patch 2

            Comment

            • control1110
              Member
              • Sep 2006
              • 93
              • 3.6.x

              #7
              bump
              http://www.pegym.com
              vb 4.2.0 Patch 2

              Comment

              • TheLastSuperman
                Senior Member
                • Sep 2008
                • 1799

                #8
                Which CDN? I've worked on sites before where for example using Akamai we had to do extensive edits and such to make it all work as best it could however I never had a issue like you do currently.


                Former vBulletin Support Staff
                Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
                Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!

                Comment

                • Trevor Hannant
                  vBulletin Support
                  • Aug 2002
                  • 24325
                  • 5.7.X

                  #9
                  Does the clientscript/vbulletin_css directory have the same 'owner' as all other vBulletin directories? If not, you'll need to CHOWN it to the same.
                  Vote for:

                  - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                  - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                  Comment

                  • SkyStryder
                    Member
                    • Oct 2007
                    • 50

                    #10
                    It appears as though vBulletin just checks the permissions and if they are not 777,
                    it doesn't work, even if the server is running suphp or ruid2.

                    Comment

                    • BirdOPrey5
                      Senior Member
                      • Jul 2008
                      • 9613
                      • 5.6.3

                      #11
                      I'm seeing this happen on a site too... definitely chmod 777, correct owner, all css files are creates except main-rollup.css.

                      Will post back if I find a solution. If anyone figured it out please let me know.

                      Comment

                      • tintin74
                        Member
                        • Jul 2007
                        • 99

                        #12
                        Originally posted by Joe D.
                        I'm seeing this happen on a site too... definitely chmod 777, correct owner, all css files are creates except main-rollup.css. Will post back if I find a solution. If anyone figured it out please let me know.
                        Same for me, Joe. Did you find a solution for this?

                        Comment

                        • BirdOPrey5
                          Senior Member
                          • Jul 2008
                          • 9613
                          • 5.6.3

                          #13
                          No, I don't think so.

                          But do this-

                          1) Move CSS back to the database

                          2) Rename the vbulletin_css folder to vbulletin_css_old inside /clientscript/

                          3) Create a new folder vbulletin_css and chmod it 777

                          4) Disable all mods by disabling hooks- http://www.vbulletin.com/forum/forum...ystem-globally

                          5) Put CSS back in the file system

                          Check if it works... if it does, re-enabled hooks... well... renable hooks either way I guess, but if it works obviously keep the css in the file system.

                          Comment

                          • tintin74
                            Member
                            • Jul 2007
                            • 99

                            #14
                            Hi Joe, thank you for these instructions. I've tried, but it doesn't work at all:

                            Once I've put back css into the file system, it creates the css folders for every theme. It put into these folders all the theme .css files except for "main-rollup.css" . Cms-rollup.css and blog-rollup.css are there. It's a strange situation... All .css files are succesfully created except main-rollup.css.

                            I dont' know how to solve this strange issue...


                            Comment

                            • BirdOPrey5
                              Senior Member
                              • Jul 2008
                              • 9613
                              • 5.6.3

                              #15
                              It's weird... Can you view your PHP error logs- see if any error is logged at the time you move CSS back to the file system?

                              Comment

                              Related Topics

                              Collapse

                              Working...