Error..... include_once 'status.class.php'; //include the class You missed the brackets. Fixed..... include_once('status.class.php');...
Separate names with a comma.