Fatal error: Call to a member function getId() on a non-object in /var/www/html/app/design/frontend/massif/default/template/page/html/subcats.phtml on line 10

Catchable fatal error: Argument 1 passed to Varien_Db_Select::__construct() must be an instance of Zend_Db_Adapter_Abstract, instance of Varien_Db_Adapter_Pdo_Mysql given, called in /var/www/html/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 1266 and defined in /var/www/html/lib/Varien/Db/Select.php on line 65

Warning: include(Mage.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/lib/Varien/Autoload.php on line 91

Warning: include() [function.include]: Failed opening 'Mage.php' for inclusion (include_path='/var/www/html/app/code/local:/var/www/html/app/code/community:/var/www/html/app/code/core:/var/www/html/lib:.:/usr/share/pear:/usr/share/php') in /var/www/html/lib/Varien/Autoload.php on line 91

Fatal error: Class 'Mage' not found in /var/www/html/app/code/core/Mage/Core/Model/Resource/Session.php on line 106