[eluser]TheFuzzy0ne[/eluser]
Sorry, I've just spotted your problem. $this is a variable, so it needs to be prefixed with a '$'.
In your index.php file, if you add the following to the top, it will enable error reporting and show you the problem:
Code:
error_reporting(E_ALL):
ini_set('display_errors', '1');
Just remember to disable it when your app goes live.