Warning: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' (this will throw an Error in a future version of PHP) in /index.php on line 15

Parse error: syntax error, unexpected 'new' (T_NEW) in /includes/joomla.php on line 836