[eluser]Unknown[/eluser]
I actually had the exact same problem, but i found the correct solution for it (reinstall is never optimal).
First of all, the documentation sample for the model wasnt wrapped in a <?php ?> block, so the documentation needs to change. Noobs trying to cut/past it as a model sample will have all sorts of issues...
So, to fix the issue, I went in and added this to the top of the file:
<? php
And from looking at the same code that was posted, this user did the same thing.
It needs to be changed to:
<?php
(remove the space)
Suddenly the odd parsing problem went away, and it no longer fails to parse the class. Without the correct header, it was interpreting this whole file as html.
Cheers.