If 01sample.php won't run, then there's something very wrong, and you should be getting an error message of some kind (thrown exception or whatever). If something as basic as that won't run, then it needs solving before you can even begin looking at charts.

What are you seeing on screen while it's running? Does it display any messages at all?