New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why is that the assetcompress cannot display the compressed css correctly? #253
Comments
Sounds like there is an issue with the development cache and theme files. I can look into that. |
Thank you, markstory. I am still using Cake2, so will the fix work for that? |
I can make it work 💃 |
Thank you, markstory :) |
Thank you. It is working again. Cheers!~ |
Awesome, thanks for reporting the issue 😄 |
Should I write a unit test for this? and if so, can give me a few clues as to how to get started? |
I added tests in 5b0b338 |
Okay. Cheers. Thank you :) |
This is what gets displayed when I echo the assetcompress.
$this->AssetCompress->css('public-index.css', array('block' => 'layoutCss'));
http://example.com/cache_css/public-index.css?theme=V2Beta
Inside the response, I get Warning (2): file_get_contents(/var/virtual/example.com/current/src/storyzer/tmp/cache/asset_compress/public-index.css): failed to open stream: No such file or directory
My compressed files are actually like
webroot/cache_css/V2Beta-public-index.v1400332156
This is my asset_compress.ini
; Create the CSS extension
[css]
theme = true
timestamp = true
paths[] = WEBROOT/css/*
cachePath = WEBROOT/cache_css
[public-index.css]
theme = true
files[] = theme:css/common/no-banner-styles.css
files[] = theme:css/common/common.css
files[] = theme:css/common/form.css
files[] = theme:css/common/banner.css
Now using AssetCompress v0.17 because still using cakephp 2.x
The text was updated successfully, but these errors were encountered: