Notice: Undefined property: Error::$status in /var/www/html/yiban/kernel/CException.php on line 10

Notice: Undefined property: Error::$status in /var/www/html/yiban/kernel/CException.php on line 11
Error:
Call to undefined function mysql_connect()