00298: Warnings displayed on Printable View
Description:
When I click on "Printable View" for a page, I am given the following errors;
The pmwiki skin works correctly.
Work around:
Rename "print.php" to "print_old.php". That way print.tmpl is used without warnings being displayed.
New Comment: 2005-08-31
Also wanted to say that if you update the include_path in say, config.php, you'll be set as well. $path = '/path/to/pmwiki-2.0.beta55'; set_include_path(get_include_path() . PATH_SEPARATOR . $path);
Warning output:
At the top of the page
Warning: setskin(pub/skins/print/print.php) [function.setskin]: failed to create stream: No such file or directory in e:\InetPub\svc237\pmwiki\scripts\skins.php on line 54
Warning: setskin() [function.setskin]: Failed opening 'pub/skins/print/print.php' for inclusion (include_path='e:\php') in e:\InetPub\svc237\pmwiki\scripts\skins.php on line 54
Warning: Cannot modify header information - headers already sent by (output started at e:\InetPub\svc237\pmwiki\scripts\skins.php:54) in e:\InetPub\svc237\pmwiki\home.php on line 631
And this at the bottom of the page
PHP Warning: setskin(pub/skins/print/print.php) [function.setskin]: failed to create stream: No such file or directory in e:\InetPub\svc237\pmwiki\scripts\skins.php on line 54 PHP Warning: setskin() [function.setskin]: Failed opening 'pub/skins/print/print.php' for inclusion (include_path='e:\php') in e:\InetPub\svc237\pmwiki\scripts\skins.php on line 54 PHP Warning: Cannot modify header information - headers already sent by (output started at e:\InetPub\svc237\pmwiki\scripts\skins.php:54) in e:\InetPub\svc237\pmwiki\home.php on line 631