SAS Nagar Police : Errors

Emergency Helpline: 100, For Woman: 1090

Modern Control Room: 0172-2210357-358, Fax No : 2219213, 2219211, 12

Message From DGP Desk

At the outset, I salute our martyrs. Punjab Police has a history of valour, sacrifice and glory. It is a privilege to be part of this tradition...

Message From SSP Desk

SAS Nagar Police provides responsive, transparent and accountable police administration to the public and to overcome the challenges time to time.

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'sasnagar'@'localhost' (using password: YES)

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

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 262Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 107DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3221ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1107Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3243Model->setSource(string)
  • CORE/Cake/Model/Model.php line 1318Model->getDataSource()
  • CORE/Cake/View/Helper/FormHelper.php line 199Model->schema()
  • CORE/Cake/View/Helper/FormHelper.php line 453FormHelper->_introspectModel(string, string)
  • APP/View/Polices/complaints.ctp line 34FormHelper->create(string)
  • CORE/Cake/View/View.php line 945include(string)
  • CORE/Cake/View/View.php line 907View->_evaluate(string, array)
  • CORE/Cake/View/View.php line 471View->_render(string)
  • CORE/Cake/Controller/Controller.php line 948View->render(null, null)
  • CORE/Cake/Routing/Dispatcher.php line 194Controller->render()
  • CORE/Cake/Routing/Dispatcher.php line 162Dispatcher->_invoke(PolicesController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 111Dispatcher->dispatch(CakeRequest, CakeResponse)