I'm working on a small D8 site. When turning the option "Aggregate CSS files" (
admin/config/development/performance) on localhost, everything works fine. However, doing so when on my test server completely breaks the site presentation, both on the front (public pages) and back-end (admin).
It appears that when this option is on, the URL for the aggregated CSS is incomplete: the filename is not present, as well as most of the path, actually. Which means I have something like:
<link rel="stylesheet" href="/dpfolder/?okfo8d" media="all" /> <link rel="stylesheet" href="/dpfolder/?okfo8d" media="all" />
(the site lives in "dpfolder", although it's temporary.)
This happens with both the admin theme (seven) and the public theme (a custom theme based on Classy).
And it only happens when the option "aggregate" is ON. When it's OFF, everything displays fine (but then the CSS files are included via @import rules in a style element, and not via a link element like above).
Any idea what's causing this?