Hi,
CLEAN URLS:
I tried it with 'Clean URLS" both ON and OFF. Same Result
PERMISSIONS:
Does not seem to be permissions as it finds all the files.
I went as fas as setting permissions to 777 from css folder down to all files within.
NOTES:
I am using a Varnish reverse proxy:
I have tried it both ways: 1) thru Varnish and 2) using port 8080 to go around Varnish
Platform:
CentOS 6.5
Apache
MySQL
Varnish
Drupal 7.26
I also:
1) turned off the Google Page Speed and restarted Apache.
2) turned off the CSS files caching and aggregation on dev/performance
3) I flushed the CSS cache with DRUSH
I attached the NET console from firebug.
Thank you.
Respectfully,
Patrick O'Leary
Comment | File | Size | Author |
---|---|---|---|
#8 | Live CSS screen shot.png | 1.27 MB | pmol123 |
#6 | Drupal Status.png | 210.69 KB | pmol123 |
#3 | Varnish Screen.png | 130.8 KB | pmol123 |
FireBug Net Console.png | 213.97 KB | pmol123 |
Comments
Comment #1
deryck.henson CreditAttribution: deryck.henson commentedHave you installed the Varnish Module?
In addition, check your VCL against this code (retrieved from here).
The main thing that changed that is likely to be causing this for you is when I patched a security hole that allowed anyone to access the /css/save path and POST/GET anything they wanted. It now verifies your user permissions against the 'edit css'.
If your site is www.social.net, I tested against opening /css/save and it did not give me the necessary error message (aka - 'Access Denied').
Comment #2
pmol123 CreditAttribution: pmol123 commentedYes, the varnish module is installed.
However, please note that it also failed when I went around the varnish cache directly to the apache port with http://www.social.net:8080. I generally develop on port 8080 to eliminate any varnish issues.
Perhaps an option to have a list of IPs that are allowed to have the the "Edit CSS" JavaScript loaded. I did this with CSS_Watch a long time ago.
I will check the Varnish VCL file with your suggestion.
I uploaded the screen shot of the varnish config screen
Respectfully
Patrick
Comment #3
pmol123 CreditAttribution: pmol123 commentedComment #4
deryck.henson CreditAttribution: deryck.henson commentedPost your .htaccess and a copy of your Status Report page (shouldn't be anything security-compromising but do a once-over before submitting here). Also, a screenshot of the Live CSS editor with the file list opened would be useful as well.
Comment #5
pmol123 CreditAttribution: pmol123 commentedOk, the "sub vcl_hash" cause an error and varnish would not start.
I will upload the screen shots your requested.
Patrick
Comment #6
pmol123 CreditAttribution: pmol123 commentedComment #7
pmol123 CreditAttribution: pmol123 commentedDrupal Status: All Green :)
Comment #8
pmol123 CreditAttribution: pmol123 commentedComment #9
pmol123 CreditAttribution: pmol123 commentedOK, all the files are uploaded as you requested.
Let me know if you want the Varnish VCL file.
Thank you. :)
Respectfully,
Patrick
Comment #10
pmol123 CreditAttribution: pmol123 commentedPlease note: The Varnish "sub_hash" code you gave me caused an error and varnish would not start.
Patrick
Comment #11
deryck.henson CreditAttribution: deryck.henson commentedDisable jQuery Update module, flush caches and report back.
I'll do some extra debugging over here while you do that.
Comment #12
deryck.henson CreditAttribution: deryck.henson commentedAnd add this to the VCL to avoid caching the path ever:
You can remove the previous VCL settings since they don't work for you.
Comment #13
pmol123 CreditAttribution: pmol123 commentedMr Henson, you are amazing, I never would have been able to debug that!
I added the varnish code, disabled the jquery_update and flushed the caches and it worked.
Patrick
Comment #14
pmol123 CreditAttribution: pmol123 commentedOK,
I re-enabled:
1) query_update and set it to 1.8 (tested views too)
2) clean-urls
ALL WORKS QUITE WELL!!! THANK YOU!!!
Perhaps it would be good to put a big bold banner on the Drupal project page and site configuration page to tell developers to:
1) Disable Google Page Speed
2) Install the Varnish VCL code if using Varnish
It would be neat if there was a module to disable google page speed.
Respectfully,
Patrick O'Leary
Comment #15
deryck.henson CreditAttribution: deryck.henson commentedI would add something along those lines but I don't have access to edit the description here.
But yes, it would be nice. Not likely though, since it requires an Apache restart after disabling the mod entirely.
Glad it's working out for you. Let me know if you have any future problems.