Notice (8): Undefined index: state [APP/Controller/Component/FilterComponent.php, line 147]Code Context if($controller->action == $controllerAction) {
// setup filter component
$this->filter = $this->processFilters($controller, $exactMatch);
$controller = object(MallsController) {}
$exact = array()
$whiteList = null
$ret = array()
$key = 'Mall'
$value = array(
'state' => 'PR',
'city' => '1588'
)
$columns = array(
'id' => 'integer',
'name' => 'string',
'url_key' => 'string',
'type' => 'string',
'phone' => 'string',
'address' => 'string',
'state_id' => 'string',
'state_name' => 'string',
'city_id' => 'integer',
'city_name' => 'string',
'zipcode' => 'string',
'bizhours' => 'string',
'kw_news' => 'string',
'kw_jobs' => 'string',
'website' => 'string',
'photo' => 'string',
'gmaps_lat' => 'float',
'gmaps_lon' => 'float',
'res_desc1' => 'string',
'res_link1' => 'string',
'res_desc2' => 'string',
'res_link2' => 'string',
'res_desc3' => 'string',
'res_link3' => 'string',
'res_desc4' => 'string',
'res_link4' => 'string',
'res_desc5' => 'string',
'res_link5' => 'string',
'fb_feed_url' => 'string',
'is_sub_nl' => 'boolean',
'nl_email' => 'string',
'created' => 'datetime',
'modified' => 'datetime',
'job_num' => 'integer'
)
$k = 'state'
$v = 'PR'FilterComponent::processFilters() - APP/Controller/Component/FilterComponent.php, line 147
FilterComponent::processAction() - APP/Controller/Component/FilterComponent.php, line 73
FilterComponent::initialize() - APP/Controller/Component/FilterComponent.php, line 66
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 130
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 246
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 670
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 100
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined index: city [APP/Controller/Component/FilterComponent.php, line 147]Code Context if($controller->action == $controllerAction) {
// setup filter component
$this->filter = $this->processFilters($controller, $exactMatch);
$controller = object(MallsController) {}
$exact = array()
$whiteList = null
$ret = array(
'Mall.state' => 'PR'
)
$key = 'Mall'
$value = array(
'state' => 'PR',
'city' => '1588'
)
$columns = array(
'id' => 'integer',
'name' => 'string',
'url_key' => 'string',
'type' => 'string',
'phone' => 'string',
'address' => 'string',
'state_id' => 'string',
'state_name' => 'string',
'city_id' => 'integer',
'city_name' => 'string',
'zipcode' => 'string',
'bizhours' => 'string',
'kw_news' => 'string',
'kw_jobs' => 'string',
'website' => 'string',
'photo' => 'string',
'gmaps_lat' => 'float',
'gmaps_lon' => 'float',
'res_desc1' => 'string',
'res_link1' => 'string',
'res_desc2' => 'string',
'res_link2' => 'string',
'res_desc3' => 'string',
'res_link3' => 'string',
'res_desc4' => 'string',
'res_link4' => 'string',
'res_desc5' => 'string',
'res_link5' => 'string',
'fb_feed_url' => 'string',
'is_sub_nl' => 'boolean',
'nl_email' => 'string',
'created' => 'datetime',
'modified' => 'datetime',
'job_num' => 'integer'
)
$k = 'city'
$v = '1588'FilterComponent::processFilters() - APP/Controller/Component/FilterComponent.php, line 147
FilterComponent::processAction() - APP/Controller/Component/FilterComponent.php, line 73
FilterComponent::initialize() - APP/Controller/Component/FilterComponent.php, line 66
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 130
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 246
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 670
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 100
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 92
Warning (2): mysql_connect() [http://php.net/function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) [APP/Vendor/Locate.php, line 978]Code mssql_select_db(DB_NAME) or die("Error! Could not select the database: ");
} else {
$code322_db_conn = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Error! Could not connect to the database: " . mysql_error());
mysql_connect - [internal], line ??
code322_db_connect - APP/Vendor/Locate.php, line 978
code322_db_query - APP/Vendor/Locate.php, line 1006
code322_db_table_exists - APP/Vendor/Locate.php, line 991
locate - APP/Vendor/Locate.php, line 251
Mall::find_nearby_malls() - APP/Model/Mall.php, line 99
MallsController::index() - APP/Controller/MallsController.php, line 20
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 103
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 92
Error! Could not connect to the database: Access denied for user 'root'@'localhost' (using password: NO)