buivanhieu.com Posted May 13, 2016 Share Posted May 13, 2016 Hi guys, i have issue for Prestashop theme hope you can help. My theme working perfectly but when i enable CCC for CSS, it can not load file all.css (compress css file). It say "NetworkError: 404 Not Found - http://domain.com/cache/v_13_e8ff65859bce051dd7225339c838f634_all.css". I try to turn it on in Localhost but the same issue, i dont know what exactly make this error. Can u help me, thanks in advance Link to comment Share on other sites More sharing options...
bellini13 Posted May 13, 2016 Share Posted May 13, 2016 If you are using PS v1.6.1.5 and you have installed prestashop in a sub-folder, then this is a known defect. You should search their github or the forums for this issue, it has already been fixed, but you will need to apply a patch. Link to comment Share on other sites More sharing options...
west28 Posted May 14, 2016 Share Posted May 14, 2016 I debug this. And all native module made by PrestaShop works fine but other modules where css is included in the same way as native is broken. In ...all.css is not included css files from this modules. All files is cleared and checked in css validator. The path is ok, the files is ok, file Media.php was changed.... So question is: What I'm doing wrong ? Is there a change in method to include css files ? (in previus version PrestaShop this modules works fine) simple code from broken module public function hookHeader() { $this->context->controller->addCSS($this->_path.'css/front/FINALmenu_'.$this->shop_id.'.css'); $this->context->controller->addCSS($this->_path.'css/front/animate.css'); } code from other broken module $this->context->controller->addCSS($this->_path.'/css/platributes.css'); Link to comment Share on other sites More sharing options...
bellini13 Posted May 15, 2016 Share Posted May 15, 2016 it is a bug with PS v1.6.1.5. Link to comment Share on other sites More sharing options...
west28 Posted May 19, 2016 Share Posted May 19, 2016 ok so in git is a any fix ? I searched and nothing found...... Link to comment Share on other sites More sharing options...
west28 Posted May 22, 2016 Share Posted May 22, 2016 This fix not working. Before I posted I check this. Shop is installed in root folder. It looks like css cache don't include module css files. I checked it on two separated servers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now