Query: SELECT `Zip`.`zip`, `Zip`.`lat`, `Zip`.`lon`, `Zip`.`city`, `Zip`.`state`, `Zip`.`county`, `Zip`.`is_primary`, `Zip`.`population`, `Zip`.`cityaliasname`, `Zip`.`areacode`, `Zip`.`has_location` FROM `zipcodes` AS `Zip` WHERE `Zip`.`lat` BETWEEN '38' AND '38' AND `Zip`.`lon` BETWEEN '-97' AND '-97' AND `Zip`.`state` LIKE LIMIT 1
( ! ) Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1 in /var/www/websites-local/prod/wdp/cake/libs/model/datasources/dbo_source.php on line 439 Call Stack # Time Memory Function Location 1 0.0018 75136 {main}( ) ../index.php:0 2 0.0064 320112 Dispatcher->dispatch( ) ../index.php:82 3 0.1092 4001904 Dispatcher->_invoke( ) ../dispatcher.php:245 4 0.1686 4814952 Controller->render( ) ../dispatcher.php:266 5 0.1686 4815560 CompanyController->beforeRender( ) ../controller.php:534 6 0.1686 4816392 AppController->beforeRender( ) ../company_controller.php:43 7 0.6753 5135488 Zip->getZipNear( ) ../app_controller.php:280 8 0.6753 5136888 Model->find( ) ../zip.php:25 9 0.6753 5137488 Model->findAll( ) ../model_php5.php:1146 10 0.6754 5140040 DboSource->read( ) ../model_php5.php:1199 11 0.6775 5145272 DboSource->fetchAll( ) ../dbo_source.php:564 12 0.6775 5145568 DboSource->execute( ) ../dbo_source.php:296 13 0.7277 5145856 DboSource->showQuery( ) ../dbo_source.php:165 14 0.7278 5146416 trigger_error
( ) ../dbo_source.php:439
Query: SELECT `Zip`.`zip`, `Zip`.`lat`, `Zip`.`lon`, `Zip`.`city`, `Zip`.`state`, `Zip`.`county`, `Zip`.`is_primary`, `Zip`.`population`, `Zip`.`cityaliasname`, `Zip`.`areacode`, `Zip`.`has_location` FROM `zipcodes` AS `Zip` WHERE `Zip`.`lat` BETWEEN '37' AND '39' AND `Zip`.`lon` BETWEEN '-98' AND '-96' AND `Zip`.`state` LIKE LIMIT 1
( ! ) Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1 in /var/www/websites-local/prod/wdp/cake/libs/model/datasources/dbo_source.php on line 439 Call Stack # Time Memory Function Location 1 0.0018 75136 {main}( ) ../index.php:0 2 0.0064 320112 Dispatcher->dispatch( ) ../index.php:82 3 0.1092 4001904 Dispatcher->_invoke( ) ../dispatcher.php:245 4 0.1686 4814952 Controller->render( ) ../dispatcher.php:266 5 0.1686 4815560 CompanyController->beforeRender( ) ../controller.php:534 6 0.1686 4816392 AppController->beforeRender( ) ../company_controller.php:43 7 0.6753 5135488 Zip->getZipNear( ) ../app_controller.php:280 8 0.7338 5081384 Model->find( ) ../zip.php:37 9 0.7338 5081984 Model->findAll( ) ../model_php5.php:1146 10 0.7339 5084392 DboSource->read( ) ../model_php5.php:1199 11 0.7357 5089624 DboSource->fetchAll( ) ../dbo_source.php:564 12 0.7357 5089920 DboSource->execute( ) ../dbo_source.php:296 13 0.7376 5090208 DboSource->showQuery( ) ../dbo_source.php:165 14 0.7376 5090768 trigger_error
( ) ../dbo_source.php:439