Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just tried out the new 'send to friend' function. For every email address I entered, I got the warnings after submission:
# warning: _print_var_generator(): open_basedir restriction in effect. File(/sites/all/modules/print/print.css) is not within the allowed path(s): (/var/www/vhosts/sg-kaarst-volleyball.de/subdomains/cms/httpdocs:/tmp) in /var/www/vhosts/example.com/httpdocs/sites/all/modules/print/print.pages.inc on line 163.
# warning: _print_var_generator(/sites/all/modules/print/print.css): failed to open stream: Operation not permitted in /var/www/vhosts/example.com/httpdocs/sites/all/modules/print/print.pages.inc on line 163.
and this one at last:
# warning: _print_var_generator(): Failed opening '/sites/all/modules/print/print.css' for inclusion (include_path='.:') in /var/www/vhosts/example.com/httpdocs/sites/all/modules/print/print.pages.inc on line 163.
However, the mails were sent.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedHello,
My bad.. The mail is indeed sent, but without the CSS, everything looks a bit bad. I changed a small detail n the CSS path inclusion and broke this function without noticing it a few weeks ago.
I have committed the fix to CVS and it will be in dev (and rc5) soon.
João
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.