Notice (8): Undefined variable: zipcode [APP/views/businesses/view_by_city.ctp, line 33]Code |
Context {
if ($category) {
$listings = $Listing->findPlacesByLatLon($zipcode['Zipcode']['lat'], $zipcode['Zipcode']['lon'], $category);
$___viewFn = "/srv/www/ablocal.com/public_html/app/views/businesses/view_by_city.ctp"
$___dataForView = array(
"SimpleGeo" => SimpleGeoComponent
SimpleGeoComponent::$controller = BusinessesController object
SimpleGeoComponent::$settings = array
SimpleGeoComponent::$api = Services_SimpleGeo object
SimpleGeoComponent::$enabled = true,
"Listing" => Listing
Listing::$name = "Listing"
Listing::$uses = array
Listing::$api = false
Listing::$settings = array
Listing::$useDbConfig = "default"
Listing::$useTable = "listings"
Listing::$displayField = "name"
Listing::$id = NULL
Listing::$data = array
Listing::$table = "listings"
Listing::$primaryKey = "id"
Listing::$_schema = array
Listing::$validate = array
Listing::$validationErrors = array
Listing::$tablePrefix = ""
Listing::$alias = "Listing"
Listing::$tableToModel = array
Listing::$logTransactions = false
Listing::$cacheQueries = false
Listing::$belongsTo = array
Listing::$hasOne = array
Listing::$hasMany = array
Listing::$hasAndBelongsToMany = array
Listing::$actsAs = NULL
Listing::$Behaviors = BehaviorCollection object
Listing::$whitelist = array
Listing::$cacheSources = true
Listing::$findQueryType = NULL
Listing::$recursive = 1
Listing::$order = NULL
Listing::$virtualFields = array
Listing::$__associationKeys = array
Listing::$__associations = array
Listing::$__backAssociation = array
Listing::$__insertID = NULL
Listing::$__numRows = NULL
Listing::$__affectedRows = NULL
Listing::$_findMethods = array,
"Zipcode" => Zipcode
Zipcode::$name = "Zipcode"
Zipcode::$useDbConfig = "default"
Zipcode::$useTable = "zipcodes"
Zipcode::$displayField = "id"
Zipcode::$id = NULL
Zipcode::$data = array
Zipcode::$table = "zipcodes"
Zipcode::$primaryKey = "id"
Zipcode::$_schema = array
Zipcode::$validate = array
Zipcode::$validationErrors = array
Zipcode::$tablePrefix = ""
Zipcode::$alias = "Zipcode"
Zipcode::$tableToModel = array
Zipcode::$logTransactions = false
Zipcode::$cacheQueries = false
Zipcode::$belongsTo = array
Zipcode::$hasOne = array
Zipcode::$hasMany = array
Zipcode::$hasAndBelongsToMany = array
Zipcode::$actsAs = NULL
Zipcode::$Behaviors = BehaviorCollection object
Zipcode::$whitelist = array
Zipcode::$cacheSources = true
Zipcode::$findQueryType = NULL
Zipcode::$recursive = 1
Zipcode::$order = NULL
Zipcode::$virtualFields = array
Zipcode::$__associationKeys = array
Zipcode::$__associations = array
Zipcode::$__backAssociation = array
Zipcode::$__insertID = NULL
Zipcode::$__numRows = NULL
Zipcode::$__affectedRows = NULL
Zipcode::$_findMethods = array,
"category" => "music",
"city" => array(
"City" => array()
)
)
$loadHelpers = true
$cached = false
$nanoCache = NanoCacheHelper
NanoCacheHelper::$options = array
NanoCacheHelper::$helpers = array
NanoCacheHelper::$path = ""
NanoCacheHelper::$isFlash = false
NanoCacheHelper::$base = ""
NanoCacheHelper::$webroot = "/"
NanoCacheHelper::$theme = NULL
NanoCacheHelper::$here = "/us/canton-ma/music"
NanoCacheHelper::$params = array
NanoCacheHelper::$action = "viewByCity"
NanoCacheHelper::$plugin = NULL
NanoCacheHelper::$data = NULL
NanoCacheHelper::$namedArgs = NULL
NanoCacheHelper::$argSeparator = NULL
NanoCacheHelper::$validationErrors = NULL
NanoCacheHelper::$tags = array
NanoCacheHelper::$__tainted = NULL
NanoCacheHelper::$__cleaned = NULL
NanoCacheHelper::$Session = SessionHelper object
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = ""
FormHelper::$webroot = "/"
FormHelper::$theme = NULL
FormHelper::$here = "/us/canton-ma/music"
FormHelper::$params = array
FormHelper::$action = "viewByCity"
FormHelper::$plugin = NULL
FormHelper::$data = NULL
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::$helpers = NULL
HtmlHelper::$base = ""
HtmlHelper::$webroot = "/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/us/canton-ma/music"
HtmlHelper::$params = array
HtmlHelper::$action = "viewByCity"
HtmlHelper::$plugin = NULL
HtmlHelper::$data = NULL
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 = array
SessionHelper::$_userAgent = "e62fe2eb4d225136a29ef8bc992df9bc"
SessionHelper::$path = "/"
SessionHelper::$lastError = 2
SessionHelper::$security = "high"
SessionHelper::$time = 1731643452
SessionHelper::$sessionTime = 1731644652
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = ""
SessionHelper::$webroot = "/"
SessionHelper::$here = "/us/canton-ma/music"
SessionHelper::$params = array
SessionHelper::$action = "viewByCity"
SessionHelper::$data = NULL
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
$SimpleGeo = SimpleGeoComponent
SimpleGeoComponent::$controller = BusinessesController object
SimpleGeoComponent::$settings = array
SimpleGeoComponent::$api = Services_SimpleGeo object
SimpleGeoComponent::$enabled = true
$Listing = Listing
Listing::$name = "Listing"
Listing::$uses = array
Listing::$api = false
Listing::$settings = array
Listing::$useDbConfig = "default"
Listing::$useTable = "listings"
Listing::$displayField = "name"
Listing::$id = NULL
Listing::$data = array
Listing::$table = "listings"
Listing::$primaryKey = "id"
Listing::$_schema = array
Listing::$validate = array
Listing::$validationErrors = array
Listing::$tablePrefix = ""
Listing::$alias = "Listing"
Listing::$tableToModel = array
Listing::$logTransactions = false
Listing::$cacheQueries = false
Listing::$belongsTo = array
Listing::$hasOne = array
Listing::$hasMany = array
Listing::$hasAndBelongsToMany = array
Listing::$actsAs = NULL
Listing::$Behaviors = BehaviorCollection object
Listing::$whitelist = array
Listing::$cacheSources = true
Listing::$findQueryType = NULL
Listing::$recursive = 1
Listing::$order = NULL
Listing::$virtualFields = array
Listing::$__associationKeys = array
Listing::$__associations = array
Listing::$__backAssociation = array
Listing::$__insertID = NULL
Listing::$__numRows = NULL
Listing::$__affectedRows = NULL
Listing::$_findMethods = array
$Zipcode = Zipcode
Zipcode::$name = "Zipcode"
Zipcode::$useDbConfig = "default"
Zipcode::$useTable = "zipcodes"
Zipcode::$displayField = "id"
Zipcode::$id = NULL
Zipcode::$data = array
Zipcode::$table = "zipcodes"
Zipcode::$primaryKey = "id"
Zipcode::$_schema = array
Zipcode::$validate = array
Zipcode::$validationErrors = array
Zipcode::$tablePrefix = ""
Zipcode::$alias = "Zipcode"
Zipcode::$tableToModel = array
Zipcode::$logTransactions = false
Zipcode::$cacheQueries = false
Zipcode::$belongsTo = array
Zipcode::$hasOne = array
Zipcode::$hasMany = array
Zipcode::$hasAndBelongsToMany = array
Zipcode::$actsAs = NULL
Zipcode::$Behaviors = BehaviorCollection object
Zipcode::$whitelist = array
Zipcode::$cacheSources = true
Zipcode::$findQueryType = NULL
Zipcode::$recursive = 1
Zipcode::$order = NULL
Zipcode::$virtualFields = array
Zipcode::$__associationKeys = array
Zipcode::$__associations = array
Zipcode::$__backAssociation = array
Zipcode::$__insertID = NULL
Zipcode::$__numRows = NULL
Zipcode::$__affectedRows = NULL
Zipcode::$_findMethods = array
$category = "music"
$city = array(
"City" => array(
"id" => "10167",
"state" => "MA",
"name" => "Canton",
"slug" => "canton-ma",
"zipcode_count" => "1",
"lat" => "46.0213",
"lon" => "7.74912",
"modified" => "2016-07-07 21:58:18"
)
)
$categoryName = "Music"
$pageHeading = "Music in Canton, MA"
$originLat = "46.0213"
$originLon = "7.74912"
include - APP/views/businesses/view_by_city.ctp, line 33
View::_render() - CORE/cake/libs/view/view.php, line 731
View::render() - CORE/cake/libs/view/view.php, line 426
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
BusinessesController::viewByCity() - APP/controllers/businesses_controller.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83