Hi in a multi-site setup when I try to add the path for Custom Stylesheets in settings the module seems to be setting the path to sitename/sites/all/themes/ instead of /sites/all/themes/ and won't allow me to set a custom stylesheet. I receive File /sites/all/themes/theme_name/print.css is not readable by the web server.

Comments

delmarr’s picture

Priority: Normal » Major

I'm assuming many users are using this module on multisite. switching this to major

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Let's try to answer this one two years later :)

The error message there includes the full path to the CSS file. The problem is that usually that should start with something like /var/www or /home/www-data/html.. Which is usually the value of the $_SERVER['SCRIPT_FILENAME'] global..

Apparently, in your case PHP decided not to initialize that. The module can't really cope with that. The solution would have been to fix the PHP deployment.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further info in more than two weeks. Closing the issue.