Hi,

I searched and read about this a lot, but the problem is not solved yet. Help me, please.

As I enable "Aggregate and compress CSS files", the CSS files of the site do not load. and the Styles in the site's header are like:

<link type="text/css" rel="stylesheet" href="http://SITE-NAME.com/" media="all" />
<link type="text/css" rel="stylesheet" href="http://SITE-NAME.com/" media="all" />
<link type="text/css" rel="stylesheet" href="http://SITE-NAME.com/" media="all" />
<link type="text/css" rel="stylesheet" href="http://SITE-NAME.com/" media="all" />
<link type="text/css" rel="stylesheet" href="http://SITE-NAME.com/sites/all/modules/admin_menu/admin_menu_toolbar/admin_menu_toolbar.css?lwwoy5" media="all" />

In "Recent log messages", I get errors like:

MESSAGE: The specified file temporary://filevZAinX could not be copied to public://css/css_86G-8SSwGdseECYW6gKEnQzP3AJsk8q4zLm44rjsSjA.css.

I checked site's tmp folder, the temporary files (e.g., filevZAinX) are created, but the css folder is empty!

I changed the temporary folder location and this didn't help.
I also gave 777 to different folders, this didn't help either.

Help pleeeeeeeeeeease!

Comments

payamspot’s picture

I contacted my hosting provider support team. They disabled the "SAFE MODE" feature of PHP and now CSS aggregation and compression works fine.

P.S. You may disable it with no worry, since Safe Mode feature is "DEPRECATED as of PHP 5.3.0"