Warning (2): session_start() [function.session-start]: open(/tmp/sess_0a62b891db116ca698baa6b4990b108f, O_RDWR) failed: Permission denied (13) [CORE/Cake/Model/Datasource/CakeSession.php, line 614]
Warning (2): session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/fatawy/public_html/lib/Cake/Utility/Debugger.php:707) [CORE/Cake/Model/Datasource/CakeSession.php, line 614]
Warning (2): session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/fatawy/public_html/lib/Cake/Utility/Debugger.php:707) [CORE/Cake/Model/Datasource/CakeSession.php, line 614]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/fatawy/public_html/lib/Cake/Utility/Debugger.php:707) [CORE/Cake/Model/Datasource/CakeSession.php, line 615]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/fatawy/public_html/lib/Cake/Utility/Debugger.php:707) [APP/View/Layouts/default.ctp, line 36]
Errors


Missing Database Connection

Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) requires a database connection

Error: Confirm you have created the file : app/Config/database.php.

Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp.

Stack Trace

#0 /home/fatawy/public_html/lib/Cake/Model/Datasource/DboSource.php(244): Mysql->connect()
#1 /home/fatawy/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/fatawy/public_html/lib/Cake/Model/Model.php(3241): ConnectionManager::getDataSource('default')
#3 /home/fatawy/public_html/lib/Cake/Model/Model.php(1030): Model->setDataSource('default')
#4 /home/fatawy/public_html/lib/Cake/Model/Model.php(3265): Model->setSource('ips')
#5 /home/fatawy/public_html/lib/Cake/Model/Model.php(2877): Model->getDataSource()
#6 /home/fatawy/public_html/app/Controller/AppController.php(48): Model->query('SELECT Ip.count...')
#7 /home/fatawy/public_html/lib/Cake/Controller/Controller.php(605): AppController->beforeFilter()
#8 /home/fatawy/public_html/lib/Cake/Routing/Dispatcher.php(101): Controller->startupProcess()
#9 /home/fatawy/public_html/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(FatawasController), Object(CakeRequest), Object(CakeResponse))
#10 /home/fatawy/public_html/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#11 {main}
Warning (2): Unknown: open(/tmp/sess_0a62b891db116ca698baa6b4990b108f, O_RDWR) failed: Permission denied (13) [Unknown, line 0]
Warning (2): Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) [Unknown, line 0]