I have installed the Certificate module, but cannot get an actual PDF document to display correctly. I started playing with the attached hello_world.php file and ran into problems with the require_once statements. By playing, I mean I got a simple pdf file to display and started adding parts of the certificate/view.php file.
Everything works fine until I uncomment either of these 2 lines
//require_once("../../config.php");
//require_once("../../lib/linklib.php");//bb
Then it reverts back to display the code, rather than the pdf document. These files do exist and are in the correct places. hello_world.php is in the same directory as the certificate/view.php file.
I'm quite stumped on this one. Any suggestions???