Hello,
I´m getting these erros with the print.module every time I try to view the printer friendly page of a node:
print_generate_node() [function.include]: Failed opening 'print.node.tpl.php' for inclusion (include_path='.:/usr/share/pear') en la línea 260 del archivo /var/www/vhosts/somedomain.com/httpdocs/modules/print/print.module.
print_generate_node(print.node.tpl.php) [function.print-generate-node]: failed to open stream: Operation not permitted en la línea 260 del archivo /var/www/vhosts/somedomain.com/httpdocs/modules/print/print.module.
print_generate_node() [function.print-generate-node]: open_basedir restriction in effect. File(/usr/share/pear/print.node.tpl.php) is not within the allowed path(s): (/var/www/vhosts/somedomain.com/httpdocs:/tmp) en la línea 260 del archivo /var/www/vhosts/somedomain.com/httpdocs/modules/print/print.module.
I tried to reinstall the print module without success. Any idea?
Thanks, Simon.
Comments
print_generate_node(print.node.tpl.php) Same Error
Just wanted to let you know that the same upgrade and same error happened for us too. We don't know how to work around this either.
http://drupal.org/node/68368
I am not a PHP guru. But the above drupal location is discussing it too.
Anyone knows why it errors on line 260 which states:
include_once('print.node.tpl.php');
We have PHP 5 now too.
Fixed? this issue...
Hi,
I did some research and came up with this, which seems to work fine.
Hopefully it won't break under php4. I haven't tested it extensively (at all). Let me know on that other thread if necessary.
Cheers!
Nik