jos-Error: Application Instantiation Error

JFactory :: getApplication() @ C:\Website\pira\index.php:27
JApplication :: getInstance() @ C:\Website\pira\libraries\joomla\factory.php:102
JSite -> __construct() @ C:\Website\pira\libraries\joomla\application\application.php:180
JApplication -> __construct() @ C:\Website\pira\includes\application.php:47
JApplication -> _createSession() @ C:\Website\pira\libraries\joomla\application\application.php:145
JFactory :: getSession() @ C:\Website\pira\libraries\joomla\application\application.php:1020
JFactory :: createSession() @ C:\Website\pira\libraries\joomla\factory.php:152
JSession :: getInstance() @ C:\Website\pira\libraries\joomla\factory.php:656
JSession -> __construct() @ C:\Website\pira\libraries\joomla\session\session.php:151
JSession -> _start() @ C:\Website\pira\libraries\joomla\session\session.php:114
session_start() @ C:\Website\pira\libraries\joomla\session\session.php:532
JSessionStorageDatabase -> read()
JDatabase -> loadResult() @ C:\Website\pira\libraries\joomla\session\storage\database.php:50
JDatabaseMySQL -> execute() @ C:\Website\pira\libraries\joomla\database\database.php:1164
JError :: raiseError() @ C:\Website\pira\libraries\joomla\database\database\mysql.php:548
JError :: raise() @ C:\Website\pira\libraries\joomla\error\error.php:251
JError :: throwError() @ C:\Website\pira\libraries\joomla\error\error.php:176
call_user_func_array() @ C:\Website\pira\libraries\joomla\error\error.php:214
JError :: handleCallback()
call_user_func() @ C:\Website\pira\libraries\joomla\error\error.php:765
JError :: customErrorPage()
JFactory :: getApplication() @ C:\Website\pira\libraries\joomla\error\error.php:784
JError :: raiseError() @ C:\Website\pira\libraries\joomla\factory.php:99
JError :: raise() @ C:\Website\pira\libraries\joomla\error\error.php:251