Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/sketchde/public_html/LAB2/demo_booking_room/lib/Cake/Cache/CacheEngine.php on line 59

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/sketchde/public_html/LAB2/demo_booking_room/lib/Cake/Cache/CacheEngine.php on line 59
Strict (2048): Declaration of CommonComponent::startup() should be compatible with Component::startup(Controller $controller) [APP/Controller/Component/CommonComponent.php, line 487]




login panel


Warning (2): date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. [CORE/Cake/Log/Engine/FileLog.php, line 86]
CakePHP: the rapid development php framework: Errors

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[28000] [1045] Access denied for user 'sketchde_lab2'@'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 261Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 101DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3169ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1096Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3191Model->setSource(string)
  • CORE/Cake/Model/Model.php line 1305Model->getDataSource()
  • CORE/Cake/View/Helper/FormHelper.php line 197Model->schema()
  • CORE/Cake/View/Helper/FormHelper.php line 444FormHelper->_introspectModel(string, string)
  • APP/View/Admins/login.ctp line 18FormHelper->create(string, array)
  • CORE/Cake/View/View.php line 923include(string)
  • CORE/Cake/View/View.php line 886View->_evaluate(string, array)
  • CORE/Cake/View/View.php line 476View->_render(string)
  • CORE/Cake/Controller/Controller.php line 956View->render(null, null)
  • CORE/Cake/Routing/Dispatcher.php line 193Controller->render()
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(AdminsController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)