PHP Printing Error

Hi, does anyone know what the following error means while trying to generate a pdf?

printScheduler($xml); function PDFErrorHandler ($errno, $errstr, $errfile, $errline) { global $xmlString; if ($errno < 1024) { error_log($xmlString, 3, ‘error_report_’.date(“Y_m_d__H_i_s”).’.xml’); exit(1); } } ?>

I am just doing the scheduler.toPDF(pathtogenerate.php) that I took from the example.

Thoughts?

Thanks,
D.

If you see a raw php code in the output - it seems your serve is not configured to process php files.
Or you are loading scheduler files directly from filesystem ( not by http:// )