Missing Database Table
Error: Database table jzlee_usergroups for model Usergroup was not found.
Notice: If you want to customize this error message, create app/views/errors/missing_table.ctp
Warning (2): mysql_connect() [http://php.net/function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 552]Code | Context$config = array( "persistent" => false, "host" => "localhost", "login" => "jzlee_tsuser", "password" => "j39CXE9um332FmhKzp", "database" => "timesheets", "port" => "3306", "driver" => "mysql", "prefix" => "jzlee_" )mysql_connect - [internal], line ?? DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 552 DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143 ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114 Model::setDataSource() - CORE/cake/libs/model/model.php, line 2833 Model::__construct() - CORE/cake/libs/model/model.php, line 469 AclNode::__construct() - CORE/cake/libs/model/db_acl.php, line 62 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 DbAcl::__construct() - CORE/cake/libs/controller/components/acl.php, line 237 AclComponent::__construct() - CORE/cake/libs/controller/components/acl.php, line 58 Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 250 Component::init() - CORE/cake/libs/controller/component.php, line 78 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 483 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Warning (2): mysql_select_db() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 558]Code | Context$config = array( "persistent" => false, "host" => "localhost", "login" => "jzlee_tsuser", "password" => "j39CXE9um332FmhKzp", "database" => "timesheets", "port" => "3306", "driver" => "mysql", "prefix" => "jzlee_", "connect" => "mysql_connect" )mysql_select_db - [internal], line ?? DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 558 DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143 ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114 Model::setDataSource() - CORE/cake/libs/model/model.php, line 2833 Model::__construct() - CORE/cake/libs/model/model.php, line 469 AclNode::__construct() - CORE/cake/libs/model/db_acl.php, line 62 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 DbAcl::__construct() - CORE/cake/libs/controller/components/acl.php, line 237 AclComponent::__construct() - CORE/cake/libs/controller/components/acl.php, line 58 Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 250 Component::init() - CORE/cake/libs/controller/component.php, line 78 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 483 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Warning (2): mysql_get_server_info() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 566]Code | Context$config = array( "persistent" => false, "host" => "localhost", "login" => "jzlee_tsuser", "password" => "j39CXE9um332FmhKzp", "database" => "timesheets", "port" => "3306", "driver" => "mysql", "prefix" => "jzlee_", "connect" => "mysql_connect" )mysql_get_server_info - [internal], line ?? DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 566 DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143 ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114 Model::setDataSource() - CORE/cake/libs/model/model.php, line 2833 Model::__construct() - CORE/cake/libs/model/model.php, line 469 AclNode::__construct() - CORE/cake/libs/model/db_acl.php, line 62 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 DbAcl::__construct() - CORE/cake/libs/controller/components/acl.php, line 237 AclComponent::__construct() - CORE/cake/libs/controller/components/acl.php, line 58 Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 250 Component::init() - CORE/cake/libs/controller/component.php, line 78 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 483 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 600]Code | Context$sql = "SHOW TABLES FROM `timesheets`;"mysql_query - [internal], line ?? DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 600 DboMysql::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613 Model::setSource() - CORE/cake/libs/model/model.php, line 768 Model::__construct() - CORE/cake/libs/model/model.php, line 474 AclNode::__construct() - CORE/cake/libs/model/db_acl.php, line 62 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 DbAcl::__construct() - CORE/cake/libs/controller/components/acl.php, line 237 AclComponent::__construct() - CORE/cake/libs/controller/components/acl.php, line 58 Component::_loadComponents() - CORE/cake/libs/controller/component.php, line 250 Component::init() - CORE/cake/libs/controller/component.php, line 78 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 483 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 83
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/timesheets/cake/libs/debugger.php:673) [CORE/cake/libs/controller/controller.php, line 742]Code | Context$status = "HTTP/1.0 500 Internal Server Error"header - [internal], line ?? Controller::header() - CORE/cake/libs/controller/controller.php, line 742 ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 254 Object::dispatchMethod() - CORE/cake/libs/object.php, line 112 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125 Object::cakeError() - CORE/cake/libs/object.php, line 201 Model::setSource() - CORE/cake/libs/model/model.php, line 774 Model::__construct() - CORE/cake/libs/model/model.php, line 474 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502 CakeErrorController::__construct() - CORE/cake/libs/error.php, line 52 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 90 Object::cakeError() - CORE/cake/libs/object.php, line 201 Model::setSource() - CORE/cake/libs/model/model.php, line 774 Model::__construct() - CORE/cake/libs/model/model.php, line 474 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Notice (8): Undefined variable: global_user [APP/views/elements/sidebar_profile_links.ctp, line 3](Code | Context<!-- Sidebar Profile links -->
<div id="profile-links">
Hello, <a href="#" title="Edit your profile"><?=$global_user['User']['first_name']?> <?=$global_user['User']['last_name']?></a><!--, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a>-->
$___viewFn = "/var/www/timesheets/app/views/elements/sidebar_profile_links.ctp" $___dataForView = array( "code" => "500", "model" => "Usergroup", "table" => "jzlee_usergroups", "title" => "Missing Database Table", "filter" => FilterHelper FilterHelper::$helpers = array FilterHelper::$base = "" FilterHelper::$webroot = "/" FilterHelper::$theme = NULL FilterHelper::$here = "/timesheets" FilterHelper::$params = array FilterHelper::$action = NULL FilterHelper::$plugin = NULL FilterHelper::$data = array FilterHelper::$namedArgs = NULL FilterHelper::$argSeparator = NULL FilterHelper::$validationErrors = NULL FilterHelper::$tags = array FilterHelper::$__tainted = NULL FilterHelper::$__cleaned = NULL FilterHelper::$Form = FormHelper object, "jzleePagination" => JzleePaginationHelper JzleePaginationHelper::$helpers = array JzleePaginationHelper::$tpl_page_prev = "<li class="page-prev"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_next = "<li class="page-next"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_current = "<li class="page number current"><span>%s</span></li>" JzleePaginationHelper::$tpl_page = "<li class="page number"><span>%s</span></li>" JzleePaginationHelper::$tpl_separator = "<li class="separator">...</li>" JzleePaginationHelper::$output = NULL JzleePaginationHelper::$paginator = NULL JzleePaginationHelper::$base = "" JzleePaginationHelper::$webroot = "/" JzleePaginationHelper::$theme = NULL JzleePaginationHelper::$here = "/timesheets" JzleePaginationHelper::$params = array JzleePaginationHelper::$action = NULL JzleePaginationHelper::$plugin = NULL JzleePaginationHelper::$data = array JzleePaginationHelper::$namedArgs = NULL JzleePaginationHelper::$argSeparator = NULL JzleePaginationHelper::$validationErrors = NULL JzleePaginationHelper::$tags = array JzleePaginationHelper::$__tainted = NULL JzleePaginationHelper::$__cleaned = NULL JzleePaginationHelper::$Html = HtmlHelper object, "text" => TextHelper TextHelper::$sess = SessionHelper object TextHelper::$user = User object TextHelper::$helpers = NULL TextHelper::$base = "" TextHelper::$webroot = "/" TextHelper::$theme = NULL TextHelper::$here = "/timesheets" TextHelper::$params = array TextHelper::$action = NULL TextHelper::$plugin = NULL TextHelper::$data = array TextHelper::$namedArgs = NULL TextHelper::$argSeparator = NULL TextHelper::$validationErrors = NULL TextHelper::$tags = array TextHelper::$__tainted = NULL TextHelper::$__cleaned = NULL, "number" => NumberHelper NumberHelper::$_currencies = array NumberHelper::$_currencyDefaults = array NumberHelper::$sess = SessionHelper object NumberHelper::$user = User object NumberHelper::$helpers = NULL NumberHelper::$base = "" NumberHelper::$webroot = "/" NumberHelper::$theme = NULL NumberHelper::$here = "/timesheets" NumberHelper::$params = array NumberHelper::$action = NULL NumberHelper::$plugin = NULL NumberHelper::$data = array NumberHelper::$namedArgs = NULL NumberHelper::$argSeparator = NULL NumberHelper::$validationErrors = NULL NumberHelper::$tags = array NumberHelper::$__tainted = NULL NumberHelper::$__cleaned = NULL, "time" => TimeHelper TimeHelper::$sess = SessionHelper object TimeHelper::$user = User object TimeHelper::$helpers = NULL TimeHelper::$base = "" TimeHelper::$webroot = "/" TimeHelper::$theme = NULL TimeHelper::$here = "/timesheets" TimeHelper::$params = array TimeHelper::$action = NULL TimeHelper::$plugin = NULL TimeHelper::$data = array TimeHelper::$namedArgs = NULL TimeHelper::$argSeparator = NULL TimeHelper::$validationErrors = NULL TimeHelper::$tags = array TimeHelper::$__tainted = NULL TimeHelper::$__cleaned = NULL, "javascript" => JavascriptHelper JavascriptHelper::$useNative = true JavascriptHelper::$enabled = true JavascriptHelper::$safe = false JavascriptHelper::$tags = array JavascriptHelper::$_blockOptions = array JavascriptHelper::$_cachedEvents = array JavascriptHelper::$_cacheEvents = false JavascriptHelper::$_cacheToFile = false JavascriptHelper::$_cacheAll = false JavascriptHelper::$_rules = array JavascriptHelper::$__scriptBuffer = NULL JavascriptHelper::$sess = SessionHelper object JavascriptHelper::$user = User object JavascriptHelper::$helpers = NULL JavascriptHelper::$base = "" JavascriptHelper::$webroot = "/" JavascriptHelper::$theme = NULL JavascriptHelper::$here = "/timesheets" JavascriptHelper::$params = array JavascriptHelper::$action = NULL JavascriptHelper::$plugin = NULL JavascriptHelper::$data = array JavascriptHelper::$namedArgs = NULL JavascriptHelper::$argSeparator = NULL JavascriptHelper::$validationErrors = NULL JavascriptHelper::$__tainted = NULL JavascriptHelper::$__cleaned = NULL, "form" => FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$sess = SessionHelper object FormHelper::$user = User object FormHelper::$base = "" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "/timesheets" FormHelper::$params = array FormHelper::$action = NULL FormHelper::$plugin = NULL FormHelper::$data = array FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object, "html" => HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$sess = SessionHelper object HtmlHelper::$user = User object HtmlHelper::$helpers = NULL HtmlHelper::$base = "" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "/timesheets" HtmlHelper::$params = array HtmlHelper::$action = NULL HtmlHelper::$plugin = NULL HtmlHelper::$data = array HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL, "session" => SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "07ed89223fbbd1c5577bc4d1df003b6f" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = NULL SessionHelper::$time = 1734800266 SessionHelper::$sessionTime = false SessionHelper::$cookieLifeTime = 1500000 SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = "/timesheets" SessionHelper::$params = array SessionHelper::$action = NULL SessionHelper::$data = array SessionHelper::$theme = NULL SessionHelper::$plugin = NULL ) $loadHelpers = false $cached = false $loadedHelpers = array() $code = "500" $model = "Usergroup" $table = "jzlee_usergroups" $title = "Missing Database Table" $filter = FilterHelper FilterHelper::$helpers = array FilterHelper::$base = "" FilterHelper::$webroot = "/" FilterHelper::$theme = NULL FilterHelper::$here = "/timesheets" FilterHelper::$params = array FilterHelper::$action = NULL FilterHelper::$plugin = NULL FilterHelper::$data = array FilterHelper::$namedArgs = NULL FilterHelper::$argSeparator = NULL FilterHelper::$validationErrors = NULL FilterHelper::$tags = array FilterHelper::$__tainted = NULL FilterHelper::$__cleaned = NULL FilterHelper::$Form = FormHelper object $jzleePagination = JzleePaginationHelper JzleePaginationHelper::$helpers = array JzleePaginationHelper::$tpl_page_prev = "<li class="page-prev"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_next = "<li class="page-next"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_current = "<li class="page number current"><span>%s</span></li>" JzleePaginationHelper::$tpl_page = "<li class="page number"><span>%s</span></li>" JzleePaginationHelper::$tpl_separator = "<li class="separator">...</li>" JzleePaginationHelper::$output = NULL JzleePaginationHelper::$paginator = NULL JzleePaginationHelper::$base = "" JzleePaginationHelper::$webroot = "/" JzleePaginationHelper::$theme = NULL JzleePaginationHelper::$here = "/timesheets" JzleePaginationHelper::$params = array JzleePaginationHelper::$action = NULL JzleePaginationHelper::$plugin = NULL JzleePaginationHelper::$data = array JzleePaginationHelper::$namedArgs = NULL JzleePaginationHelper::$argSeparator = NULL JzleePaginationHelper::$validationErrors = NULL JzleePaginationHelper::$tags = array JzleePaginationHelper::$__tainted = NULL JzleePaginationHelper::$__cleaned = NULL JzleePaginationHelper::$Html = HtmlHelper object $text = TextHelper TextHelper::$sess = SessionHelper object TextHelper::$user = User object TextHelper::$helpers = NULL TextHelper::$base = "" TextHelper::$webroot = "/" TextHelper::$theme = NULL TextHelper::$here = "/timesheets" TextHelper::$params = array TextHelper::$action = NULL TextHelper::$plugin = NULL TextHelper::$data = array TextHelper::$namedArgs = NULL TextHelper::$argSeparator = NULL TextHelper::$validationErrors = NULL TextHelper::$tags = array TextHelper::$__tainted = NULL TextHelper::$__cleaned = NULL $number = NumberHelper NumberHelper::$_currencies = array NumberHelper::$_currencyDefaults = array NumberHelper::$sess = SessionHelper object NumberHelper::$user = User object NumberHelper::$helpers = NULL NumberHelper::$base = "" NumberHelper::$webroot = "/" NumberHelper::$theme = NULL NumberHelper::$here = "/timesheets" NumberHelper::$params = array NumberHelper::$action = NULL NumberHelper::$plugin = NULL NumberHelper::$data = array NumberHelper::$namedArgs = NULL NumberHelper::$argSeparator = NULL NumberHelper::$validationErrors = NULL NumberHelper::$tags = array NumberHelper::$__tainted = NULL NumberHelper::$__cleaned = NULL $time = TimeHelper TimeHelper::$sess = SessionHelper object TimeHelper::$user = User object TimeHelper::$helpers = NULL TimeHelper::$base = "" TimeHelper::$webroot = "/" TimeHelper::$theme = NULL TimeHelper::$here = "/timesheets" TimeHelper::$params = array TimeHelper::$action = NULL TimeHelper::$plugin = NULL TimeHelper::$data = array TimeHelper::$namedArgs = NULL TimeHelper::$argSeparator = NULL TimeHelper::$validationErrors = NULL TimeHelper::$tags = array TimeHelper::$__tainted = NULL TimeHelper::$__cleaned = NULL $javascript = JavascriptHelper JavascriptHelper::$useNative = true JavascriptHelper::$enabled = true JavascriptHelper::$safe = false JavascriptHelper::$tags = array JavascriptHelper::$_blockOptions = array JavascriptHelper::$_cachedEvents = array JavascriptHelper::$_cacheEvents = false JavascriptHelper::$_cacheToFile = false JavascriptHelper::$_cacheAll = false JavascriptHelper::$_rules = array JavascriptHelper::$__scriptBuffer = NULL JavascriptHelper::$sess = SessionHelper object JavascriptHelper::$user = User object JavascriptHelper::$helpers = NULL JavascriptHelper::$base = "" JavascriptHelper::$webroot = "/" JavascriptHelper::$theme = NULL JavascriptHelper::$here = "/timesheets" JavascriptHelper::$params = array JavascriptHelper::$action = NULL JavascriptHelper::$plugin = NULL JavascriptHelper::$data = array JavascriptHelper::$namedArgs = NULL JavascriptHelper::$argSeparator = NULL JavascriptHelper::$validationErrors = NULL JavascriptHelper::$__tainted = NULL JavascriptHelper::$__cleaned = NULL $form = FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$sess = SessionHelper object FormHelper::$user = User object FormHelper::$base = "" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "/timesheets" FormHelper::$params = array FormHelper::$action = NULL FormHelper::$plugin = NULL FormHelper::$data = array FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object $html = HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$sess = SessionHelper object HtmlHelper::$user = User object HtmlHelper::$helpers = NULL HtmlHelper::$base = "" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "/timesheets" HtmlHelper::$params = array HtmlHelper::$action = NULL HtmlHelper::$plugin = NULL HtmlHelper::$data = array HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL $session = SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "07ed89223fbbd1c5577bc4d1df003b6f" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = NULL SessionHelper::$time = 1734800266 SessionHelper::$sessionTime = false SessionHelper::$cookieLifeTime = 1500000 SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = "/timesheets" SessionHelper::$params = array SessionHelper::$action = NULL SessionHelper::$data = array SessionHelper::$theme = NULL SessionHelper::$plugin = NULLinclude - APP/views/elements/sidebar_profile_links.ctp, line 3 View::_render() - CORE/cake/libs/view/view.php, line 731 View::element() - CORE/cake/libs/view/view.php, line 392 include - APP/views/layouts/default.ctp, line 54 View::_render() - CORE/cake/libs/view/view.php, line 731 View::renderLayout() - CORE/cake/libs/view/view.php, line 489 View::render() - CORE/cake/libs/view/view.php, line 435 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 458 ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 261 Object::dispatchMethod() - CORE/cake/libs/object.php, line 112 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125 Object::cakeError() - CORE/cake/libs/object.php, line 201 Model::setSource() - CORE/cake/libs/model/model.php, line 774 Model::__construct() - CORE/cake/libs/model/model.php, line 474 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Notice (8): Undefined variable: global_user [APP/views/elements/sidebar_profile_links.ctp, line 4])Code | Context<div id="profile-links">
Hello, <a href="#" title="Edit your profile"><?=$global_user['User']['first_name']?> <?=$global_user['User']['last_name']?></a><!--, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a>-->
(<em><?=$global_user['JobRole']['role_name']?></em>)
$___viewFn = "/var/www/timesheets/app/views/elements/sidebar_profile_links.ctp" $___dataForView = array( "code" => "500", "model" => "Usergroup", "table" => "jzlee_usergroups", "title" => "Missing Database Table", "filter" => FilterHelper FilterHelper::$helpers = array FilterHelper::$base = "" FilterHelper::$webroot = "/" FilterHelper::$theme = NULL FilterHelper::$here = "/timesheets" FilterHelper::$params = array FilterHelper::$action = NULL FilterHelper::$plugin = NULL FilterHelper::$data = array FilterHelper::$namedArgs = NULL FilterHelper::$argSeparator = NULL FilterHelper::$validationErrors = NULL FilterHelper::$tags = array FilterHelper::$__tainted = NULL FilterHelper::$__cleaned = NULL FilterHelper::$Form = FormHelper object, "jzleePagination" => JzleePaginationHelper JzleePaginationHelper::$helpers = array JzleePaginationHelper::$tpl_page_prev = "<li class="page-prev"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_next = "<li class="page-next"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_current = "<li class="page number current"><span>%s</span></li>" JzleePaginationHelper::$tpl_page = "<li class="page number"><span>%s</span></li>" JzleePaginationHelper::$tpl_separator = "<li class="separator">...</li>" JzleePaginationHelper::$output = NULL JzleePaginationHelper::$paginator = NULL JzleePaginationHelper::$base = "" JzleePaginationHelper::$webroot = "/" JzleePaginationHelper::$theme = NULL JzleePaginationHelper::$here = "/timesheets" JzleePaginationHelper::$params = array JzleePaginationHelper::$action = NULL JzleePaginationHelper::$plugin = NULL JzleePaginationHelper::$data = array JzleePaginationHelper::$namedArgs = NULL JzleePaginationHelper::$argSeparator = NULL JzleePaginationHelper::$validationErrors = NULL JzleePaginationHelper::$tags = array JzleePaginationHelper::$__tainted = NULL JzleePaginationHelper::$__cleaned = NULL JzleePaginationHelper::$Html = HtmlHelper object, "text" => TextHelper TextHelper::$sess = SessionHelper object TextHelper::$user = User object TextHelper::$helpers = NULL TextHelper::$base = "" TextHelper::$webroot = "/" TextHelper::$theme = NULL TextHelper::$here = "/timesheets" TextHelper::$params = array TextHelper::$action = NULL TextHelper::$plugin = NULL TextHelper::$data = array TextHelper::$namedArgs = NULL TextHelper::$argSeparator = NULL TextHelper::$validationErrors = NULL TextHelper::$tags = array TextHelper::$__tainted = NULL TextHelper::$__cleaned = NULL, "number" => NumberHelper NumberHelper::$_currencies = array NumberHelper::$_currencyDefaults = array NumberHelper::$sess = SessionHelper object NumberHelper::$user = User object NumberHelper::$helpers = NULL NumberHelper::$base = "" NumberHelper::$webroot = "/" NumberHelper::$theme = NULL NumberHelper::$here = "/timesheets" NumberHelper::$params = array NumberHelper::$action = NULL NumberHelper::$plugin = NULL NumberHelper::$data = array NumberHelper::$namedArgs = NULL NumberHelper::$argSeparator = NULL NumberHelper::$validationErrors = NULL NumberHelper::$tags = array NumberHelper::$__tainted = NULL NumberHelper::$__cleaned = NULL, "time" => TimeHelper TimeHelper::$sess = SessionHelper object TimeHelper::$user = User object TimeHelper::$helpers = NULL TimeHelper::$base = "" TimeHelper::$webroot = "/" TimeHelper::$theme = NULL TimeHelper::$here = "/timesheets" TimeHelper::$params = array TimeHelper::$action = NULL TimeHelper::$plugin = NULL TimeHelper::$data = array TimeHelper::$namedArgs = NULL TimeHelper::$argSeparator = NULL TimeHelper::$validationErrors = NULL TimeHelper::$tags = array TimeHelper::$__tainted = NULL TimeHelper::$__cleaned = NULL, "javascript" => JavascriptHelper JavascriptHelper::$useNative = true JavascriptHelper::$enabled = true JavascriptHelper::$safe = false JavascriptHelper::$tags = array JavascriptHelper::$_blockOptions = array JavascriptHelper::$_cachedEvents = array JavascriptHelper::$_cacheEvents = false JavascriptHelper::$_cacheToFile = false JavascriptHelper::$_cacheAll = false JavascriptHelper::$_rules = array JavascriptHelper::$__scriptBuffer = NULL JavascriptHelper::$sess = SessionHelper object JavascriptHelper::$user = User object JavascriptHelper::$helpers = NULL JavascriptHelper::$base = "" JavascriptHelper::$webroot = "/" JavascriptHelper::$theme = NULL JavascriptHelper::$here = "/timesheets" JavascriptHelper::$params = array JavascriptHelper::$action = NULL JavascriptHelper::$plugin = NULL JavascriptHelper::$data = array JavascriptHelper::$namedArgs = NULL JavascriptHelper::$argSeparator = NULL JavascriptHelper::$validationErrors = NULL JavascriptHelper::$__tainted = NULL JavascriptHelper::$__cleaned = NULL, "form" => FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$sess = SessionHelper object FormHelper::$user = User object FormHelper::$base = "" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "/timesheets" FormHelper::$params = array FormHelper::$action = NULL FormHelper::$plugin = NULL FormHelper::$data = array FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object, "html" => HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$sess = SessionHelper object HtmlHelper::$user = User object HtmlHelper::$helpers = NULL HtmlHelper::$base = "" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "/timesheets" HtmlHelper::$params = array HtmlHelper::$action = NULL HtmlHelper::$plugin = NULL HtmlHelper::$data = array HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL, "session" => SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "07ed89223fbbd1c5577bc4d1df003b6f" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = NULL SessionHelper::$time = 1734800266 SessionHelper::$sessionTime = false SessionHelper::$cookieLifeTime = 1500000 SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = "/timesheets" SessionHelper::$params = array SessionHelper::$action = NULL SessionHelper::$data = array SessionHelper::$theme = NULL SessionHelper::$plugin = NULL ) $loadHelpers = false $cached = false $loadedHelpers = array() $code = "500" $model = "Usergroup" $table = "jzlee_usergroups" $title = "Missing Database Table" $filter = FilterHelper FilterHelper::$helpers = array FilterHelper::$base = "" FilterHelper::$webroot = "/" FilterHelper::$theme = NULL FilterHelper::$here = "/timesheets" FilterHelper::$params = array FilterHelper::$action = NULL FilterHelper::$plugin = NULL FilterHelper::$data = array FilterHelper::$namedArgs = NULL FilterHelper::$argSeparator = NULL FilterHelper::$validationErrors = NULL FilterHelper::$tags = array FilterHelper::$__tainted = NULL FilterHelper::$__cleaned = NULL FilterHelper::$Form = FormHelper object $jzleePagination = JzleePaginationHelper JzleePaginationHelper::$helpers = array JzleePaginationHelper::$tpl_page_prev = "<li class="page-prev"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_next = "<li class="page-next"><span>%s</span></li>" JzleePaginationHelper::$tpl_page_current = "<li class="page number current"><span>%s</span></li>" JzleePaginationHelper::$tpl_page = "<li class="page number"><span>%s</span></li>" JzleePaginationHelper::$tpl_separator = "<li class="separator">...</li>" JzleePaginationHelper::$output = NULL JzleePaginationHelper::$paginator = NULL JzleePaginationHelper::$base = "" JzleePaginationHelper::$webroot = "/" JzleePaginationHelper::$theme = NULL JzleePaginationHelper::$here = "/timesheets" JzleePaginationHelper::$params = array JzleePaginationHelper::$action = NULL JzleePaginationHelper::$plugin = NULL JzleePaginationHelper::$data = array JzleePaginationHelper::$namedArgs = NULL JzleePaginationHelper::$argSeparator = NULL JzleePaginationHelper::$validationErrors = NULL JzleePaginationHelper::$tags = array JzleePaginationHelper::$__tainted = NULL JzleePaginationHelper::$__cleaned = NULL JzleePaginationHelper::$Html = HtmlHelper object $text = TextHelper TextHelper::$sess = SessionHelper object TextHelper::$user = User object TextHelper::$helpers = NULL TextHelper::$base = "" TextHelper::$webroot = "/" TextHelper::$theme = NULL TextHelper::$here = "/timesheets" TextHelper::$params = array TextHelper::$action = NULL TextHelper::$plugin = NULL TextHelper::$data = array TextHelper::$namedArgs = NULL TextHelper::$argSeparator = NULL TextHelper::$validationErrors = NULL TextHelper::$tags = array TextHelper::$__tainted = NULL TextHelper::$__cleaned = NULL $number = NumberHelper NumberHelper::$_currencies = array NumberHelper::$_currencyDefaults = array NumberHelper::$sess = SessionHelper object NumberHelper::$user = User object NumberHelper::$helpers = NULL NumberHelper::$base = "" NumberHelper::$webroot = "/" NumberHelper::$theme = NULL NumberHelper::$here = "/timesheets" NumberHelper::$params = array NumberHelper::$action = NULL NumberHelper::$plugin = NULL NumberHelper::$data = array NumberHelper::$namedArgs = NULL NumberHelper::$argSeparator = NULL NumberHelper::$validationErrors = NULL NumberHelper::$tags = array NumberHelper::$__tainted = NULL NumberHelper::$__cleaned = NULL $time = TimeHelper TimeHelper::$sess = SessionHelper object TimeHelper::$user = User object TimeHelper::$helpers = NULL TimeHelper::$base = "" TimeHelper::$webroot = "/" TimeHelper::$theme = NULL TimeHelper::$here = "/timesheets" TimeHelper::$params = array TimeHelper::$action = NULL TimeHelper::$plugin = NULL TimeHelper::$data = array TimeHelper::$namedArgs = NULL TimeHelper::$argSeparator = NULL TimeHelper::$validationErrors = NULL TimeHelper::$tags = array TimeHelper::$__tainted = NULL TimeHelper::$__cleaned = NULL $javascript = JavascriptHelper JavascriptHelper::$useNative = true JavascriptHelper::$enabled = true JavascriptHelper::$safe = false JavascriptHelper::$tags = array JavascriptHelper::$_blockOptions = array JavascriptHelper::$_cachedEvents = array JavascriptHelper::$_cacheEvents = false JavascriptHelper::$_cacheToFile = false JavascriptHelper::$_cacheAll = false JavascriptHelper::$_rules = array JavascriptHelper::$__scriptBuffer = NULL JavascriptHelper::$sess = SessionHelper object JavascriptHelper::$user = User object JavascriptHelper::$helpers = NULL JavascriptHelper::$base = "" JavascriptHelper::$webroot = "/" JavascriptHelper::$theme = NULL JavascriptHelper::$here = "/timesheets" JavascriptHelper::$params = array JavascriptHelper::$action = NULL JavascriptHelper::$plugin = NULL JavascriptHelper::$data = array JavascriptHelper::$namedArgs = NULL JavascriptHelper::$argSeparator = NULL JavascriptHelper::$validationErrors = NULL JavascriptHelper::$__tainted = NULL JavascriptHelper::$__cleaned = NULL $form = FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$sess = SessionHelper object FormHelper::$user = User object FormHelper::$base = "" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "/timesheets" FormHelper::$params = array FormHelper::$action = NULL FormHelper::$plugin = NULL FormHelper::$data = array FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object $html = HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$sess = SessionHelper object HtmlHelper::$user = User object HtmlHelper::$helpers = NULL HtmlHelper::$base = "" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "/timesheets" HtmlHelper::$params = array HtmlHelper::$action = NULL HtmlHelper::$plugin = NULL HtmlHelper::$data = array HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL $session = SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "07ed89223fbbd1c5577bc4d1df003b6f" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = NULL SessionHelper::$time = 1734800266 SessionHelper::$sessionTime = false SessionHelper::$cookieLifeTime = 1500000 SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = "/timesheets" SessionHelper::$params = array SessionHelper::$action = NULL SessionHelper::$data = array SessionHelper::$theme = NULL SessionHelper::$plugin = NULLinclude - APP/views/elements/sidebar_profile_links.ctp, line 4 View::_render() - CORE/cake/libs/view/view.php, line 731 View::element() - CORE/cake/libs/view/view.php, line 392 include - APP/views/layouts/default.ctp, line 54 View::_render() - CORE/cake/libs/view/view.php, line 731 View::renderLayout() - CORE/cake/libs/view/view.php, line 489 View::render() - CORE/cake/libs/view/view.php, line 435 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 458 ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 261 Object::dispatchMethod() - CORE/cake/libs/object.php, line 112 ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125 Object::cakeError() - CORE/cake/libs/object.php, line 201 Model::setSource() - CORE/cake/libs/model/model.php, line 774 Model::__construct() - CORE/cake/libs/model/model.php, line 474 ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141 Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637 Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Error: Database table jzlee_usergroups for model Usergroup was not found.
Notice: If you want to customize this error message, create app/views/errors/missing_table.ctp