ataylor37 Posted April 30, 2012 Share Posted April 30, 2012 Hi, I've downloaded an official prestashop theme http://addons.presta...emplate-15.html however i cant get ccc to combine my css and javascript files. Anyone else have this problem or know how to fix it? You can try it with a default install and see. Edit. Its a version 1.4 theme with the look of version 1.5 Link to comment Share on other sites More sharing options...
ataylor37 Posted May 10, 2012 Author Share Posted May 10, 2012 bump Link to comment Share on other sites More sharing options...
shacker Posted May 13, 2012 Share Posted May 13, 2012 maybe some modules are not working to ccc, with the other prestashop theme works? Link to comment Share on other sites More sharing options...
Trip Posted May 14, 2012 Share Posted May 14, 2012 I have the same problem. With prestashop default it is working but not with prestashop_new. I've tested different settings but all with the same result. As the default template is running as expected it can not be a module incompatibility. Best regards, trip Link to comment Share on other sites More sharing options...
shacker Posted May 14, 2012 Share Posted May 14, 2012 both themes have the same <header> you try force compile on preferences, performance? Link to comment Share on other sites More sharing options...
Trip Posted May 16, 2012 Share Posted May 16, 2012 (edited) Hi Shacker, after inspecting the code I found out that there was no cache directory in the template folder so it stopped here if ((Configuration::get('PS_CSS_THEME_CACHE') OR Configuration::get('PS_JS_THEME_CACHE')) AND is_writable(_PS_THEME_DIR_.'cache')) in the FrontController.php The folder was not included in the package I downloaded from addons site!! Can you forward this to PS-Team? Maybe they think about an error message/check folder permissions etc. after activating a theme, too? Best regards, trip Edited May 16, 2012 by Trip (see edit history) 2 Link to comment Share on other sites More sharing options...
ataylor37 Posted May 16, 2012 Author Share Posted May 16, 2012 Thanks a lot trip. That fixed the problem. Was searching everywhere to find out where the problem was. I'm surprised a theme developed by the prestashop team overlooked this. Link to comment Share on other sites More sharing options...
shacker Posted May 16, 2012 Share Posted May 16, 2012 oka, i send to prestateam Link to comment Share on other sites More sharing options...
anmbr Posted June 1, 2012 Share Posted June 1, 2012 Hi, I using the same theme as you, but i can't use CCC. Doesn't create folder /cache in my folder theme. And isn't permisson denied. In back office i've checked to use CCC for javascript and press save, returned ok but doesn't made changes in my site Link to comment Share on other sites More sharing options...
shacker Posted June 1, 2012 Share Posted June 1, 2012 you have created a cache folder in the theme folder? check with your host if can give 777 permissons Link to comment Share on other sites More sharing options...
Dan Mortensen Posted March 4, 2013 Share Posted March 4, 2013 Could be great if Prestashop would check the path and permissions when the option to use CCC is checked - spent quite some time before I discovered this post . Link to comment Share on other sites More sharing options...
maiodab Posted March 5, 2013 Share Posted March 5, 2013 Hello I would like to ask for help, unfortunately pointed CCC performance options, and unfortunately I can not get to my site, even adminstrator panel, so I have a question if anyone knows how to undo these settings and if it is possible, or where to look for (in which files ) of these records. Prestashop 1.5.2.0 running on a VPS server is Apache with Linux Centos 5th Any suggestions welcome. Shop adress www.multishopping4u.co.uk , when entering the website, shows the message: Fatal error: Call to undefined function preg_last_error () in / var / www / html / classes / Media.php on line 128 Link to comment Share on other sites More sharing options...
Dan Mortensen Posted March 6, 2013 Share Posted March 6, 2013 Maiodab, look in your database, SITE_configuration table - you can disable cache by changing PS_JS_THEME_CACHE, PS_CSS_THEME_CACHE and PS_SMARTY_CACHE Regards DAN Link to comment Share on other sites More sharing options...
Recommended Posts