DEBUGGING
Address: Glendora
Username: jkadmin
Waldo: GeoIP_Location Object
(
[countryCode] => US
[countryName] => United States
[region] => CA
[city] => Glendora
[postalCode] =>
[latitude] => 34.1321
[longitude] => -117.8511
[areaCode] => 626
[dmaCode] => 803
[countryCode3] => USA
)
Geocode:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: geocode
Filename: search/template_0004.php
Line Number: 193
Lat: 34.1321
Lon: -117.8511
Geo Source:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: geo_source
Filename: search/template_0004.php
Line Number: 196
Query: SELECT DISTINCT locations.id, locations.location_number, locations.name, locations.street_address, locations.street_address_line2, locations.street_address_line3, locations.city, locations.state_province, locations.zip_postal_code, locations.country, locations.phone, locations.toll_free, locations.fax, locations.email, locations.website_url, locations.contact_name, locations.contact_title, locations.additional_info, locations.custom1, locations.custom2, locations.custom3, locations.custom4, locations.custom5, locations.custom6, locations.image, locations.marker_url, locations.products, locations.lat, locations.lon, (3956 * 2 * ASIN(SQRT( POWER(SIN((34.1321 - locations.lat) * pi()/180 / 2), 2) + COS(34.1321 * pi()/180) * COS(locations.lat * pi()/180) * POWER(SIN((-117.8511 - locations.lon) * pi()/180 / 2), 2) )) ) AS distance
FROM (locations)
LEFT JOIN accounts ON locations.account_id = accounts.id
WHERE `accounts`.`username` = 'jkadmin'
AND (3956 * 2 * ASIN(SQRT( POWER(SIN((34.1321 - locations.lat) * pi()/180 / 2),2) + COS(34.1321 * pi()/180) * COS(locations.lat * pi()/180) * POWER(SIN((-117.8511 - locations.lon) * pi()/180 / 2),2) )) ) <= '100'
ORDER BY distance asc, locations.location_number asc, locations.id asc
LIMIT 5
Total Rows: 5
Rows: Array
(
[0] => stdClass Object
(
[id] => 52776
[location_number] =>
[name] => Kathryne Designs, Inc.
[street_address] => 12413 Ventura Ct Suite 100
[street_address_line2] =>
[street_address_line3] =>
[city] => Studio City
[state_province] => CA
[zip_postal_code] => 91604
[country] => United States of America
[phone] => (818) 762-3705
[toll_free] =>
[fax] =>
[email] =>
[website_url] =>
[contact_name] =>
[contact_title] =>
[additional_info] =>
[custom1] =>
[custom2] =>
[custom3] =>
[custom4] =>
[custom5] =>
[custom6] =>
[image] =>
[marker_url] =>
[products] =>
[lat] => 34.143398
[lon] => -118.403526
[distance] => 31.57970962933
)
[1] => stdClass Object
(
[id] => 52959
[location_number] =>
[name] => Bloomingdales
[street_address] => 10250 Santa Monica Boulevard
[street_address_line2] =>
[street_address_line3] =>
[city] => Los Angeles
[state_province] => CA
[zip_postal_code] => 900067
[country] => United States of America
[phone] => 310-772-2100ÊÊÊÊÊÊÊÊ
[toll_free] =>
[fax] =>
[email] =>
[website_url] =>
[contact_name] =>
[contact_title] =>
[additional_info] =>
[custom1] =>
[custom2] =>
[custom3] =>
[custom4] =>
[custom5] =>
[custom6] =>
[image] =>
[marker_url] =>
[products] =>
[lat] => 34.001957
[lon] => -118.429520
[distance] => 34.2817627741218
)
[2] => stdClass Object
(
[id] => 73730
[location_number] =>
[name] => Haven and Company
[street_address] => 11965 San Vicente Blvd.
[street_address_line2] =>
[street_address_line3] =>
[city] => Los Angeles
[state_province] => CA
[zip_postal_code] => 90049
[country] => USA
[phone] =>
[toll_free] =>
[fax] =>
[email] =>
[website_url] =>
[contact_name] =>
[contact_title] =>
[additional_info] =>
[custom1] =>
[custom2] =>
[custom3] =>
[custom4] =>
[custom5] =>
[custom6] =>
[image] =>
[marker_url] =>
[products] =>
[lat] => 34.052277
[lon] => -118.471870
[distance] => 35.92024300978
)
[3] => stdClass Object
(
[id] => 52774
[location_number] =>
[name] => Stephen Frank
[street_address] => 477 Forest Avenue
[street_address_line2] =>
[street_address_line3] =>
[city] => Laguna Beach
[state_province] => CA
[zip_postal_code] => 92651
[country] => United States of America
[phone] => 949-494-2014
[toll_free] =>
[fax] =>
[email] =>
[website_url] =>
[contact_name] =>
[contact_title] =>
[additional_info] =>
[custom1] =>
[custom2] =>
[custom3] =>
[custom4] =>
[custom5] =>
[custom6] =>
[image] =>
[marker_url] =>
[products] =>
[lat] => 33.544792
[lon] => -117.781433
[distance] => 40.7471492672636
)
[4] => stdClass Object
(
[id] => 73744
[location_number] =>
[name] => Malibu Colony
[street_address] => 3835 Cross Creek Road
[street_address_line2] =>
[street_address_line3] =>
[city] => Malibu
[state_province] => CA
[zip_postal_code] => 90265
[country] => USA
[phone] =>
[toll_free] =>
[fax] =>
[email] =>
[website_url] =>
[contact_name] =>
[contact_title] =>
[additional_info] =>
[custom1] =>
[custom2] =>
[custom3] =>
[custom4] =>
[custom5] =>
[custom6] =>
[image] =>
[marker_url] =>
[products] =>
[lat] => 34.035767
[lon] => -118.686363
[distance] => 48.2248276443716
)
)